ENETC driver related changes series
Status from this message: Applied to net-next with minor rewording of git commit message
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest posting 2/29 patches 1 replyApplied
- v4 posting 1/29 patches 0 repliesSuperseded
- v39 patches 6 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 9 patches | 2 replies | Superseded | |
| v1 | 10 patches | 2 replies | Superseded |
Changes in v4 from the cover letter
- Fixed a compilation issue: "txbd may be used uninitialized"
Patches in v4 posting 2/2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | net/enetc: fix TX BD structuredrivers/ drivers/ | +12 | 0 replies | |
| 2/9 | net/enetc: fix queue initializationdrivers/ | +11 | 0 replies | |
| 3/9 | net/enetc: support ESP packet type in packet parsingdoc/ drivers/ drivers/ +1 more | +19 | 0 replies | |
| 4/9 | net/enetc: update random MAC generation codedrivers/ | +10 | 0 replies | |
| 5/9 | net/enetc: support scatter-gatherdoc/ doc/ drivers/ +4 more | +141 | 0 replies | |
| 6/9 | net/enetc: add option to disable VSI messagingdoc/ doc/ drivers/ | +81 | 0 replies | |
| 7/9 | net/enetc: add devargs to control VSI-PSI timeout and delaydoc/ doc/ drivers/ +1 more | +73 | 0 replies | |
| 8/9 | net/enetc: set user configurable priority to TX ringsdoc/ doc/ drivers/ +1 more | +94 | 0 replies | |
| 9/9 | net/enetc4: add cacheable BD ring support with SW cache maintenancedoc/ doc/ drivers/ +3 more | +396 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.
Cover letter [PATCH v4 0/9] ENETC driver related changes series
V4 changes:
- Fixed a compilation issue: "txbd may be used uninitialized"
V3 changes:
- Added documentation for all devargs in enetc4.rst.
- Fixed kvlist memory leak issue.
V2 changes:
- Fixed an un-used variable compilation issue reported on fedora:43-gcc-minsize
- Fixed various AI reported issues:
- Release notes updated for all new devargs
- enect4.ini features doc updated for scattered RX.
- removed Not required RTE_PTYPE_UNKNOWN.
- Fixed mid-frame mbuf leak in SG case.
- Enabled SG for enetc4 PF also.
- move to calloc from rte_zmalloc in parse_txq_prior().
- added vaidation checks on strdup, strtoul.
- added NC devargs to use cacheable ops conditionally.
- removed dead code like bd_base_p etc.
- Fixed rte_cpu_to_le_16() conversion on flags and combined all flags related patches in one patch.
- Fixed memory leak issue due to TXQ priority patch.
- There were some false positives, I have ignored them:
Race condition on flags field:
clean_tx_ring only touches HW-completed BDs (next_to_clean→hwci), never newly-submitted BDs; doorbell hasn't fired yet.
Missing dcbf in clean_tx_ring:
DPDK is single-threaded per queue; TX path always overwrites flags completely before dcbf.
TX dcbf granularity with wrap:
Safe (AI admits it).
RX refill flush at wrap:
In-loop dcbf at i & mask == 0 already flushes aligned groups; trailing flush only needed for partial groups.
RX reading before invalidate:
dccivac precedes the read for every group in the loop
Gagandeep Singh (7):
net/enetc: fix TX BD structure
net/enetc: fix queue initialization
net/enetc: support ESP packet type in packet parsing net/enetc: update random MAC generation code
net/enetc: add option to disable VSI messaging net/enetc: add devargs to control VSI-PSI timeout and delay net/enetc4: add cacheable BD ring support with SW cache maintenance
Vanshika Shukla (2):
net/enetc: support scatter-gather
net/enetc: set user configurable priority to TX rings
doc/guides/nics/enetc4.rst | 62 +++- doc/guides/nics/features/enetc4.ini | 1 + doc/guides/rel_notes/release_26_07.rst | 10 + drivers/net/enetc/base/enetc_hw.h | 13 +- drivers/net/enetc/enetc.h | 31 +- drivers/net/enetc/enetc4_ethdev.c | 172 ++++++++-- drivers/net/enetc/enetc4_vf.c | 206 ++++++++++-- drivers/net/enetc/enetc_ethdev.c | 25 +- drivers/net/enetc/enetc_rxtx.c | 430 ++++++++++++++++++++++--- 9 files changed, 831 insertions(+), 119 deletions(-)
Signature · 1 line
2.25.1