diff options
author | Horatiu Vultur <horatiu.vultur@microchip.com> | 2022-11-09 21:46:11 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-11-11 10:49:34 +0000 |
commit | 4a00b0c712e3248e28bcc3026b5b957fe7514607 (patch) | |
tree | 52b6fc38858213b798be89cdcc53420d55477f36 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e83163b66a37501cc11ba1c53e018f8236e87a2c (diff) |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions