Home
last modified time | relevance | path

Searched refs:PRESTERA_DSA_HLEN (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/prestera/
Dprestera_rxtx.c239 if (unlikely(!pskb_may_pull(skb, PRESTERA_DSA_HLEN))) in prestera_rxtx_process_skb()
243 skb_pull_rcsum(skb, PRESTERA_DSA_HLEN); in prestera_rxtx_process_skb()
245 memmove(skb->data - ETH_HLEN, skb->data - ETH_HLEN - PRESTERA_DSA_HLEN, in prestera_rxtx_process_skb()
798 port->dev->needed_headroom = PRESTERA_DSA_HLEN; in prestera_rxtx_port_init()
810 if (skb_cow_head(skb, PRESTERA_DSA_HLEN) < 0) in prestera_rxtx_xmit()
813 skb_push(skb, PRESTERA_DSA_HLEN); in prestera_rxtx_xmit()
814 memmove(skb->data, skb->data + PRESTERA_DSA_HLEN, 2 * ETH_ALEN); in prestera_rxtx_xmit()
Dprestera_dsa.h9 #define PRESTERA_DSA_HLEN 16 macro