bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 intel-net 0/6] ice: xsk: Rx processing fixes
@ 2021-12-13 15:31 Maciej Fijalkowski
  2021-12-13 15:31 ` [PATCH v2 intel-net 1/6] ice: xsk: return xsk buffers back to pool when cleaning the ring Maciej Fijalkowski
                   ` (6 more replies)
  0 siblings, 7 replies; 14+ messages in thread
From: Maciej Fijalkowski @ 2021-12-13 15:31 UTC (permalink / raw)
  To: intel-wired-lan
  Cc: netdev, bpf, anthony.l.nguyen, kuba, davem, magnus.karlsson,
	elza.mathew, Maciej Fijalkowski

Hi there,
it seems that previous [0] Rx fix was not enough and there are still
issues with AF_XDP Rx ZC support in ice driver. Elza reported that for
multiple XSK sockets configured on a single netdev, some of them were
becoming dead after a while. We have spotted more things that needed to
be addressed this time. More of information can be found in particular
commit messages.

v2 has a diff around only patch 2:
- use array_size() in memsets (Alexandr)
- remove unnecessary ternary operator from ice_alloc_rx_buf{, _zc}()
  (Alexandr)
- respect RCT in ice_construct_skb_zc() (Alexandr)
- fix kdoc issue (Anthony)

It also carries Alexandr's patch that was sent previously which was
overlapping with this set.

Thanks,
Maciej

[0]: https://lore.kernel.org/bpf/20211129231746.2767739-1-anthony.l.nguyen@intel.com/

Alexander Lobakin (1):
  ice: remove dead store on XSK hotpath

Maciej Fijalkowski (5):
  ice: xsk: return xsk buffers back to pool when cleaning the ring
  ice: xsk: allocate separate memory for XDP SW ring
  ice: xsk: do not clear status_error0 for ntu + nb_buffs descriptor
  ice: xsk: allow empty Rx descriptors on XSK ZC data path
  ice: xsk: fix cleaned_count setting

 drivers/net/ethernet/intel/ice/ice_base.c | 17 ++++++
 drivers/net/ethernet/intel/ice/ice_txrx.c | 19 ++++---
 drivers/net/ethernet/intel/ice/ice_txrx.h |  1 -
 drivers/net/ethernet/intel/ice/ice_xsk.c  | 66 +++++++++++------------
 4 files changed, 62 insertions(+), 41 deletions(-)

-- 
2.33.1


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

end of thread, other threads:[~2021-12-17 15:24 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-13 15:31 [PATCH v2 intel-net 0/6] ice: xsk: Rx processing fixes Maciej Fijalkowski
2021-12-13 15:31 ` [PATCH v2 intel-net 1/6] ice: xsk: return xsk buffers back to pool when cleaning the ring Maciej Fijalkowski
2021-12-17 15:24   ` [Intel-wired-lan] " Bhandare, KiranX
2021-12-13 15:31 ` [PATCH v2 intel-net 2/6] ice: xsk: allocate separate memory for XDP SW ring Maciej Fijalkowski
2021-12-17 15:24   ` [Intel-wired-lan] " Bhandare, KiranX
2021-12-13 15:31 ` [PATCH v2 intel-net 3/6] ice: remove dead store on XSK hotpath Maciej Fijalkowski
2021-12-17 15:24   ` [Intel-wired-lan] " Bhandare, KiranX
2021-12-13 15:31 ` [PATCH v2 intel-net 4/6] ice: xsk: do not clear status_error0 for ntu + nb_buffs descriptor Maciej Fijalkowski
2021-12-17 15:23   ` [Intel-wired-lan] " Bhandare, KiranX
2021-12-13 15:31 ` [PATCH v2 intel-net 5/6] ice: xsk: allow empty Rx descriptors on XSK ZC data path Maciej Fijalkowski
2021-12-17 15:23   ` [Intel-wired-lan] " Bhandare, KiranX
2021-12-13 15:31 ` [PATCH v2 intel-net 6/6] ice: xsk: fix cleaned_count setting Maciej Fijalkowski
2021-12-17 15:23   ` [Intel-wired-lan] " Bhandare, KiranX
2021-12-14 14:46 ` [Intel-wired-lan] [PATCH v2 intel-net 0/6] ice: xsk: Rx processing fixes Magnus Karlsson

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).