Home
last modified time | relevance | path

Searched refs:OCELOT_TAG_LEN (Results 1 – 4 of 4) sorted by relevance

/linux/include/linux/dsa/
H A Docelot.h36 #define OCELOT_TAG_LEN 16 macro
39 #define OCELOT_TOTAL_TAG_LEN (OCELOT_SHORT_PREFIX_LEN + OCELOT_TAG_LEN)
189 packing(extraction, rew_val, 116, 85, OCELOT_TAG_LEN, UNPACK, 0); in ocelot_xfh_get_rew_val()
196 packing(extraction, &llen, 84, 79, OCELOT_TAG_LEN, UNPACK, 0); in ocelot_xfh_get_len()
197 packing(extraction, &wlen, 78, 71, OCELOT_TAG_LEN, UNPACK, 0); in ocelot_xfh_get_len()
204 packing(extraction, src_port, 46, 43, OCELOT_TAG_LEN, UNPACK, 0); in ocelot_xfh_get_src_port()
209 packing(extraction, qos_class, 19, 17, OCELOT_TAG_LEN, UNPACK, 0); in ocelot_xfh_get_qos_class()
214 packing(extraction, tag_type, 16, 16, OCELOT_TAG_LEN, UNPACK, 0); in ocelot_xfh_get_tag_type()
219 packing(extraction, vlan_tci, 15, 0, OCELOT_TAG_LEN, UNPACK, 0); in ocelot_xfh_get_vlan_tci()
224 packing(injection, &bypass, 127, 127, OCELOT_TAG_LEN, PACK, 0); in ocelot_ifh_set_bypass()
[all …]
/linux/net/dsa/
H A Dtag_ocelot.c28 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()
/linux/drivers/net/ethernet/mscc/
H A Docelot_fdma.c360 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 Docelot.c1236 for (i = 0; i < OCELOT_TAG_LEN / 4; i++) { in ocelot_xtr_poll_xfh()
1313 u32 xfh[OCELOT_TAG_LEN / 4]; in ocelot_xtr_poll_frame()
1433 memset(ifh, 0, OCELOT_TAG_LEN); in ocelot_ifh_set_basic()
1448 u32 ifh[OCELOT_TAG_LEN / 4]; in ocelot_port_inject_frame()
1458 for (i = 0; i < OCELOT_TAG_LEN / 4; i++) in ocelot_port_inject_frame()
2631 maxlen += OCELOT_TAG_LEN; in ocelot_port_set_maxlen()
2663 max_mtu -= OCELOT_TAG_LEN; in ocelot_get_max_mtu()