]> www.infradead.org Git - users/dwmw2/linux.git/commit
net: ti: icssg-prueth: Set XDP feature flags for ndev
authorMeghana Malladi <m-malladi@ti.com>
Tue, 6 May 2025 11:05:44 +0000 (16:35 +0530)
committerJakub Kicinski <kuba@kernel.org>
Thu, 8 May 2025 01:19:11 +0000 (18:19 -0700)
commite5641daa0ea1932e2b0fa7f27843e712244f6538
tree8d225d8f8d34376a8fe5cb9efa429b5201f7e5f0
parentf5c79ffdc250bc8c90fd4fdf1e5d7ac4647912d5
net: ti: icssg-prueth: Set XDP feature flags for ndev

xdp_features demonstrates what all XDP capabilities are supported
on a given network device. The driver needs to set these xdp_features
flag to let the network stack know what XDP features a given driver
is supporting. These flags need to be set for a given ndev irrespective
of any XDP program being loaded or not.

Fixes: 62aa3246f462 ("net: ti: icssg-prueth: Add XDP support")
Signed-off-by: Meghana Malladi <m-malladi@ti.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://patch.msgid.link/20250506110546.4065715-2-m-malladi@ti.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/ti/icssg/icssg_prueth.c