sfc: move xdp_features configuration in efx_pci_probe_post_io()
authorLorenzo Bianconi <lorenzo@kernel.org>
Wed, 8 Feb 2023 16:58:40 +0000 (17:58 +0100)
committerMartin KaFai Lau <martin.lau@kernel.org>
Wed, 8 Feb 2023 18:18:46 +0000 (10:18 -0800)
commit9b0651e429a04b58c29f2133da4ccc70f81263b8
treeb0098a30a804bc9a382ecc38e3dec58836b1518a
parentd00d5b82f0734205c718aa1acf7cc9b183fd6751
sfc: move xdp_features configuration in efx_pci_probe_post_io()

Move xdp_features configuration from efx_pci_probe() to
efx_pci_probe_post_io() since it is where all the other basic netdev
features are initialised.

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://lore.kernel.org/r/9bd31c9a29bcf406ab90a249a28fc328e5578fd1.1675875404.git.lorenzo@kernel.org
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
drivers/net/ethernet/sfc/efx.c
drivers/net/ethernet/sfc/siena/efx.c