[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241122121317.2117826-1-martyna.szapar-mudlaw@linux.intel.com>
Date: Fri, 22 Nov 2024 13:13:18 +0100
From: Martyna Szapar-Mudlaw <martyna.szapar-mudlaw@...ux.intel.com>
To: intel-wired-lan@...ts.osuosl.org
Cc: netdev@...r.kernel.org,
Martyna Szapar-Mudlaw <martyna.szapar-mudlaw@...ux.intel.com>,
Przemek Kitszel <przemyslaw.kitszel@...el.com>
Subject: [PATCH iwl-next] ixgbe: Enable XDP support when SRIOV is enabled
Remove the check that prevents XDP support when SRIOV is enabled.
There is no reason to completely forbid the user from using XDP
with SRIOV.
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@...el.com>
Signed-off-by: Martyna Szapar-Mudlaw <martyna.szapar-mudlaw@...ux.intel.com>
---
Added CC netdev
---
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
index 459a539cf8db..a07e28107a42 100644
--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
@@ -10637,9 +10637,6 @@ static int ixgbe_xdp_setup(struct net_device *dev, struct bpf_prog *prog)
bool need_reset;
int num_queues;
- if (adapter->flags & IXGBE_FLAG_SRIOV_ENABLED)
- return -EINVAL;
-
if (adapter->flags & IXGBE_FLAG_DCB_ENABLED)
return -EINVAL;
--
2.36.1
Powered by blists - more mailing lists