Searched refs:IFH_LEN_BYTES (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_xdp.c | 85 IFH_LEN_BYTES + XDP_PACKET_HEADROOM, in lan966x_xdp_run() 86 data_len - IFH_LEN_BYTES, false); in lan966x_xdp_run() 93 data_len - IFH_LEN_BYTES) ? in lan966x_xdp_run()
|
H A D | lan966x_fdma.c | 518 skb_pull(skb, IFH_LEN_BYTES); in lan966x_fdma_rx_get_frame() 734 if (xdpf->headroom < IFH_LEN_BYTES) { in lan966x_fdma_xmit_xdpf() 739 ifh = xdpf->data - IFH_LEN_BYTES; in lan966x_fdma_xmit_xdpf() 745 xdpf->data - IFH_LEN_BYTES, in lan966x_fdma_xmit_xdpf() 746 xdpf->len + IFH_LEN_BYTES, in lan966x_fdma_xmit_xdpf() 758 xdpf->len + IFH_LEN_BYTES, in lan966x_fdma_xmit_xdpf() 771 len + IFH_LEN_BYTES, in lan966x_fdma_xmit_xdpf() 779 len + IFH_LEN_BYTES, in lan966x_fdma_xmit_xdpf() 838 skb_push(skb, IFH_LEN_BYTES); in lan966x_fdma_xmit() 839 memcpy(skb->data, ifh, IFH_LEN_BYTES); in lan966x_fdma_xmit() [all …]
|
H A D | lan966x_ifh.h | 11 #define IFH_LEN_BYTES (IFH_LEN * sizeof(u32)) macro
|
H A D | lan966x_main.c | 313 u8 p = IFH_LEN_BYTES - (pos + i) / 8 - 1; in lan966x_ifh_set() 615 v = ifh[IFH_LEN_BYTES - (j / 8) - 1]; in lan966x_ifh_get() 821 dev->needed_headroom = IFH_LEN_BYTES; in lan966x_probe_port()
|