From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tiwei Bie Subject: [PATCH v7 0/6] Add MACsec offload support for ixgbe Date: Fri, 13 Jan 2017 19:21:35 +0800 Message-ID: <1484306501-164565-1-git-send-email-tiwei.bie@intel.com> References: <1484109098-8936-1-git-send-email-tiwei.bie@intel.com> Cc: adrien.mazarguil@6wind.com, wenzhuo.lu@intel.com, john.mcnamara@intel.com, olivier.matz@6wind.com, thomas.monjalon@6wind.com, konstantin.ananyev@intel.com, helin.zhang@intel.com, wei.dai@intel.com, xiao.w.wang@intel.com To: dev@dpdk.org Return-path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 9B1162C6D for ; Fri, 13 Jan 2017 12:30:35 +0100 (CET) In-Reply-To: <1484109098-8936-1-git-send-email-tiwei.bie@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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(-) -- 2.7.4