Skip to content

net/e1000: convert to new Rx/Tx offloads API

Wei Dai dpdk-dev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/22 patches 2 repliesIn review
  2. v2 posting 1/22 patches 12 repliesApplied
  3. v11 patch 2 repliesSuperseded

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net/e1000: convert to new Rx offloads APIdrivers/net/e1000/e1000_ethdev.h drivers/net/e1000/em_ethdev.c drivers/net/e1000/em_rxtx.c +2 more+240 -570 replies
2/2net/e1000: convert to new Tx offloads APIdrivers/net/e1000/e1000_ethdev.h drivers/net/e1000/em_ethdev.c drivers/net/e1000/em_rxtx.c +2 more+145 -120 replies

Reviews trailers per patch

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

PatchQi Zhang
SeriesA-b
1/2
2/2

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

Read the v2 thread

Cover letter [PATCH v2 0/2] net/e1000: convert to new Rx/Tx offloads API

This patch set convert net/e1000 to new Rx/Tx offloads API. All Rx offloads are per port features.
All Tx offloads of e1000 are per queue and also per packet as they are enabled in Tx descriptor.
In the new offload API, per queue offload only need to be set in queue_setup(). So if the maimum number of queues is only one in Rx or Tx path, let all offloads in the path are per queue for better convenience.

---
v2: add offloads checking

Wei Dai (2):
net/e1000: convert to new Rx offloads API
net/e1000: convert to new Tx offloads API

 drivers/net/e1000/e1000_ethdev.h |  14 ++++
 drivers/net/e1000/em_ethdev.c    |  58 ++++++++++----
 drivers/net/e1000/em_rxtx.c      | 155 +++++++++++++++++++++++++++++++++---
 drivers/net/e1000/igb_ethdev.c   |  60 +++++++-------
 drivers/net/e1000/igb_rxtx.c     | 167 +++++++++++++++++++++++++++++++++++----
 5 files changed, 385 insertions(+), 69 deletions(-)
Signature · 1 line
2.9.5