Searched refs:OCELOT_TAG_LEN (Results 1 – 4 of 4) sorted by relevance
/linux/include/linux/dsa/ |
H A D | ocelot.h | 33 #define OCELOT_TAG_LEN 16 macro 36 #define OCELOT_TOTAL_TAG_LEN (OCELOT_SHORT_PREFIX_LEN + OCELOT_TAG_LEN) 193 packing(extraction, &llen, 84, 79, OCELOT_TAG_LEN, UNPACK, 0); in ocelot_xfh_get_len() 194 packing(extraction, &wlen, 78, 71, OCELOT_TAG_LEN, UNPACK, 0); in ocelot_xfh_get_len() 221 packing(injection, &bypass, 127, 127, OCELOT_TAG_LEN, PACK, 0); in ocelot_ifh_set_bypass() 226 packing(injection, &rew_op, 125, 117, OCELOT_TAG_LEN, PACK, 0); in ocelot_ifh_set_rew_op() 231 packing(injection, &dest, 67, 56, OCELOT_TAG_LEN, PACK, 0); in ocelot_ifh_set_dest() 241 packing(injection, &dest, 67, 57, OCELOT_TAG_LEN, PACK, 0); in seville_ifh_set_dest() 246 packing(injection, &src, 46, 43, OCELOT_TAG_LEN, PACK, 0); in ocelot_ifh_set_src() 251 packing(injection, &tag_type, 16, 16, OCELOT_TAG_LEN, PACK, 0); in ocelot_ifh_set_tag_type() [all …]
|
/linux/net/dsa/ |
H A D | tag_ocelot.c | 61 injection = skb_push(skb, OCELOT_TAG_LEN); in ocelot_xmit_common() 65 memset(injection, 0, OCELOT_TAG_LEN); in ocelot_xmit_common() 128 skb_pull(skb, OCELOT_TAG_LEN); in ocelot_rcv()
|
/linux/drivers/net/ethernet/mscc/ |
H A D | ocelot_fdma.c | 360 skb_pull(skb, OCELOT_TAG_LEN); in ocelot_fdma_receive_skb() 643 int needed_headroom = max_t(int, OCELOT_TAG_LEN - skb_headroom(skb), 0); in ocelot_fdma_prepare_skb() 666 ifh = skb_push(skb, OCELOT_TAG_LEN); in ocelot_fdma_prepare_skb() 668 memset(ifh, 0, OCELOT_TAG_LEN); in ocelot_fdma_prepare_skb() 794 dev->needed_headroom = OCELOT_TAG_LEN; in ocelot_fdma_netdev_init()
|
H A D | ocelot.c | 1070 for (i = 0; i < OCELOT_TAG_LEN / 4; i++) { in ocelot_xtr_poll_xfh() 1105 u32 xfh[OCELOT_TAG_LEN / 4]; in ocelot_xtr_poll_frame() 1211 u32 ifh[OCELOT_TAG_LEN / 4] = {0}; in ocelot_port_inject_frame() 1219 for (i = 0; i < OCELOT_TAG_LEN / 4; i++) in ocelot_port_inject_frame() 2390 maxlen += OCELOT_TAG_LEN; in ocelot_port_set_maxlen() 2422 max_mtu -= OCELOT_TAG_LEN; in ocelot_get_max_mtu()
|