Hello,
As suggested by Maciej, submitting v3 which makes i40e_clean_rx_irq and
i40e_clean_rx_irq_zc use similar logic and a shared function
i40e_inc_ntp_ntc() to advance next_to_process and next_to_clean when
handling status descriptors.
I've left the rest of the i40e_clean_rx_irq logic unchanged or this
patch would snowball. I think it'd be nice to change the function to
work with local variables and update the rx_ring only at the end like
_zc, but seems out of scope for this patch.
Changes since v2:
* use common utility function i40e_inc_ntp_ntc to advance indexes
Alessandro Decina (1):
i40e: xsk: advance next_to_clean on status descriptors
drivers/net/ethernet/intel/i40e/i40e_txrx.c | 33 ++++++++++++-------
.../ethernet/intel/i40e/i40e_txrx_common.h | 2 ++
drivers/net/ethernet/intel/i40e/i40e_xsk.c | 17 ++++++----
3 files changed, 34 insertions(+), 18 deletions(-)
base-commit: 96a9178a29a6b84bb632ebeb4e84cf61191c73d5
--
2.43.0