Re: [dpdk-dev] [PATCH v2 3/7] net/virtio_user: move vhost user specific code

2016-12-25 Thread Yuanhan Liu
On Mon, Dec 26, 2016 at 06:58:58AM +, Tan, Jianfeng wrote: > > > > -Original Message- > > From: Yuanhan Liu [mailto:yuanhan@linux.intel.com] > > Sent: Monday, December 26, 2016 2:28 PM > > To: Tan, Jianfeng > > Cc: dev@dpdk.org; Yigit, Ferruh; Liang, Cunming > > Subject: Re: [PATC

Re: [dpdk-dev] [PATCH v2 6/7] net/virtio_user: enable offloading

2016-12-25 Thread Yuanhan Liu
On Fri, Dec 23, 2016 at 07:14:25AM +, Jianfeng Tan wrote: > When used with vhost kernel backend, we can offload at both directions. > - From vhost kernel to virtio_user, the offload is enabled so that > DPDK app can trust the flow is checksum-correct; and if DPDK app > sends it throug

Re: [dpdk-dev] [PATCH v2 5/7] net/virtio_user: add vhost kernel support

2016-12-25 Thread Yuanhan Liu
On Fri, Dec 23, 2016 at 07:14:24AM +, Jianfeng Tan wrote: > + * Copyright(c) 2010-2016 Intel Corporation. All rights reserved. ^ I think it should be 2016. > +/* By default, vhost kernel module allows 64 regions, but DPDK allows > + * 256 segments. As a relief,

Re: [dpdk-dev] [PATCH v2 3/7] net/virtio_user: move vhost user specific code

2016-12-25 Thread Tan, Jianfeng
> -Original Message- > From: Yuanhan Liu [mailto:yuanhan@linux.intel.com] > Sent: Monday, December 26, 2016 2:28 PM > To: Tan, Jianfeng > Cc: dev@dpdk.org; Yigit, Ferruh; Liang, Cunming > Subject: Re: [PATCH v2 3/7] net/virtio_user: move vhost user specific code > > On Fri, Dec 23, 2

Re: [dpdk-dev] [PATCH v2 2/7] net/virtio_user: postpone DRIVER OK notification

2016-12-25 Thread Tan, Jianfeng
> -Original Message- > From: Yuanhan Liu [mailto:yuanhan@linux.intel.com] > Sent: Monday, December 26, 2016 2:27 PM > To: Tan, Jianfeng > Cc: dev@dpdk.org; Yigit, Ferruh; Liang, Cunming > Subject: Re: [PATCH v2 2/7] net/virtio_user: postpone DRIVER OK notification > > On Fri, Dec 23,

Re: [dpdk-dev] [PATCH v2 4/7] net/virtio_user: abstract virtio user backend ops

2016-12-25 Thread Yuanhan Liu
On Fri, Dec 23, 2016 at 07:14:23AM +, Jianfeng Tan wrote: > +typedef int (*vhost_setup_t)(struct virtio_user_dev *dev); > +typedef int (*vhost_send_request_t)(struct virtio_user_dev *dev, > + enum vhost_user_request req, > + void *

Re: [dpdk-dev] [PATCH v2 3/7] net/virtio_user: move vhost user specific code

2016-12-25 Thread Yuanhan Liu
On Fri, Dec 23, 2016 at 07:14:22AM +, Jianfeng Tan wrote: > To support vhost kernel as the backend of net_virtio_user in coming > patches, we move vhost_user specific structs and macros into > vhost_user.c, and only keep common definitions in vhost.h. Good. > Besides, remove VHOST_USER_MQ fea

Re: [dpdk-dev] [PATCH v2 2/7] net/virtio_user: postpone DRIVER OK notification

2016-12-25 Thread Yuanhan Liu
On Fri, Dec 23, 2016 at 07:14:21AM +, Jianfeng Tan wrote: > In driver probe phase, we obtain device information; and then virtio > driver will initialize device and stores info, like negotiated > features, in vhost_user layer; finally, vhost_user gets DRIVER_OK > notification from virtio driver

Re: [dpdk-dev] DPDK Accelaration Enhancement

2016-12-25 Thread Ant loves honey
Deepak, The .../doc/guides/cryptodevs/qat.rst is geared toward crypto and no mention of compression. I am trying to figure out what it takes to have compression support on DPDK such as new PMD driver, additional defines and/or API or chipset initialization since the Intel QAT can support compres

Re: [dpdk-dev] DPDK Accelaration Enhancement

2016-12-25 Thread Jain, Deepak K
HI Anthony, > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ant loves honey > Sent: Saturday, December 24, 2016 10:56 PM > To: dev@dpdk.org > Subject: [dpdk-dev] DPDK Accelaration Enhancement > > Currently DPDK has the crypto PMD (.../drivers/crypto/qat/) and e

Re: [dpdk-dev] [PATCH 04/18] net/ixgbe: restore n-tuple filter

2016-12-25 Thread Zhao1, Wei
Hi, Ferruh > -Original Message- > From: Yigit, Ferruh > Sent: Wednesday, December 21, 2016 12:59 AM > To: Zhao1, Wei ; dev@dpdk.org > Cc: Lu, Wenzhuo > Subject: Re: [dpdk-dev] [PATCH 04/18] net/ixgbe: restore n-tuple filter > > On 12/2/2016 10:43 AM, Wei Zhao wrote: > > From: wei zhao1

Re: [dpdk-dev] [PATCH 02/18] net/ixgbe: store flow director filter

2016-12-25 Thread Zhao1, Wei
Hi, Ferruh > -Original Message- > From: Yigit, Ferruh > Sent: Wednesday, December 21, 2016 12:58 AM > To: Zhao1, Wei ; dev@dpdk.org > Cc: Lu, Wenzhuo > Subject: Re: [dpdk-dev] [PATCH 02/18] net/ixgbe: store flow director filter > > On 12/2/2016 10:42 AM, Wei Zhao wrote: > > From: wei zh

Re: [dpdk-dev] [PATCH 01/18] net/ixgbe: store SYN filter

2016-12-25 Thread Zhao1, Wei
Hi, Ferruh > -Original Message- > From: Yigit, Ferruh > Sent: Wednesday, December 21, 2016 12:56 AM > To: Zhao1, Wei ; dev@dpdk.org > Cc: Lu, Wenzhuo > Subject: Re: [dpdk-dev] [PATCH 01/18] net/ixgbe: store SYN filter > > On 12/2/2016 10:42 AM, Wei Zhao wrote: > > From: wei zhao1 > > >

Re: [dpdk-dev] [PATCH v4] app/testpmd: supported offload capabilities query

2016-12-25 Thread Wu, Jingjing
> -Original Message- > From: Yang, Qiming > Sent: Friday, December 23, 2016 5:32 PM > To: dev@dpdk.org > Cc: Wu, Jingjing ; Yang, Qiming > > Subject: [PATCH v4] app/testpmd: supported offload capabilities query > > Add two new commands "show port cap " and "show port cap all"to > diapla

Re: [dpdk-dev] [PATCH v5 00/20] Decouple ethdev from PCI device

2016-12-25 Thread Thomas Monjalon
2016-12-23 16:57, Jan Blunck: > This repost addresses the review comments of Thomas Monjalon to completely > remove the ethdev helper to further decrease the coupling of the ethdev and > the eal layers. This required me to squash together all patches using the > rte_eth_dev_to_pci() helper into "De

Re: [dpdk-dev] [PATCH v3 02/12] eal/bus: introduce bus abstraction

2016-12-25 Thread Shreyansh Jain
Hi Jan, > -Original Message- > From: jblu...@gmail.com [mailto:jblu...@gmail.com] On Behalf Of Jan Blunck > Sent: Tuesday, December 20, 2016 6:47 PM > To: Shreyansh Jain > Cc: dev@dpdk.org; David Marchand ; Thomas Monjalon > ; Ferruh Yigit ; > jianbo@linaro.org > Subject: Re: [dpdk-de

[dpdk-dev] [PATCH v3 5/6] app/testpmd: add MACsec offload commands

2016-12-25 Thread Tiwei Bie
Below MACsec offload commands are added: - set macsec offload on encrypt on|off replay-protect on|off - set macsec offload off - set macsec sc tx|rx - set macsec sa tx|rx Also update the testpmd user guide. Signed-off-by: Tiwei Bie --- app/test-pmd/cmdline.c | 38

[dpdk-dev] [PATCH v3 3/6] ethdev: add MACsec offload capability flags

2016-12-25 Thread Tiwei Bie
If these flags are advertised by a PMD, the NIC supports the MACsec offload. The incoming MACsec traffics can be offloaded transparently after the MACsec offload is configured correctly by the application. And the application can set the PKT_TX_MACSEC flag in mbufs to enable the MACsec offload for

[dpdk-dev] [PATCH v3 6/6] doc: add ixgbe specific APIs

2016-12-25 Thread Tiwei Bie
Add information about the new ixgbe PMD APIs in the release note. Signed-off-by: Tiwei Bie Acked-by: John McNamara --- doc/guides/rel_notes/release_17_02.rst | 5 + 1 file changed, 5 insertions(+) diff --git a/doc/guides/rel_notes/release_17_02.rst b/doc/guides/rel_notes/release_17_02.rst

[dpdk-dev] [PATCH v3 4/6] net/ixgbe: add MACsec offload support

2016-12-25 Thread Tiwei Bie
MACsec (or LinkSec, 802.1AE) is a MAC level encryption/authentication scheme defined in IEEE 802.1AE that uses symmetric cryptography. This commit adds the MACsec offload support for ixgbe. Signed-off-by: Tiwei Bie --- drivers/net/ixgbe/ixgbe_ethdev.c| 481 +++

[dpdk-dev] [PATCH v3 0/6] Add MACsec offload support for ixgbe

2016-12-25 Thread Tiwei Bie
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 s

[dpdk-dev] [PATCH v3 2/6] ethdev: add event type for MACsec

2016-12-25 Thread Tiwei Bie
This commit adds a below event type: - RTE_ETH_EVENT_MACSEC This event will occur when the PN counter in a MACsec connection reaches the exhaustion threshold. Signed-off-by: Tiwei Bie --- lib/librte_ether/rte_ethdev.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_ether/rte_eth

[dpdk-dev] [PATCH v3 1/6] mbuf: add flag for MACsec

2016-12-25 Thread Tiwei Bie
Add a new Tx flag in mbuf, that can be set by applications to enable the MACsec offload for a packet to be transmitted. Signed-off-by: Tiwei Bie --- doc/guides/rel_notes/release_17_02.rst | 5 + lib/librte_mbuf/rte_mbuf.c | 2 ++ lib/librte_mbuf/rte_mbuf.h | 6 ++