net: lan966x: set xdp_features flag
authorLorenzo Bianconi <lorenzo@kernel.org>
Fri, 10 Feb 2023 19:06:04 +0000 (20:06 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 14 Feb 2023 01:16:59 +0000 (17:16 -0800)
commitef01749f6a0d3d77e18488263fa920c49a001bfb
treec463812dc2e1e69a9f69177df5da5c0b4e2069e7
parent9b0bf4f77162e5423bc08aff7be0cb80134a2884
net: lan966x: set xdp_features flag

Set xdp_features netdevice flag if lan966x nic supports xdp mode.

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Reviewed-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Link: https://lore.kernel.org/r/01f4412f28899d97b0054c9c1a63694201301b42.1676055718.git.lorenzo@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/microchip/lan966x/lan966x_main.c