Skip to content

Add MACsec offload support for ixgbe

Tiwei Bie dpdk-dev 8 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. v7 Latest posting 2/26 patches 4 repliesApplied
  2. v7 posting 1/26 patches 0 repliesSuperseded
  3. v66 patches 3 repliesSuperseded
Earlier versions · 5
VersionPostedPatchesRepliesStatus
v58 patches19 repliesSuperseded
v47 patches1 replySuperseded
v36 patches4 repliesSuperseded
v24 patches1 replySuperseded
v13 patches0 repliesSuperseded

Changes in v7 from the cover letter

- Fix clang build;

Patches in v7 posting 2/2 Applied

#Subject and filesSizeRepliesApplied
1/6mbuf: add flag for MACsecdoc/guides/rel_notes/release_17_02.rst lib/librte_mbuf/rte_mbuf.c lib/librte_mbuf/rte_mbuf.h+13 -00 replies
2/6ethdev: add event type for MACseclib/librte_ether/rte_ethdev.h+1 -01 reply
3/6ethdev: add MACsec offload capability flagslib/librte_ether/rte_ethdev.h+2 -01 reply
4/6net/ixgbe: add MACsec offload supportdoc/guides/nics/features/default.ini doc/guides/nics/features/ixgbe.ini drivers/net/ixgbe/ixgbe_ethdev.c +4 more+638 -50 replies
5/6app/testpmd: add MACsec offload commandsapp/test-pmd/cmdline.c app/test-pmd/macfwd.c app/test-pmd/macswap.c +3 more+429 -00 replies
6/6doc: add ixgbe specific APIsdoc/guides/rel_notes/release_17_02.rst+5 -00 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchOlivier MatzWenzhuo LuJohn McNamaraKonstantin AnanyevPeng Yuan
SeriesT-b
1/6A-b
2/6A-b
3/6A-b
4/6A-b
5/6A-b
6/6A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v7 thread

Cover letter [PATCH v7 0/6] Add MACsec offload support for ixgbe

This patch set adds the MACsec offload support for ixgbe. The testpmd is also updated to support MACsec cmds.

v2:
- Update the documents for testpmd;
- Update the release notes;
- Reuse the functions provided by base code;

v3:
- Add the missing parts of MACsec mbuf flag and reorganize the patch set;
- Add an ethdev event type for MACsec;
- Advertise the MACsec offload capabilities based on the mac type;
- Minor fixes and improvements;

v4:
- Reserve bits in mbuf and ethdev for PMD specific API;
- Use the reserved bits in PMD specific API;

v5:
- Add MACsec offload in the NIC feature list;
- Minor improvements on comments;

v6:
- Revert the changes related to the reserved flags;
- Rebase the patch set on the latest branch, xstats code is changed recently;
- Update the feature list when adding the MACsec support for ixgbe;

v7:
- Fix clang build;

Tiwei Bie (6):
mbuf: add flag for MACsec
ethdev: add event type for MACsec
ethdev: add MACsec offload capability flags
net/ixgbe: add MACsec offload support
app/testpmd: add MACsec offload commands
doc: add ixgbe specific APIs

 app/test-pmd/cmdline.c                      | 389 ++++++++++++++++++++++
 app/test-pmd/macfwd.c                       |   2 +
 app/test-pmd/macswap.c                      |   2 +
 app/test-pmd/testpmd.h                      |   2 +
 app/test-pmd/txonly.c                       |   2 +
 doc/guides/nics/features/default.ini        |   1 +
 doc/guides/nics/features/ixgbe.ini          |   1 +
 doc/guides/rel_notes/release_17_02.rst      |  10 +
 doc/guides/testpmd_app_ug/testpmd_funcs.rst |  32 ++
 drivers/net/ixgbe/ixgbe_ethdev.c            | 482 +++++++++++++++++++++++++++-
 drivers/net/ixgbe/ixgbe_ethdev.h            |  45 +++
 drivers/net/ixgbe/ixgbe_rxtx.c              |   3 +
 drivers/net/ixgbe/rte_pmd_ixgbe.h           | 100 ++++++
 drivers/net/ixgbe/rte_pmd_ixgbe_version.map |  11 +
 lib/librte_ether/rte_ethdev.h               |   3 +
 lib/librte_mbuf/rte_mbuf.c                  |   2 +
 lib/librte_mbuf/rte_mbuf.h                  |   6 +
 17 files changed, 1088 insertions(+), 5 deletions(-)
Signature · 1 line
2.7.4