Fixes for Intel common rx/tx path selection
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 4 repliesIn review
- v18 patches 2 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | net/intel: prevent selection of a null Tx burst functiondrivers/ | +4 | 1 reply | |
| 2/3 | net/intel: prevent selection of a null Rx burst functiondrivers/ | +4 | 1 reply | |
| 3/3 | net/intel: bring common Rx path selection in line with Txdrivers/ drivers/ drivers/ +4 more | +123 | 1 reply |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Bruce Richardson |
|---|---|
| 1/3 | A-b |
| 2/3 | A-b |
| 3/3 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/3] Fixes for Intel common rx/tx path selection
Depending on the underlying architecture and CPU flags available, a different set of Rx/Tx paths may be defined by a driver using the common path selection infrastructure. However the path selection function iterates through the entire array of potential paths, regardless of whether they are available for selection by that platform. This could result in a null burst function being selected. Fix this by discarding paths with a null burst function from selection.
The fix for the Tx paths can be squashed into the next-net-intel tree as the commit that it targets has not yet made it into the main branch.
I added a third commit which addresses some minor inconsistencies in the Rx path selection code and brings it in line with the Tx path selection code. Functionally it remains the same.
Ciara Loftus (3):
net/intel: prevent selection of a null Tx burst function net/intel: prevent selection of a null Rx burst function net/intel: bring common Rx path selection in line with Tx
drivers/net/intel/common/rx.h | 42 ++++----- drivers/net/intel/common/tx.h | 4 + drivers/net/intel/cpfl/cpfl_rxtx.c | 8 +- drivers/net/intel/i40e/i40e_rxtx.c | 40 ++++---- drivers/net/intel/iavf/iavf_rxtx.c | 106 +++++++++++----------- drivers/net/intel/ice/ice_rxtx.c | 40 ++++---- drivers/net/intel/idpf/idpf_common_rxtx.c | 10 +- drivers/net/intel/idpf/idpf_rxtx.c | 8 +- 8 files changed, 131 insertions(+), 127 deletions(-)
Signature · 1 line
2.43.0