linux/drivers/net/ethernet/marvell/octeontx2/nic
Marek Majtyka 66c0e13ad2 drivers: net: turn on XDP features
A summary of the flags being set for various drivers is given below.
Note that XDP_F_REDIRECT_TARGET and XDP_F_FRAG_TARGET are features
that can be turned off and on at runtime. This means that these flags
may be set and unset under RTNL lock protection by the driver. Hence,
READ_ONCE must be used by code loading the flag value.

Also, these flags are not used for synchronization against the availability
of XDP resources on a device. It is merely a hint, and hence the read
may race with the actual teardown of XDP resources on the device. This
may change in the future, e.g. operations taking a reference on the XDP
resources of the driver, and in turn inhibiting turning off this flag.
However, for now, it can only be used as a hint to check whether device
supports becoming a redirection target.

Turn 'hw-offload' feature flag on for:
 - netronome (nfp)
 - netdevsim.

Turn 'native' and 'zerocopy' features flags on for:
 - intel (i40e, ice, ixgbe, igc)
 - mellanox (mlx5).
 - stmmac
 - netronome (nfp)

Turn 'native' features flags on for:
 - amazon (ena)
 - broadcom (bnxt)
 - freescale (dpaa, dpaa2, enetc)
 - funeth
 - intel (igb)
 - marvell (mvneta, mvpp2, octeontx2)
 - mellanox (mlx4)
 - mtk_eth_soc
 - qlogic (qede)
 - sfc
 - socionext (netsec)
 - ti (cpsw)
 - tap
 - tsnep
 - veth
 - xen
 - virtio_net.

Turn 'basic' (tx, pass, aborted and drop) features flags on for:
 - netronome (nfp)
 - cavium (thunder)
 - hyperv.

Turn 'redirect_target' feature flag on for:
 - amanzon (ena)
 - broadcom (bnxt)
 - freescale (dpaa, dpaa2)
 - intel (i40e, ice, igb, ixgbe)
 - ti (cpsw)
 - marvell (mvneta, mvpp2)
 - sfc
 - socionext (netsec)
 - qlogic (qede)
 - mellanox (mlx5)
 - tap
 - veth
 - virtio_net
 - xen

Reviewed-by: Gerhard Engleder <gerhard@engleder-embedded.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Acked-by: Stanislav Fomichev <sdf@google.com>
Acked-by: Jakub Kicinski <kuba@kernel.org>
Co-developed-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Co-developed-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Marek Majtyka <alardam@gmail.com>
Link: https://lore.kernel.org/r/3eca9fafb308462f7edb1f58e451d59209aa07eb.1675245258.git.lorenzo@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2023-02-02 20:48:23 -08:00
..
cn10k_macsec.c ethernet: marvell: octeontx2 Fix resource not freed after malloc 2022-10-19 13:43:41 +01:00
cn10k.c octeontx2-pf: Add egress PFC support 2022-09-01 09:37:47 +02:00
cn10k.h octeontx2-pf: Fix inconsistent license text 2021-08-29 10:46:15 +01:00
Makefile octeontx2-pf: mcs: Introduce MACSEC hardware offloading 2022-10-03 12:50:19 +01:00
otx2_common.c octeontx2-pf: Fix the use of GFP_KERNEL in atomic context on rt 2023-01-19 14:07:47 +01:00
otx2_common.h octeontx2-pf: Fix the use of GFP_KERNEL in atomic context on rt 2023-01-19 14:07:47 +01:00
otx2_dcbnl.c octeontx2-pf: Add egress PFC support 2022-09-01 09:37:47 +02:00
otx2_devlink.c net: devlink: clean-up empty devlink_ops::info_get() 2022-11-30 21:49:39 -08:00
otx2_devlink.h octeontx2-pf: devlink params support to set mcam entry count 2021-08-17 10:06:33 +01:00
otx2_dmac_flt.c octeontx2-af: Fixes static warnings 2022-07-15 12:01:43 +01:00
otx2_ethtool.c octeontx2-pf: ethtool: Implement get_fec_stats 2022-12-07 12:24:29 +01:00
otx2_flows.c octeontx2-pf: Add support to filter packet based on IP fragment 2022-11-28 11:06:23 +00:00
otx2_pf.c drivers: net: turn on XDP features 2023-02-02 20:48:23 -08:00
otx2_ptp.c octeontx2-af: Add PTP PPS Errata workaround on CN10K silicon 2022-09-17 20:13:41 +01:00
otx2_ptp.h octeontx2-pf: cn10k: add support for new ptp timestamp format 2022-02-21 13:07:48 +00:00
otx2_reg.h octeontx2-pf: Fix inconsistent license text 2021-08-29 10:46:15 +01:00
otx2_struct.h octeontx2-pf: NIX TX overwrites SQ_CTX_HW_S[SQ_INT] 2022-11-04 10:55:05 +00:00
otx2_tc.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-12-08 18:19:59 -08:00
otx2_txrx.c octeontx2-pf: Fix SQE threshold checking 2022-11-08 13:43:46 +01:00
otx2_txrx.h octeontx2-pf: Fix SQE threshold checking 2022-11-08 13:43:46 +01:00
otx2_vf.c octeontx2-pf: Fix resource leakage in VF driver unbind 2023-01-10 11:00:28 +01:00