Skip to content

Vector Rx/Tx PMD implementation for fm10k

Chen Jing D(Mark) dpdk-dev 5 versions – Applied

Status from this message: Applied, thanks

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest14 patches 3 repliesApplied
  2. v416 patches 3 repliesSuperseded
  3. v316 patches 7 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v216 patches11 repliesSuperseded
v114 patches4 repliesSuperseded

Changes in v5 from the cover letter

- Fix some warnings reported by checkpatch.pl
- Squash 3 patches into 1 to avoid compile error on unsued functions.
- Sync with master branch

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
1/14fm10k: add new vPMD filedrivers/net/fm10k/Makefile drivers/net/fm10k/fm10k_rxtx_vec.c+46 -00 replies
2/14fm10k: add vPMD pre-condition check for each RX queuedrivers/net/fm10k/fm10k.h drivers/net/fm10k/fm10k_ethdev.c drivers/net/fm10k/fm10k_rxtx_vec.c+40 -30 replies
3/14fm10k: Add a new func to initialize all parametersdrivers/net/fm10k/fm10k_ethdev.c+23 -120 replies
4/14fm10k: add Vector RX functiondrivers/net/fm10k/fm10k.h drivers/net/fm10k/fm10k_ethdev.c drivers/net/fm10k/fm10k_rxtx_vec.c+441 -00 replies
5/14fm10k: add func to do Vector RX condition checkdrivers/net/fm10k/fm10k.h drivers/net/fm10k/fm10k_rxtx_vec.c+32 -00 replies
6/14fm10k: add Vector RX scatter functiondrivers/net/fm10k/fm10k.h drivers/net/fm10k/fm10k_rxtx_vec.c+90 -00 replies
7/14fm10k: add function to decide best RX functiondrivers/net/fm10k/fm10k.h drivers/net/fm10k/fm10k_ethdev.c+33 -40 replies
8/14fm10k: add func to release mbuf in case Vector RX applieddrivers/net/fm10k/fm10k.h drivers/net/fm10k/fm10k_ethdev.c drivers/net/fm10k/fm10k_rxtx_vec.c+25 -00 replies
9/14fm10k: add Vector TX functiondrivers/net/fm10k/fm10k.h drivers/net/fm10k/fm10k_rxtx_vec.c+155 -00 replies
10/14fm10k: use func pointer to reset TX queue and mbuf releasedrivers/net/fm10k/fm10k.h drivers/net/fm10k/fm10k_ethdev.c+28 -50 replies
11/14fm10k: introduce 2 funcs to reset TX queue and mbuf releasedrivers/net/fm10k/fm10k_rxtx_vec.c+68 -00 replies
12/14fm10k: Add function to decide best TX funcdrivers/net/fm10k/fm10k.h drivers/net/fm10k/fm10k_ethdev.c+37 -20 replies
13/14fm10k: fix a crash issue in vector RX funcdrivers/net/fm10k/fm10k.h drivers/net/fm10k/fm10k_ethdev.c+20 -30 replies
14/14doc: release notes update for fm10k Vector PMDdoc/guides/rel_notes/release_2_2.rst+6 -01 reply

Reviews trailers per patch

None of the 14 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchCunming Liang
SeriesA-b
1/14
2/14
3/14
4/14
5/14
6/14
7/14
8/14
9/14
10/14
11/14
12/14
13/14
14/14

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 00/14] Vector Rx/Tx PMD implementation for fm10k

From: "Chen Jing D(Mark)" <[email protected]>

v5:
- Fix some warnings reported by checkpatch.pl
- Squash 3 patches into 1 to avoid compile error on unsued functions.
- Sync with master branch

v4:
- Clear HW/SW ring content after allocating mbuf failed.

v3:
- Add a blank line after variable definition.
- Do floor alignment for passing in argument nb_pkts to avoid memory overwritten.
- Only scan max of 32 desc in scatter Rx function to avoid memory overwritten.

v2:
- Fix a typo issue.
- Fix an improper prefetch in vector RX function, in which prefetches un-initialized mbuf.
- Remove limitation on number of desc pointer in vector RX function.
- Re-organize some comments.
- Add a new patch to fix a crash issue in vector RX func.
- Add a new patch to update release notes.

v1:
This patch set includes Vector Rx/Tx functions to receive/transmit packets for fm10k devices. It also contains logic to do sanity check for proper RX/TX function selections.

Chen Jing D(Mark) (14):
fm10k: add new vPMD file
fm10k: add vPMD pre-condition check for each RX queue
fm10k: Add a new func to initialize all parameters
fm10k: add Vector RX function
fm10k: add func to do Vector RX condition check
fm10k: add Vector RX scatter function
fm10k: add function to decide best RX function
fm10k: add func to release mbuf in case Vector RX applied
fm10k: add Vector TX function
fm10k: use func pointer to reset TX queue and mbuf release
fm10k: introduce 2 funcs to reset TX queue and mbuf release
fm10k: Add function to decide best TX func
fm10k: fix a crash issue in vector RX func
doc: release notes update for fm10k Vector PMD

 doc/guides/rel_notes/release_2_2.rst |    6 +
 drivers/net/fm10k/Makefile           |    1 +
 drivers/net/fm10k/fm10k.h            |   45 ++-
 drivers/net/fm10k/fm10k_ethdev.c     |  172 ++++++-
 drivers/net/fm10k/fm10k_rxtx_vec.c   |  847 ++++++++++++++++++++++++++++++++++
 5 files changed, 1043 insertions(+), 28 deletions(-)
 create mode 100644 drivers/net/fm10k/fm10k_rxtx_vec.c
Signature · 1 line
1.7.7.6