Searched refs:OCELOT_TAG_LEN (Results 1 – 4 of 4) sorted by relevance
/linux-6.6.21/include/linux/dsa/ |
D | ocelot.h | 33 #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.6.21/net/dsa/ |
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-6.6.21/drivers/net/ethernet/mscc/ |
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()
|
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()
|