Skip to content

framework for advanced iAVF PMD

Leyi Rong dpdk-dev 6 versions – Applied

Status from this message: Applied to dpdk-next-net-intel, Thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest11 patches 1 replyApplied
  2. v511 patches 3 repliesApplied
  3. v411 patches 0 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v311 patches0 repliesSuperseded
v212 patches0 repliesSuperseded
v112 patches2 repliesSuperseded

Changes in v6 from the cover letter

- Remove some redundant code which may cause ICC build error.

Patches in v6 Applied

#Subject and filesSizeRepliesApplied
1/11net/iavf: flexible Rx descriptor definitionsdrivers/net/iavf/iavf_rxtx.h+200 -00 replies
2/11net/iavf: return error if opcode is mismatcheddrivers/net/iavf/iavf_vchnl.c+3 -10 replies
3/11net/iavf: flexible Rx descriptor support in normal pathdrivers/net/iavf/iavf.h drivers/net/iavf/iavf_ethdev.c drivers/net/iavf/iavf_rxtx.c +2 more+521 -380 replies
4/11net/iavf: flexible Rx descriptor support in AVX pathdrivers/net/iavf/iavf_rxtx.c drivers/net/iavf/iavf_rxtx.h drivers/net/iavf/iavf_rxtx_vec_avx2.c+563 -60 replies
5/11net/iavf: flexible Rx descriptor support in SSE pathdrivers/net/iavf/iavf_rxtx.c drivers/net/iavf/iavf_rxtx.h drivers/net/iavf/iavf_rxtx_vec_sse.c+421 -20 replies
6/11net/iavf: add flow director enabled switch valuedrivers/net/iavf/iavf.h drivers/net/iavf/iavf_rxtx.h+31 -00 replies
7/11net/iavf: support flow mark in normal data pathdrivers/net/iavf/iavf.h drivers/net/iavf/iavf_rxtx.c+47 -70 replies
8/11net/iavf: support flow mark in AVX pathdrivers/net/iavf/iavf_rxtx_vec_avx2.c+67 -50 replies
9/11net/iavf: support flow mark in SSE pathdrivers/net/iavf/iavf_rxtx_vec_sse.c+51 -10 replies
10/11net/iavf: add RSS hash parsing in AVX pathdrivers/net/iavf/iavf_rxtx_vec_avx2.c+92 -20 replies
11/11net/iavf: add RSS hash parsing in SSE pathdrivers/net/iavf/iavf_rxtx_vec_sse.c+72 -160 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v6 yet.

Read the v6 thread

Cover letter [dpdk-dev] [PATCH v6 00/11] framework for advanced iAVF PMD

This patchset enable framework for advanced iAVF, includes flexible descriptor support, FDIR mark id and RSS hash support.

---
v6:
- Remove some redundant code which may cause ICC build error.

v5:
- Set rxdid = 0 in iavf_configure_queues() when it's supported and RTE_LIBRTE_IAVF_16BYTE_RX_DESC is y. So the error can be captured explicitly as kernel PF does not support it yet.
- Fix some build errors when RTE_LIBRTE_IAVF_16BYTE_RX_DESC is y.

v4:
- Avoid initial declaration in 'for' loop to backward-compatible with older gcc versions.

v3:
- Remove patch to query DDP package info as it's specific to DCF.
- Specify fdir_ref_cnt as per VF value for enable/disable FDIR ID parse.
- Move fdir_enabled flag to per Queue value for cache benefit when access in vector routines.
- Store extracted flow_id value to mbuf without judgement to avoid branch speculation fail, which is benefit to performance.

v2:
- Revert macro RTE_LIBRTE_IAVF_16BYTE_RX_DESC deletion as it's defined in AVF spec.
- Typo RTE_LIBRTE_ICE_16BYTE_RX_DESC fix in iavf_rxtx.c.
- Move flex desc definitions into iavf_rxtx.h.
- Up to date to match with the latest version of virtchnl.h.
- Extract a new internal func iavf_update_rx_tail to call.
- Remove iavf_dev_rxq_count_flex_rxd()/iavf_dev_rx_desc_status_flex_rxd(), as the accompanying legacy ones can deal with the flex desc cases.
- Move rxq->rxdid assignment from iavf_configure_queues() to iavf_dev_rx_queue_setup().
- Unfold _mm_extract_epi32(fdir_id0_3, i) to fix build error when using GCC compile option -O0.

Leyi Rong (11):
net/iavf: flexible Rx descriptor definitions net/iavf: return error if opcode is mismatched net/iavf: flexible Rx descriptor support in normal path net/iavf: flexible Rx descriptor support in AVX path net/iavf: flexible Rx descriptor support in SSE path net/iavf: add flow director enabled switch value net/iavf: support flow mark in normal data path net/iavf: support flow mark in AVX path net/iavf: support flow mark in SSE path net/iavf: add RSS hash parsing in AVX path net/iavf: add RSS hash parsing in SSE path

 drivers/net/iavf/iavf.h               |   6 +
 drivers/net/iavf/iavf_ethdev.c        |   8 +
 drivers/net/iavf/iavf_rxtx.c          | 546 ++++++++++++++++++--
 drivers/net/iavf/iavf_rxtx.h          | 250 ++++++++++
 drivers/net/iavf/iavf_rxtx_vec_avx2.c | 691 ++++++++++++++++++++++++++
 drivers/net/iavf/iavf_rxtx_vec_sse.c  | 520 +++++++++++++++++++
 drivers/net/iavf/iavf_vchnl.c         |  59 ++-
 7 files changed, 2035 insertions(+), 45 deletions(-)
Signature · 1 line
2.17.1