1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/ethernet/freescale/dpaa2
Lorenzo Bianconi 1c93e48cc3 net: dpaa2-eth: do not always set xsk support in xdp_features flag
Do not always add NETDEV_XDP_ACT_XSK_ZEROCOPY bit in xdp_features flag
but check if the NIC really supports it.

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Reviewed-by: Larysa Zaremba <larysa.zaremba@intel.com>
Link: https://lore.kernel.org/r/3dba6ea42dc343a9f2d7d1a6a6a6c173235e1ebf.1676471386.git.lorenzo@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2023-02-20 07:49:44 +01:00
..
dpaa2-eth-dcb.c dpaa2-eth: add a dpaa2_eth_ prefix to all functions in dpaa2-eth-dcb.c 2020-09-01 13:23:47 -07:00
dpaa2-eth-debugfs.c net: dpaa2-eth: export buffer pool info into a new debugfs file 2022-10-24 09:22:11 +01:00
dpaa2-eth-debugfs.h dpaa2: no need to check return value of debugfs_create functions 2019-08-10 15:25:48 -07:00
dpaa2-eth-devlink.c net: devlink: let the core report the driver name instead of the drivers 2022-11-30 21:49:38 -08:00
dpaa2-eth-trace.h net: dpaa2-eth: add trace points on XSK events 2022-10-24 09:22:11 +01:00
dpaa2-eth.c net: dpaa2-eth: do not always set xsk support in xdp_features flag 2023-02-20 07:49:44 +01:00
dpaa2-eth.h net: dpaa2-eth: serialize changes to priv->mac with a mutex 2022-12-01 13:40:22 +01:00
dpaa2-ethtool.c net: dpaa2-eth: serialize changes to priv->mac with a mutex 2022-12-01 13:40:22 +01:00
dpaa2-mac.c net: dpaa2-mac: move rtnl_lock() only around phylink_{,dis}connect_phy() 2022-12-01 13:40:22 +01:00
dpaa2-mac.h net: dpaa2: replace dpaa2_mac_is_type_fixed() with dpaa2_mac_is_type_phy() 2022-12-01 13:40:21 +01:00
dpaa2-ptp.c net: dpaa2: Remove linux/msi.h includes 2022-11-14 18:43:20 -08:00
dpaa2-ptp.h dpaa2-eth: define a global ptp_qoriq structure pointer 2020-09-18 14:32:48 -07:00
dpaa2-switch-ethtool.c net: dpaa2-switch: serialize changes to priv->mac with a mutex 2022-12-01 13:40:22 +01:00
dpaa2-switch-flower.c dpaa2-switch: Fix memory leak in dpaa2_switch_acl_entry_add() and dpaa2_switch_acl_entry_remove() 2022-12-07 12:14:12 +01:00
dpaa2-switch.c net: dpaa2-mac: move rtnl_lock() only around phylink_{,dis}connect_phy() 2022-12-01 13:40:22 +01:00
dpaa2-switch.h net: dpaa2-switch: serialize changes to priv->mac with a mutex 2022-12-01 13:40:22 +01:00
dpaa2-xsk.c net: dpaa2-eth: Simplify bool conversion 2022-10-27 20:34:31 -07:00
dpkg.h dpaa2-eth: fixup kdoc warnings 2021-03-16 15:29:49 -07:00
dpmac-cmd.h dpaa2-mac: add the MC API for reconfiguring the protocol 2022-03-14 10:41:50 +00:00
dpmac.c dpaa2-mac: add the MC API for reconfiguring the protocol 2022-03-14 10:41:50 +00:00
dpmac.h dpaa2-mac: add the MC API for reconfiguring the protocol 2022-03-14 10:41:50 +00:00
dpni-cmd.h net: dpaa2-eth: update the dpni_set_pools() API to support per QDBIN pools 2022-10-24 09:22:11 +01:00
dpni.c net: dpaa2-eth: update the dpni_set_pools() API to support per QDBIN pools 2022-10-24 09:22:11 +01:00
dpni.h net: dpaa2-eth: update the dpni_set_pools() API to support per QDBIN pools 2022-10-24 09:22:11 +01:00
dprtc-cmd.h dpaa2-ptp: add external trigger event support 2019-12-16 15:56:41 -08:00
dprtc.c dpaa2-ptp: add interrupt support 2019-06-15 13:43:06 -07:00
dprtc.h dpaa2-eth: fixup kdoc warnings 2021-03-16 15:29:49 -07:00
dpsw-cmd.h dpaa2-switch: add API for setting up mirroring 2021-07-29 21:34:45 +01:00
dpsw.c dpaa2-switch: add API for setting up mirroring 2021-07-29 21:34:45 +01:00
dpsw.h dpaa2-switch: integrate the MAC endpoint support 2021-08-04 09:53:34 +01:00
Kconfig staging: dpaa2-switch: move the driver out of staging 2021-03-10 13:30:36 -08:00
Makefile net: dpaa2-eth: AF_XDP RX zero copy support 2022-10-24 09:22:11 +01:00