netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 intel-net 0/2] ice XDP fixes
@ 2021-05-20  6:34 Maciej Fijalkowski
  2021-05-20  6:34 ` [PATCH v2 intel-net 1/2] ice: add ndo_bpf callback for safe mode netdev ops Maciej Fijalkowski
  2021-05-20  6:35 ` [PATCH v2 intel-net 2/2] ice: parametrize functions responsible for Tx ring management Maciej Fijalkowski
  0 siblings, 2 replies; 5+ messages in thread
From: Maciej Fijalkowski @ 2021-05-20  6:34 UTC (permalink / raw)
  To: intel-wired-lan
  Cc: netdev, bpf, davem, anthony.l.nguyen, kuba, bjorn,
	magnus.karlsson, Maciej Fijalkowski

[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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-06-07 15:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-20  6:34 [PATCH v2 intel-net 0/2] ice XDP fixes Maciej Fijalkowski
2021-05-20  6:34 ` [PATCH v2 intel-net 1/2] ice: add ndo_bpf callback for safe mode netdev ops Maciej Fijalkowski
2021-06-03  4:15   ` [Intel-wired-lan] " Bhandare, KiranX
2021-05-20  6:35 ` [PATCH v2 intel-net 2/2] ice: parametrize functions responsible for Tx ring management Maciej Fijalkowski
2021-06-07 15:32   ` [Intel-wired-lan] " Bhandare, KiranX

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).