diff options
author | 2022-11-09 21:46:11 +0100 | |
---|---|---|
committer | 2022-11-11 10:49:34 +0000 | |
commit | 4a00b0c712e3248e28bcc3026b5b957fe7514607 (patch) | |
tree | 52b6fc38858213b798be89cdcc53420d55477f36 /lib/test_bpf.c | |
parent | net: lan966x: Add define IFH_LEN_BYTES (diff) | |
download | wireguard-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