From: Maciej Fijalkowski Date: Thu, 20 May 2021 08:34:58 +0200 Subject: [Intel-wired-lan] [PATCH v2 intel-net 0/2] ice XDP fixes Message-ID: <20210520063500.62037-1-maciej.fijalkowski@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: intel-wired-lan@osuosl.org List-ID: [resending as v2, vim session got broken while editing patch] Hi, here are two small fixes around XDP support in ice driver. Jamal reported that ice driver does not support XDP on his side. This got me really puzzling and I had no clue what was going on. Turned that this is the case when device is in 'safe mode', so let's add a dedicated ndo_bpf for safe mode ops and make it clear to user what needs to be fixed. I've described that in the commit message of patch 1 more thoroughly. Second issue was found during implementing XDP Tx fallback path for unsufficient queue count case, which I will send on next week once I'm back from woods. Hopefully. Thanks! Maciej Fijalkowski (2): ice: add ndo_bpf callback for safe mode netdev ops ice: parametrize functions responsible for Tx ring management drivers/net/ethernet/intel/ice/ice_lib.c | 18 ++++++++++-------- drivers/net/ethernet/intel/ice/ice_main.c | 15 +++++++++++++++ 2 files changed, 25 insertions(+), 8 deletions(-) -- 2.20.1