aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/test_bpf.c
diff options
context:
space:
mode:
authorHoratiu Vultur <horatiu.vultur@microchip.com>2022-11-09 21:46:11 +0100
committerDavid S. Miller <davem@davemloft.net>2022-11-11 10:49:34 +0000
commit4a00b0c712e3248e28bcc3026b5b957fe7514607 (patch)
tree52b6fc38858213b798be89cdcc53420d55477f36 /lib/test_bpf.c
parentnet: lan966x: Add define IFH_LEN_BYTES (diff)
downloadwireguard-linux-4a00b0c712e3248e28bcc3026b5b957fe7514607.tar.xz
wireguard-linux-4a00b0c712e3248e28bcc3026b5b957fe7514607.zip
net: lan966x: Split function lan966x_fdma_rx_get_frame
The function lan966x_fdma_rx_get_frame was unmapping the frame from device and check also if the frame was received on a valid port. And only after that it tried to generate the skb. Move this check in a different function, in preparation for xdp support. Such that xdp to be added here and the lan966x_fdma_rx_get_frame to be used only when giving the skb to upper layers. Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/test_bpf.c')
0 files changed, 0 insertions, 0 deletions