Searched refs:OCELOT_TAG_LEN (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/include/linux/dsa/ |
H A D | ocelot.h | 35 #define OCELOT_TAG_LEN 16 macro 38 #define OCELOT_TOTAL_TAG_LEN (OCELOT_SHORT_PREFIX_LEN + OCELOT_TAG_LEN) 195 packing(extraction, &llen, 84, 79, OCELOT_TAG_LEN, UNPACK, 0); in ocelot_xfh_get_len() 196 packing(extraction, &wlen, 78, 71, OCELOT_TAG_LEN, UNPACK, 0); in ocelot_xfh_get_len() 223 packing(injection, &bypass, 127, 127, OCELOT_TAG_LEN, PACK, 0); in ocelot_ifh_set_bypass() 228 packing(injection, &rew_op, 125, 117, OCELOT_TAG_LEN, PACK, 0); in ocelot_ifh_set_rew_op() 233 packing(injection, &dest, 67, 56, OCELOT_TAG_LEN, PACK, 0); in ocelot_ifh_set_dest() 243 packing(injection, &dest, 67, 57, OCELOT_TAG_LEN, PACK, 0); in seville_ifh_set_dest() 248 packing(injection, &src, 46, 43, OCELOT_TAG_LEN, PACK, 0); in ocelot_ifh_set_src() 253 packing(injection, &tag_type, 16, 16, OCELOT_TAG_LEN, PACK, 0); in ocelot_ifh_set_tag_type() [all …]
|
/openbmc/linux/net/dsa/ |
H A D | tag_ocelot.c | 28 injection = skb_push(skb, OCELOT_TAG_LEN); in ocelot_xmit_common() 32 memset(injection, 0, OCELOT_TAG_LEN); in ocelot_xmit_common() 95 skb_pull(skb, OCELOT_TAG_LEN); in ocelot_rcv()
|
/openbmc/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() 793 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() 1147 u32 xfh[OCELOT_TAG_LEN / 4]; in ocelot_xtr_poll_frame() 1267 memset(ifh, 0, OCELOT_TAG_LEN); in ocelot_ifh_set_basic() 1282 u32 ifh[OCELOT_TAG_LEN / 4]; in ocelot_port_inject_frame() 1292 for (i = 0; i < OCELOT_TAG_LEN / 4; i++) in ocelot_port_inject_frame() 2465 maxlen += OCELOT_TAG_LEN; in ocelot_port_set_maxlen() 2497 max_mtu -= OCELOT_TAG_LEN; in ocelot_get_max_mtu()
|