Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/dsa/
Docelot.h33 #define OCELOT_TAG_LEN 16 macro
36 #define OCELOT_TOTAL_TAG_LEN (OCELOT_SHORT_PREFIX_LEN + OCELOT_TAG_LEN)
186 packing(extraction, rew_val, 116, 85, OCELOT_TAG_LEN, UNPACK, 0); in ocelot_xfh_get_rew_val()
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()
201 packing(extraction, src_port, 46, 43, OCELOT_TAG_LEN, UNPACK, 0); in ocelot_xfh_get_src_port()
206 packing(extraction, qos_class, 19, 17, OCELOT_TAG_LEN, UNPACK, 0); in ocelot_xfh_get_qos_class()
211 packing(extraction, tag_type, 16, 16, OCELOT_TAG_LEN, UNPACK, 0); in ocelot_xfh_get_tag_type()
216 packing(extraction, vlan_tci, 15, 0, OCELOT_TAG_LEN, UNPACK, 0); in ocelot_xfh_get_vlan_tci()
221 packing(injection, &bypass, 127, 127, OCELOT_TAG_LEN, PACK, 0); in ocelot_ifh_set_bypass()
[all …]
/linux-6.1.9/net/dsa/
Dtag_ocelot.c57 injection = skb_push(skb, OCELOT_TAG_LEN); in ocelot_xmit_common()
61 memset(injection, 0, OCELOT_TAG_LEN); in ocelot_xmit_common()
124 skb_pull(skb, OCELOT_TAG_LEN); in ocelot_rcv()
/linux-6.1.9/drivers/net/ethernet/mscc/
Docelot_fdma.c361 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()
Docelot.c965 for (i = 0; i < OCELOT_TAG_LEN / 4; i++) { in ocelot_xtr_poll_xfh()
1000 u32 xfh[OCELOT_TAG_LEN / 4]; in ocelot_xtr_poll_frame()
1106 u32 ifh[OCELOT_TAG_LEN / 4] = {0}; in ocelot_port_inject_frame()
1114 for (i = 0; i < OCELOT_TAG_LEN / 4; i++) in ocelot_port_inject_frame()
2285 maxlen += OCELOT_TAG_LEN; in ocelot_port_set_maxlen()
2317 max_mtu -= OCELOT_TAG_LEN; in ocelot_get_max_mtu()