linux-stable/drivers/net/ethernet/microchip/lan966x
Horatiu Vultur 4a00b0c712 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>
2022-11-11 10:49:34 +00:00
..
Kconfig net: lan966x: Add lag support for lan966x 2022-08-22 14:00:54 +01:00
lan966x_cbs.c net: lan966x: Add offload support for cbs 2022-09-28 09:36:28 +01:00
lan966x_ethtool.c net: lan966x: Fix the rx drop counter 2022-10-20 21:08:54 -07:00
lan966x_ets.c net: lan966x: Add offload support for ets 2022-09-28 09:36:28 +01:00
lan966x_fdb.c net: lan966x: Extend FDB to support also lag 2022-08-22 14:00:54 +01:00
lan966x_fdma.c net: lan966x: Split function lan966x_fdma_rx_get_frame 2022-11-11 10:49:34 +00:00
lan966x_ifh.h net: lan966x: Add define IFH_LEN_BYTES 2022-11-11 10:49:34 +00:00
lan966x_lag.c net: lan966x: Extend MAC to support also lag interfaces. 2022-08-22 14:00:54 +01:00
lan966x_mac.c net: lan966x: Extend MAC to support also lag interfaces. 2022-08-22 14:00:54 +01:00
lan966x_main.c net: lan966x: Add define IFH_LEN_BYTES 2022-11-11 10:49:34 +00:00
lan966x_main.h net: lan966x: Split function lan966x_fdma_rx_get_frame 2022-11-11 10:49:34 +00:00
lan966x_mdb.c net: lan966x: Update mdb when enabling/disabling mcast_snooping 2022-02-05 15:00:43 +00:00
lan966x_mirror.c net: lan966x: Add port mirroring support using tc-matchall 2022-10-03 12:46:46 +01:00
lan966x_mqprio.c net: lan966x: Fix spelling mistake "tarffic" -> "traffic" 2022-09-30 12:34:01 +01:00
lan966x_phylink.c net: remove explicit phylink_generic_validate() references 2022-11-07 17:54:57 -08:00
lan966x_police.c net: lan966x: Add port police support using tc-matchall 2022-10-03 12:46:46 +01:00
lan966x_port.c net: lan966x: Add offload support for taprio 2022-09-23 12:31:27 +01:00
lan966x_ptp.c net: lan966x: Add offload support for taprio 2022-09-23 12:31:27 +01:00
lan966x_regs.h net: lan966x: Adjust maximum frame size when vlan is enabled/disabled 2022-11-01 21:18:16 -07:00
lan966x_switchdev.c net: lan966x: Extend FDB to support also lag 2022-08-22 14:00:54 +01:00
lan966x_taprio.c net: lan966x: Add offload support for taprio 2022-09-23 12:31:27 +01:00
lan966x_tbf.c net: lan966x: Add offload support for tbf 2022-09-28 09:36:28 +01:00
lan966x_tc.c net: lan966x: Add port police support using tc-matchall 2022-10-03 12:46:46 +01:00
lan966x_tc_matchall.c net: lan966x: Add port mirroring support using tc-matchall 2022-10-03 12:46:46 +01:00
lan966x_vlan.c net: lan966x: Adjust maximum frame size when vlan is enabled/disabled 2022-11-01 21:18:16 -07:00
Makefile net: lan966x: Add port mirroring support using tc-matchall 2022-10-03 12:46:46 +01:00