nfp: enable NETDEV_XDP_ACT_REDIRECT feature flag
authorJames Hershaw <james.hershaw@corigine.com>
Fri, 2 Feb 2024 11:37:19 +0000 (13:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Feb 2024 11:11:09 +0000 (11:11 +0000)
commit0f4d6f011bca0df2051532b41b596366aa272019
treef4e0b173a37689a624732510507d66c3047aaf41
parent1a1c13303ff6d64e6f718dc8aa614e580ca8d9b4
nfp: enable NETDEV_XDP_ACT_REDIRECT feature flag

Enable previously excluded xdp feature flag for NFD3 devices. This
feature flag is required in order to bind nfp interfaces to an xdp
socket and the nfp driver does in fact support the feature.

Fixes: 66c0e13ad236 ("drivers: net: turn on XDP features")
Cc: stable@vger.kernel.org # 6.3+
Signed-off-by: James Hershaw <james.hershaw@corigine.com>
Signed-off-by: Louis Peens <louis.peens@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfp_net_common.c