Re: [dpdk-dev] [EXT] [PATCH v3 1/3] eal/arm64: add 128-bit atomic compare exchange

2019-07-18 Thread Jerin Jacob Kollanukkaran
> -Original Message- > From: Phil Yang > Sent: Friday, June 28, 2019 1:42 PM > To: dev@dpdk.org > Cc: tho...@monjalon.net; Jerin Jacob Kollanukkaran ; > hemant.agra...@nxp.com; honnappa.nagaraha...@arm.com; > gavin...@arm.com; n...@arm.com; gage.e...@intel.com > Subject: [EXT] [PATCH v3 1/

[dpdk-dev] [PATCH 6/7] net/bnxt: remove unnecessary interrupt disable

2019-07-18 Thread Ajit Khaparde
Remove an unnecessary rte_intr_disable() call to disable interrupt during device init. Fixes: c09f57b49c13 ("net/bnxt: add start/stop/link update operations") Cc: sta...@dpdk.org Signed-off-by: Kalesh AP Signed-off-by: Ajit Khaparde --- drivers/net/bnxt/bnxt_ethdev.c | 3 --- 1 file changed, 3

[dpdk-dev] [PATCH 7/7] doc: update release information for bnxt

2019-07-18 Thread Ajit Khaparde
Update the HWRM version to the latest version used by the bnxt PMD from 1.10.0.74 to 1.10.0.91 Signed-off-by: Ajit Khaparde --- doc/guides/rel_notes/release_19_08.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/guides/rel_notes/release_19_08.rst b/doc/guides/rel_note

[dpdk-dev] [PATCH 5/7] net/bnxt: disable vector mode Tx with VLAN offload

2019-07-18 Thread Ajit Khaparde
From: Lance Richardson The vector mode transmit path does not currently support VLAN tag insertion, so we need to disable vector transmit when transmit VLAN insertion offload is enabled. Fixes: bc4a000f2f53 ("net/bnxt: implement SSE vector mode") Reviewed-by: Ajit Khaparde Signed-off-by: Lance

[dpdk-dev] [PATCH 3/7] net/bnxt: fix receive interrupt vector

2019-07-18 Thread Ajit Khaparde
From: Stephen Hemminger The receive interrupt vector should be offset by the constant RTE_INTR_VEC_RXTX_OFFSET; otherwise setting up some queue interrupts will fail. Fixes: 1fe427fd08ee ("net/bnxt: support enable/disable interrupt") Cc: sta...@dpdk.org Signed-off-by: Stephen Hemminger Reviewed

[dpdk-dev] [PATCH 0/7] bnxt patches

2019-07-18 Thread Ajit Khaparde
Patchset based after an earlier submission https://patchwork.dpdk.org/patch/56690/ This set mostly contains bug fixes, an update to the bnxt.rst doc and a adds a VF PCI device ID for Thor based network controller. Please apply. Ajit Khaparde (2): net/bnxt: remove unnecessary interrupt disable

[dpdk-dev] [PATCH 2/7] net/bnxt: use correct number of RSS contexts for thor

2019-07-18 Thread Ajit Khaparde
From: Santoshkumar Karanappa Rastapur BCM57500-based adapters use a variable number of RSS contexts depending upon the number of receive rings in use. The current implementation is erroneously using the maximum possible number of RSS contexts instead of the actual number allocated when setting up

[dpdk-dev] [PATCH 1/7] net/bnxt: add new device id

2019-07-18 Thread Ajit Khaparde
From: Kalesh AP Added support for new thor device. Signed-off-by: Kalesh AP Signed-off-by: Ajit Khaparde --- drivers/net/bnxt/bnxt_ethdev.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c index 87

[dpdk-dev] [PATCH 4/7] net/bnxt: fix interrupt rearm logic

2019-07-18 Thread Ajit Khaparde
From: Rahul Gupta Rearm will intimate hardware that current interrupts are processed and it can continue to send more. Fixes: 1fe427fd08ee ("net/bnxt: support enable/disable interrupt") Cc: sta...@dpdk.org Signed-off-by: Rahul Gupta Signed-off-by: Ajit Khaparde --- drivers/net/bnxt/bnxt_rxq.

Re: [dpdk-dev] [Bug 320] mlx4: info get fails in secondary process

2019-07-18 Thread Slava Ovsiienko
Is it really needed for mlx4? mlx4 uses neither Netlink nor shared context. With best regards, Slava > -Original Message- > From: dev On Behalf Of Stephen Hemminger > Sent: Saturday, July 13, 2019 0:04 > To: bugzi...@dpdk.org > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [Bug 320] mlx4: i

Re: [dpdk-dev] [DPDK] net/e1000: fix buffer overrun while i219 processing DMA transactions

2019-07-18 Thread Zhang, Qi Z
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Xiao Zhang > Sent: Monday, July 8, 2019 9:37 PM > To: dev@dpdk.org > Cc: Lu, Wenzhuo ; Zhao1, Wei > ; Zhang, Xiao > Subject: [dpdk-dev] [DPDK] net/e1000: fix buffer overrun while i219 > processing DMA transaction

[dpdk-dev] [PATCH] net/ice: fix unsafe tailq element removal

2019-07-18 Thread Beilei Xing
TAILQ_FOREACH macro is not safe to remove elements during iterating tailq lists. Replace it with TAILQ_FOREACH_SAFE. Fixes: d76116a4678f ("net/ice: add generic flow API") Signed-off-by: Beilei Xing --- drivers/net/ice/ice_generic_flow.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)

Re: [dpdk-dev] [PATCH] net/mlx5: fix setting of item flags bitmap

2019-07-18 Thread Jack Min
On Thu, 19-07-18, 22:42, Dekel Peled wrote: > In functions flow_dv_translate() and flow_dv_validate(), the flow > items are scanned and each item is marked in item_flags bitmap. > The code handling some of the items was ported from another project, > where items are marked in a slightley different

[dpdk-dev] [PATCH 2/2] Revert "net/mlx5: fix master device Netlink socket sharing"

2019-07-18 Thread Viacheslav Ovsiienko
This reverts commit e28111ac9864af09e826241a915dfff87a9c00ad. The netlink requests are replaced by ifindex caching and not needed anymore. Signed-off-by: Viacheslav Ovsiienko Fixes: e28111ac9864 ("net/mlx5: fix master device Netlink socket sharing") --- drivers/net/mlx5/mlx5.h| 6 ---

[dpdk-dev] [PATCH 1/2] net/mlx5: cache the associated network device ifindex

2019-07-18 Thread Viacheslav Ovsiienko
The associated device index is retrieved via Netlink request to underlying Infiniband device driver. This network device index is permanent throughout the lifetime of device. We do not spawn the rte_eth_dev ports without associated network device, and if network device is being unbound we get the r

[dpdk-dev] [PATCH 0/2] net/mlx5: cache the associated network device ifindex

2019-07-18 Thread Viacheslav Ovsiienko
In mlx5 PMD the associated device index is retrieved via Netlink request to underlying Infiniband device driver. This network device index is permanent throughout the lifetime of device. We do not spawn the rte_eth_dev ports without associated network device, and if network device is being unbound

Re: [dpdk-dev] [v4] net/i40e: fix SFP X722 not work with FW4.16

2019-07-18 Thread Zhang, Qi Z
> -Original Message- > From: Wang, Haiyue > Sent: Friday, July 19, 2019 10:18 AM > To: Zhang, Xiao ; dev@dpdk.org > Cc: Xing, Beilei ; Zhang, Qi Z ; > sta...@dpdk.org > Subject: RE: [v4] net/i40e: fix SFP X722 not work with FW4.16 > > > -Original Message- > > From: Zhang, Xiao >

Re: [dpdk-dev] [EXT] [PATCH v3 3/3] eal/stack: enable lock-free stack for aarch64

2019-07-18 Thread Phil Yang (Arm Technology China)
> -Original Message- > From: Jerin Jacob Kollanukkaran > Sent: Friday, July 19, 2019 1:03 PM > To: Eads, Gage ; Phil Yang (Arm Technology China) > ; dev@dpdk.org > Cc: tho...@monjalon.net; hemant.agra...@nxp.com; Honnappa > Nagarahalli ; Gavin Hu (Arm Technology > China) ; nd > Subject: R

Re: [dpdk-dev] [EXT] [PATCH v5 2/7] cryptodev: add cipher field to RSA op

2019-07-18 Thread Kusztal, ArkadiuszX
> > -- > > Asymmetric nature of RSA algorithm suggest to use additional field for > > output. In place operations still can be done by setting cipher and > > message pointers with the same memory address. > > > > Signed-off-by: Are

Re: [dpdk-dev] [dpdk-stable] [PATCH] app/testpmd: fix display capabilities routine

2019-07-18 Thread Slava Ovsiienko
Hi, Ferruh Please, see below > -Original Message- > From: Ferruh Yigit > Sent: Wednesday, July 17, 2019 17:56 > To: Slava Ovsiienko ; dev@dpdk.org > Cc: bernard.iremon...@intel.com; sta...@dpdk.org > Subject: Re: [dpdk-stable] [PATCH] app/testpmd: fix display capabilities > routine > >

Re: [dpdk-dev] [EXT] [PATCH v3 3/3] eal/stack: enable lock-free stack for aarch64

2019-07-18 Thread Jerin Jacob Kollanukkaran
> > Can we remove this all #ifdef clutter by adding the following > > > > $ git diff > > diff --git a/lib/librte_stack/rte_stack_lf.h > > b/lib/librte_stack/rte_stack_lf.h index f5581f0c2..46af08b83 100644 > > --- a/lib/librte_stack/rte_stack_lf.h > > +++ b/lib/librte_stack/rte_stack_lf.h > > @@ -5

Re: [dpdk-dev] [EXT] [PATCH v5 0/7] Rework API for RSA algorithm in asymmetric crypto

2019-07-18 Thread Shally Verma
> -Original Message- > From: Arek Kusztal > Sent: Thursday, July 18, 2019 9:40 PM > To: dev@dpdk.org > Cc: akhil.go...@nxp.com; fiona.tr...@intel.com; Shally Verma > ; damianx.no...@intel.com; Arek Kusztal > > Subject: [EXT] [PATCH v5 0/7] Rework API for RSA algorithm in asymmetric > c

Re: [dpdk-dev] [EXT] [PATCH v5 2/7] cryptodev: add cipher field to RSA op

2019-07-18 Thread Shally Verma
> -Original Message- > From: Arek Kusztal > Sent: Thursday, July 18, 2019 9:40 PM > To: dev@dpdk.org > Cc: akhil.go...@nxp.com; fiona.tr...@intel.com; Shally Verma > ; damianx.no...@intel.com; Arek Kusztal > > Subject: [EXT] [PATCH v5 2/7] cryptodev: add cipher field to RSA op > > Ext

Re: [dpdk-dev] [EXT] [PATCH v3 3/3] eal/stack: enable lock-free stack for aarch64

2019-07-18 Thread Eads, Gage
> -Original Message- > From: Jerin Jacob Kollanukkaran [mailto:jer...@marvell.com] > Sent: Thursday, July 18, 2019 11:18 PM > To: Phil Yang ; dev@dpdk.org > Cc: tho...@monjalon.net; hemant.agra...@nxp.com; > honnappa.nagaraha...@arm.com; gavin...@arm.com; n...@arm.com; Eads, > Gage > Su

Re: [dpdk-dev] ConnectX-4/mlx5 crashes around rxq_cqe_comp_en?

2019-07-18 Thread Yasuhiro Ohara
Hi Slava, Thank you, I will file it. regards, Yasu From: Slava Ovsiienko Subject: Re: [dpdk-dev] ConnectX-4/mlx5 crashes around rxq_cqe_comp_en? Date: Fri, 19 Jul 2019 03:53:54 + Message-ID: > Hi, Yasuhiro > > Could you, please, create the ticket in Bugzilla.dpdk.org to store the > d

Re: [dpdk-dev] [PATCH] net/mlx5: correct spelling mistakes in comments

2019-07-18 Thread Slava Ovsiienko
> -Original Message- > From: Dekel Peled > Sent: Thursday, July 18, 2019 22:41 > To: Yongseok Koh ; Slava Ovsiienko > ; Shahaf Shuler > Cc: Ori Kam ; dev@dpdk.org; sta...@dpdk.org > Subject: [PATCH] net/mlx5: correct spelling mistakes in comments > > Some spelling mistakes were found in

Re: [dpdk-dev] [PATCH] net/mlx5: fix setting of item flags bitmap

2019-07-18 Thread Slava Ovsiienko
> -Original Message- > From: Dekel Peled > Sent: Thursday, July 18, 2019 22:42 > To: Yongseok Koh ; Slava Ovsiienko > ; Shahaf Shuler > Cc: Jack Min ; Ori Kam ; > dev@dpdk.org > Subject: [PATCH] net/mlx5: fix setting of item flags bitmap > > In functions flow_dv_translate() and flow_dv_

Re: [dpdk-dev] [PATCH] net/mlx5: fix define of added tunnel layer bit

2019-07-18 Thread Slava Ovsiienko
> -Original Message- > From: Dekel Peled > Sent: Thursday, July 18, 2019 22:42 > To: Yongseok Koh ; Slava Ovsiienko > ; Shahaf Shuler > Cc: Jack Min ; Ori Kam ; > dev@dpdk.org > Subject: [PATCH] net/mlx5: fix define of added tunnel layer bit > > The new define MLX5_FLOW_LAYER_IPIP is usi

Re: [dpdk-dev] [PATCH] net/mlx4: correct spelling mistake in comment

2019-07-18 Thread Slava Ovsiienko
> -Original Message- > From: dev On Behalf Of Dekel Peled > Sent: Thursday, July 18, 2019 22:37 > To: Matan Azrad ; Shahaf Shuler > > Cc: Ori Kam ; dev@dpdk.org > Subject: [dpdk-dev] [PATCH] net/mlx4: correct spelling mistake in comment > > A spelling mistake was found in comment. > This

Re: [dpdk-dev] [EXT] [PATCH v3 3/3] eal/stack: enable lock-free stack for aarch64

2019-07-18 Thread Jerin Jacob Kollanukkaran
> -Original Message- > From: Phil Yang > Sent: Friday, June 28, 2019 1:42 PM > To: dev@dpdk.org > Cc: tho...@monjalon.net; Jerin Jacob Kollanukkaran ; > hemant.agra...@nxp.com; honnappa.nagaraha...@arm.com; > gavin...@arm.com; n...@arm.com; gage.e...@intel.com > Subject: [EXT] [PATCH v3 3/

Re: [dpdk-dev] [EXT] [PATCH v3 04/11] test: add cipher field to RSA test

2019-07-18 Thread Shally Verma
... > Comment under rte_crypto_rsa_op_param.cipher: > Pointer to input data >* - to be decrypted for RSA private decrypt. > > Pointer to output data >* - for RSA public encrypt. > In this case the underlying array should have been > allocated with >

Re: [dpdk-dev] [EXT] [PATCH v3 2/3] test/atomic: add 128b compare and swap test

2019-07-18 Thread Jerin Jacob Kollanukkaran
> -Original Message- > From: Phil Yang > Sent: Friday, June 28, 2019 1:42 PM > To: dev@dpdk.org > Cc: tho...@monjalon.net; Jerin Jacob Kollanukkaran ; > hemant.agra...@nxp.com; honnappa.nagaraha...@arm.com; > gavin...@arm.com; n...@arm.com; gage.e...@intel.com > Subject: [EXT] [PATCH v3 2/

Re: [dpdk-dev] ConnectX-4/mlx5 crashes around rxq_cqe_comp_en?

2019-07-18 Thread Slava Ovsiienko
Hi, Yasuhiro Could you, please, create the ticket in Bugzilla.dpdk.org to store the details? The Rx CQE compression can be disabled with specifying "rxq_cqe_comp_en=0". WBR, Slava > -Original Message- > From: dev On Behalf Of Yasuhiro Ohara > Sent: Friday, July 19, 2019 5:20 > To: dev@d

Re: [dpdk-dev] [EXT] [PATCH] net/octeontx: use logtype_init for failed probe

2019-07-18 Thread Jerin Jacob Kollanukkaran
> -Original Message- > From: Stephen Hemminger > Sent: Wednesday, July 17, 2019 12:18 AM > To: Jerin Jacob Kollanukkaran > Cc: dev@dpdk.org > Subject: [EXT] [PATCH] net/octeontx: use logtype_init for failed probe > All log messages should use driver logtype. RTE_LOGTYPE_PMD is planned

[dpdk-dev] [PATCH v2] net/i40e: fix request queue fail in VF

2019-07-18 Thread taox . zhu
From: Zhu Tao When the VF configuration is larger than the number of queues reserved by PF, VF sends the request queue command through admin queue. When PF received this command, it may reset the VF and send a notification before resetting. If this notification is read by the timed task alarm, Ta

[dpdk-dev] [PATCH] net/octeontx2: add ipv6 ext parsing support

2019-07-18 Thread kirankumark
From: Kiran Kumar K Adding support for ipv6_ext header parsing in the octeontx2 flow. Signed-off-by: Kiran Kumar K --- doc/guides/nics/octeontx2.rst | 6 -- drivers/net/octeontx2/otx2_flow_parse.c | 7 +++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/doc/gu

Re: [dpdk-dev] [PATCH] net/mlx5: fix define of added tunnel layer bit

2019-07-18 Thread Jack Min
On Thu, 19-07-18, 22:41, Dekel Peled wrote: > The new define MLX5_FLOW_LAYER_IPIP is using the same value as > existing define MLX5_FLOW_LAYER_GRE_KEY. > This patch updates the values to be in order. > > Fixes: 1b5624cd9062 ("net/mlx5: support IP-in-IP tunnel") > Signed-off-by: Dekel Peled > ---

Re: [dpdk-dev] ConnectX-4/mlx5 crashes around rxq_cqe_comp_en?

2019-07-18 Thread Yasuhiro Ohara
The same goes with DPDK-19.05 too. When crash happens, mcqe_n == t_pkt->data_len == 124. struct rte_mbuf **elts (which seems to be prepared somewhere) looks like it's supposed to contain valid mbufs, but (when under a significant load?) it doesn't. (gdb) p/x (void*[124])elts[0] $31 = {0x1d0bd0

Re: [dpdk-dev] [v4] net/i40e: fix SFP X722 not work with FW4.16

2019-07-18 Thread Wang, Haiyue
> -Original Message- > From: Zhang, Xiao > Sent: Friday, July 19, 2019 19:00 > To: dev@dpdk.org > Cc: Xing, Beilei ; Wang, Haiyue > ; Zhang, Qi Z > ; Zhang, Xiao ; sta...@dpdk.org > Subject: [v4] net/i40e: fix SFP X722 not work with FW4.16 > > The code checked the NVM API version of FW to

[dpdk-dev] [v4] net/i40e: fix SFP X722 not work with FW4.16

2019-07-18 Thread Xiao Zhang
The code checked the NVM API version of FW to check if support adminq operation, when version is 1.7 or above adminq operation is support and the adminq flag will be set. The code will use adminq to set TPID if the flags set or to use register. The NVM API version of SFP X722 old versions are low

[dpdk-dev] [v3] net/i40e: fix SFP X722 not work with FW4.16

2019-07-18 Thread Xiao Zhang
set_switch_config adminq operation was used to set TPID for SFP X722 with FW4.16, but adminq is not supported which lead to failure. Since all FW versions of SFP X722 do not support adminq, disable adminq flag to use resigter setting to make it work. Fixes: 73cd7d6dc8e1 ("net/i40e: use set switch

Re: [dpdk-dev] [v2] net/i40e: fix SFP X722 not work with FW4.16

2019-07-18 Thread Zhang, Xiao
> -Original Message- > From: Wang, Haiyue > Sent: Friday, July 19, 2019 9:02 AM > To: Zhang, Qi Z ; Zhang, Xiao ; > dev@dpdk.org > Cc: Xing, Beilei > Subject: RE: [v2] net/i40e: fix SFP X722 not work with FW4.16 > > > -Original Message- > > From: Zhang, Qi Z > > Sent: Friday, J

Re: [dpdk-dev] [v2] net/i40e: fix SFP X722 not work with FW4.16

2019-07-18 Thread Wang, Haiyue
> -Original Message- > From: Zhang, Qi Z > Sent: Friday, July 19, 2019 08:57 > To: Zhang, Xiao ; dev@dpdk.org > Cc: Xing, Beilei ; Wang, Haiyue > Subject: RE: [v2] net/i40e: fix SFP X722 not work with FW4.16 > > > > > -Original Message- > > From: Zhang, Xiao > > Sent: Friday, Ju

Re: [dpdk-dev] [PATCH v2] net/i40e: add return check coverity

2019-07-18 Thread Zhang, Qi Z
> -Original Message- > From: Xing, Beilei > Sent: Friday, July 19, 2019 8:54 AM > To: Lipiec, Herakliusz ; Zhang, Qi Z > > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: RE: [PATCH v2] net/i40e: add return check coverity > > > > > -Original Message- > > From: Lipiec, Herakliusz

Re: [dpdk-dev] [v2] net/i40e: fix SFP X722 not work with FW4.16

2019-07-18 Thread Zhang, Qi Z
> -Original Message- > From: Zhang, Xiao > Sent: Friday, July 19, 2019 6:52 AM > To: dev@dpdk.org > Cc: Xing, Beilei ; Wang, Haiyue > ; Zhang, Qi Z ; Zhang, Xiao > > Subject: [v2] net/i40e: fix SFP X722 not work with FW4.16 Please add fix line and Cc stable. Fixes: 73cd7d6dc8e1 ("net/i

Re: [dpdk-dev] [PATCH v2] net/i40e: add return check coverity

2019-07-18 Thread Xing, Beilei
> -Original Message- > From: Lipiec, Herakliusz > Sent: Thursday, July 18, 2019 10:45 PM > To: Xing, Beilei ; Zhang, Qi Z > Cc: dev@dpdk.org; Lipiec, Herakliusz ; > sta...@dpdk.org > Subject: [PATCH v2] net/i40e: add return check coverity > > add return check for i40e_vsi_delete_mac ca

Re: [dpdk-dev] [PATCH 3/3] net/ice: add flow ipv6 tc support

2019-07-18 Thread Zhang, Qi Z
> -Original Message- > From: Yang, Qiming > Sent: Thursday, July 18, 2019 11:06 AM > To: Wang, Ying A ; Zhang, Qi Z > > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: RE: [PATCH 3/3] net/ice: add flow ipv6 tc support > > > > -Original Message- > From: Wang, Ying A > Sent: Thurs

Re: [dpdk-dev] [PATCH 2/3] net/ice: fix flow action validation

2019-07-18 Thread Zhang, Qi Z
> -Original Message- > From: Yang, Qiming > Sent: Thursday, July 18, 2019 11:07 AM > To: Wang, Ying A ; Zhang, Qi Z > > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: RE: [PATCH 2/3] net/ice: fix flow action validation > > > > -Original Message- > From: Wang, Ying A > Sent: Thu

Re: [dpdk-dev] [PATCH 1/3] net/ice: fix flow get inputset check

2019-07-18 Thread Zhang, Qi Z
> -Original Message- > From: Wang, Ying A > Sent: Thursday, July 18, 2019 10:52 AM > To: Yang, Qiming ; Zhang, Qi Z > > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: RE: [PATCH 1/3] net/ice: fix flow get inputset check > > > > > -Original Message- > > From: Yang, Qiming > > Se

Re: [dpdk-dev] [PATCH] net/iavf: fix Rx bytes stats

2019-07-18 Thread Zhang, Qi Z
> -Original Message- > From: Stephen Hemminger [mailto:step...@networkplumber.org] > Sent: Wednesday, July 17, 2019 12:56 PM > To: Zhang, Qi Z > Cc: Wu, Jingjing ; Lu, Wenzhuo > ; dev@dpdk.org; sta...@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] net/iavf: fix Rx bytes stats > > On Wed, 1

Re: [dpdk-dev] [PATCH v5 06/11] sched: improve doxygen comments

2019-07-18 Thread Dumitrescu, Cristian
> -Original Message- > From: Singh, Jasvinder > Sent: Wednesday, July 17, 2019 4:43 PM > To: dev@dpdk.org > Cc: Dumitrescu, Cristian ; Tovar, AbrahamX > ; Krakowiak, LukaszX > > Subject: [PATCH v5 06/11] sched: improve doxygen comments > > Improve doxygen comments. > > Signed-off-by:

Re: [dpdk-dev] [PATCH v5 02/11] sched: add config flexibility to tc queue sizes

2019-07-18 Thread Dumitrescu, Cristian
> -Original Message- > From: Singh, Jasvinder > Sent: Wednesday, July 17, 2019 4:43 PM > To: dev@dpdk.org > Cc: Dumitrescu, Cristian ; Tovar, AbrahamX > ; Krakowiak, LukaszX > > Subject: [PATCH v5 02/11] sched: add config flexibility to tc queue sizes > > Add support for zero queue siz

Re: [dpdk-dev] [PATCH v5 00/11] sched: feature enhancements

2019-07-18 Thread Dumitrescu, Cristian
> -Original Message- > From: Singh, Jasvinder > Sent: Wednesday, July 17, 2019 4:43 PM > To: dev@dpdk.org > Cc: Dumitrescu, Cristian > Subject: [PATCH v5 00/11] sched: feature enhancements > > This patchset refactors the dpdk qos sched library to allow flexibile > configuration of the

Re: [dpdk-dev] [PATCH v3 0/3] cfgfile: cleanup patches

2019-07-18 Thread Thomas Monjalon
18/07/2019 19:18, Stephen Hemminger: > Small cleanups to cfgfile library. > > Stephen Hemminger (3): > cfgfile: remove unnecessary initialization > cfgfile: use RTE_LOG for errors > cfgfile: use calloc > > lib/Makefile | 1 + > lib/librte_cfgfile/rte_cfgfile.c | 55 +++

Re: [dpdk-dev] [PATCH v3 2/3] cfgfile: use RTE_LOG for errors

2019-07-18 Thread Thomas Monjalon
18/07/2019 19:18, Stephen Hemminger: > In general, DPDK libraries to not print error messages to > stdout because that is often redirected to /dev/null for daemons. > This patch changes cfgfile library to use RTE_LOG with its > own type. > > Signed-off-by: Stephen Hemminger > --- > lib/Makefile

Re: [dpdk-dev] [PATCH] maintainers: add Andrew for next-net tree

2019-07-18 Thread Thomas Monjalon
17/07/2019 22:42, Andrew Rybchenko: > On 7/17/19 8:50 PM, Ferruh Yigit wrote: > > Adding Andrew as co-maintainer to next-net sub-tree. > > > > Signed-off-by: Ferruh Yigit > > --- > > --- a/MAINTAINERS > > +++ b/MAINTAINERS > > Next-net Tree > > M: Ferruh Yigit > > +M: Andrew Rybchenko > > T:

Re: [dpdk-dev] [PATCH] mk: fix output directory name when compiling with custom kernel header dir

2019-07-18 Thread Thomas Monjalon
18/07/2019 16:03, Herakliusz Lipiec: > When building dpdk with differnt kernel headers by specifying > RTE_KERNELDIR igb_uio is compiled to directory with a name of the > version of kernel thats running on the system instead of the one that > dpdk is actually compiled against. Fixed by replacing ha

Re: [dpdk-dev] [PATCH v2] mempool/octeontx2: fix possible ABI break with force inline

2019-07-18 Thread Thomas Monjalon
> > From: Pavan Nikhilesh > > > > Since direct register access is used in npa_lf_aura_op_alloc_bulk() use > > __rte_noinline instead of __rte_always_inline to preserve ABI. > > Based on the compiler npa_lf_aura_op_alloc_bulk might be inlined > > differently which may lead to undefined behaviour d

Re: [dpdk-dev] [PATCH] doc: update Marvell OCTEON TX2 LBK support

2019-07-18 Thread Thomas Monjalon
17/07/2019 17:55, jer...@marvell.com: > From: Jerin Jacob > > Add LBK HW block abstraction details and the application > usage models. > > This patch also updates missing DPI HW block to DPDK > subsystem mapping as well. > > Signed-off-by: Jerin Jacob Applied, thanks

[dpdk-dev] [PATCH] doc: add deprecation notice about changes to ethernet structures

2019-07-18 Thread Stephen Hemminger
Tell users about upcoming changes to rte_ether_addr and rte_ether_header. Signed-off-by: Stephen Hemminger --- doc/guides/rel_notes/deprecation.rst | 9 + 1 file changed, 9 insertions(+) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index a779

Re: [dpdk-dev] [PATCH v3] doc: fix PDF build of bbdev prog guide

2019-07-18 Thread Thomas Monjalon
19/07/2019 00:01, Thomas Monjalon: > Some machine (like on dpdk.org) may fail to build the prog guide PDF > because of a table characher being "+" instead of "|". > > Some figure references are also fixed with automatic numbering. > > Fixes: 3f3f608142cf ("doc: update bbdev guide for 5GNR operati

[dpdk-dev] [PATCH v3] doc: fix PDF build of bbdev prog guide

2019-07-18 Thread Thomas Monjalon
Some machine (like on dpdk.org) may fail to build the prog guide PDF because of a table characher being "+" instead of "|". Some figure references are also fixed with automatic numbering. Fixes: 3f3f608142cf ("doc: update bbdev guide for 5GNR operations") Signed-off-by: Thomas Monjalon Signed-o

Re: [dpdk-dev] [PATCH] doc: fix PDF build of bbdev prog guide

2019-07-18 Thread Thomas Monjalon
18/07/2019 08:24, Nicolas Chautru: > Some machine (like on dpdk.org) may fail to build the prog guide PDF because > of the complex table inserted in the bbdev chapter. > > Fixes: 3f3f608142cf ("doc: update bbdev guide for 5GNR operations") > > Signed-off-by: Nicolas Chautru > --- > --- a/doc/gu

Re: [dpdk-dev] [PATCH] kni: fix possible buffer overflow

2019-07-18 Thread Thomas Monjalon
18/07/2019 23:24, Thomas Monjalon: > 11/07/2019 17:33, Stephen Hemminger: > > On Thu, 11 Jul 2019 13:35:07 +0100 > > Ferruh Yigit wrote: > > > > > 'kni_net_rx_lo_fifo()' can get segmented buffers, using 'pkt_len' for > > > that case will be wrong and some values can cause buffer overflow > > > in

Re: [dpdk-dev] [PATCH] kni: fix possible buffer overflow

2019-07-18 Thread Thomas Monjalon
11/07/2019 17:33, Stephen Hemminger: > On Thu, 11 Jul 2019 13:35:07 +0100 > Ferruh Yigit wrote: > > > 'kni_net_rx_lo_fifo()' can get segmented buffers, using 'pkt_len' for > > that case will be wrong and some values can cause buffer overflow > > in destination mbuf data. > > > > Signed-off-by: F

Re: [dpdk-dev] [PATCH 0/2] fix segfault seen with performance-thread example

2019-07-18 Thread Thomas Monjalon
15/07/2019 17:39, Erik Gabriel Carrillo: > A crash occurs in the examples/performance-thread/l3fwd-thread when it calls > into rte_timer_manage() from the LThread library it utilizes. This happens > because the application omitted a call to rte_timer_subsystem_init(), which > leaves a pointer set

Re: [dpdk-dev] [PATCH v2 0/2] Few fixes for ip_fragmentation

2019-07-18 Thread Thomas Monjalon
18/07/2019 12:11, Konstantin Ananyev: > v1 -> v2 > As requested, split one patch into two > > Konstantin Ananyev (2): > examples/ip_fragmentation: fix fail to send un-fragmented packets > examples/ip_fragmentation: fix set IPv4 for unknown packet types Applied, thanks

Re: [dpdk-dev] [dpdk-stable] [PATCH v1] examples/tep_term: remove the duplicate device state definition

2019-07-18 Thread Thomas Monjalon
16/07/2019 19:04, Haiyue Wang: > The state of virtio device has been defined in both header file and > source file, keep the definition in header file for public use. > > Fixes: a50245ede72a ("examples/tep_term: initialize VXLAN sample") > Cc: sta...@dpdk.org > > Signed-off-by: Haiyue Wang Appl

Re: [dpdk-dev] [v2 0/3] examples: fix use of internal struct

2019-07-18 Thread Thomas Monjalon
> Marcin Zapolski (3): > examples/l3fwd*: fix use of internal struct > examples/ip_fragmentation: fix use of internal struct > examples/ipsec-secgw: fix use of internal struct Applied, thanks

[dpdk-dev] [PATCH] net/mlx5: fix setting of item flags bitmap

2019-07-18 Thread Dekel Peled
In functions flow_dv_translate() and flow_dv_validate(), the flow items are scanned and each item is marked in item_flags bitmap. The code handling some of the items was ported from another project, where items are marked in a slightley different manner. This patch fixes the setting of items in b

[dpdk-dev] [PATCH] net/mlx5: fix NVGRE matching

2019-07-18 Thread Dekel Peled
NVGRE has a GRE header with c_rsvd0_ver value 0x2000 and protocol value 0x6558. These should be matched when item_nvgre is provided. This patch adds validation function of NVGRE item, to validate that the input values, if exist, are as required. It also updates the translate function of NVGRE item

[dpdk-dev] [PATCH] net/mlx5: fix define of added tunnel layer bit

2019-07-18 Thread Dekel Peled
The new define MLX5_FLOW_LAYER_IPIP is using the same value as existing define MLX5_FLOW_LAYER_GRE_KEY. This patch updates the values to be in order. Fixes: 1b5624cd9062 ("net/mlx5: support IP-in-IP tunnel") Signed-off-by: Dekel Peled --- drivers/net/mlx5/mlx5_flow.h | 4 ++-- 1 file changed, 2

[dpdk-dev] [PATCH] net/mlx5: correct spelling mistakes in comments

2019-07-18 Thread Dekel Peled
Some spelling mistakes were found in comments. This patch fixes them. Cc: sta...@dpdk.org Signed-off-by: Dekel Peled --- drivers/net/mlx5/mlx5.h | 2 +- drivers/net/mlx5/mlx5_flow.c | 2 +- drivers/net/mlx5/mlx5_rxq.c | 2 +- drivers/net/mlx5/mlx5_txq.c | 2 +- 4 files changed, 4 inserti

[dpdk-dev] [PATCH] net/mlx4: correct spelling mistake in comment

2019-07-18 Thread Dekel Peled
A spelling mistake was found in comment. This patch fixes it. Signed-off-by: Dekel Peled --- drivers/net/mlx4/mlx4.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/mlx4/mlx4.h b/drivers/net/mlx4/mlx4.h index cd0d637..9bdbc6d 100644 --- a/drivers/net/mlx4/mlx4.h +

[dpdk-dev] [PATCH v2] net: be more restrictive in accepted ether string formats

2019-07-18 Thread Stephen Hemminger
The current ether_unformat_addr code was based off of BSD ether_aton. That version changed what was allowed by the cmdline ether address parser. For example, it allows dropping leading zeros. Change the code to be more restrictive and only allow the fully expanded standard formats. Bugzilla ID: 3

Re: [dpdk-dev] [RFC] net: be more restrictive in ether_unformat_addr

2019-07-18 Thread Stephen Hemminger
On Thu, 18 Jul 2019 09:47:03 +0200 Olivier Matz wrote: > Hi, > > I'm fine with a more strict version like you proposed here. I checked > that the cmdline tests pass. > > Few minor comments below. > > On Wed, Jul 17, 2019 at 11:49:45AM -0700, Stephen Hemminger wrote: > > The current code acts m

[dpdk-dev] [PATCH v3 3/3] cfgfile: use calloc

2019-07-18 Thread Stephen Hemminger
Better to use calloc when allocating arrays. Signed-off-by: Stephen Hemminger --- lib/librte_cfgfile/rte_cfgfile.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/librte_cfgfile/rte_cfgfile.c b/lib/librte_cfgfile/rte_cfgfile.c index 388415147930..9049fd9c2319 100

[dpdk-dev] [PATCH v3 2/3] cfgfile: use RTE_LOG for errors

2019-07-18 Thread Stephen Hemminger
In general, DPDK libraries to not print error messages to stdout because that is often redirected to /dev/null for daemons. This patch changes cfgfile library to use RTE_LOG with its own type. Signed-off-by: Stephen Hemminger --- lib/Makefile | 1 + lib/librte_cfgfile/rte_cf

[dpdk-dev] [PATCH v3 1/3] cfgfile: remove unnecessary initialization

2019-07-18 Thread Stephen Hemminger
No need to initialize variable if it is immediately overwritten. It is better style not do unnecessary initialization with modern tools since it lets compiler and other static checkers detect uninitialized data. Signed-off-by: Stephen Hemminger --- lib/librte_cfgfile/rte_cfgfile.c | 8

[dpdk-dev] [PATCH v3 0/3] cfgfile: cleanup patches

2019-07-18 Thread Stephen Hemminger
Small cleanups to cfgfile library. Stephen Hemminger (3): cfgfile: remove unnecessary initialization cfgfile: use RTE_LOG for errors cfgfile: use calloc lib/Makefile | 1 + lib/librte_cfgfile/rte_cfgfile.c | 55 +--- 2 files changed, 37 inse

Re: [dpdk-dev] [PATCH v2 2/3] cfgfile: use RTE_LOG for errors

2019-07-18 Thread Stephen Hemminger
On Thu, 18 Jul 2019 15:36:45 +0100 Bruce Richardson wrote: > On Thu, Jul 18, 2019 at 07:34:59AM -0700, Stephen Hemminger wrote: > > On Thu, 18 Jul 2019 09:31:11 +0100 > > Bruce Richardson wrote: > > > > > On Wed, Jul 17, 2019 at 05:48:21PM -0700, Stephen Hemminger wrote: > > > > In general,

[dpdk-dev] [PATCH v5 7/7] test: remove RSA PKCS1_5 BT0 padding from test cases

2019-07-18 Thread Arek Kusztal
This patch removes RSA PKCS1_5 BT0 padding from test cases Signed-off-by: Arek Kusztal --- app/test/test_cryptodev_asym.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/test/test_cryptodev_asym.c b/app/test/test_cryptodev_asym.c index 97f3430..95e7d34 100644 ---

[dpdk-dev] [PATCH v5 6/7] openssl: remove RSA PKCS1_5 BT0 padding

2019-07-18 Thread Arek Kusztal
This patch removes RSA PKCS1_5 BT0 padding from openssl PMD. Signed-off-by: Arek Kusztal --- drivers/crypto/openssl/rte_openssl_pmd.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/crypto/openssl/rte_openssl_pmd.c b/drivers/crypto/openssl/rte_openssl_pmd.c index

[dpdk-dev] [PATCH v5 5/7] cryptodev: remove RSA PKCS1 BT0 padding

2019-07-18 Thread Arek Kusztal
BT0 block type padding after rfc2313 has been discontinued. Signed-off-by: Arek Kusztal --- lib/librte_cryptodev/rte_crypto_asym.h | 14 +++--- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/lib/librte_cryptodev/rte_crypto_asym.h b/lib/librte_cryptodev/rte_crypto_asym.h

[dpdk-dev] [PATCH v5 4/7] test: add cipher field to RSA test

2019-07-18 Thread Arek Kusztal
This patch adds cipher field to RSA test cases Signed-off-by: Arek Kusztal --- app/test/test_cryptodev_asym.c | 5 + 1 file changed, 5 insertions(+) diff --git a/app/test/test_cryptodev_asym.c b/app/test/test_cryptodev_asym.c index 4dee164..97f3430 100644 --- a/app/test/test_cryptodev_asym.

[dpdk-dev] [PATCH v5 0/7] Rework API for RSA algorithm in asymmetric crypto

2019-07-18 Thread Arek Kusztal
Ramoved patches that was not acked by Shally. So open things: 1. Creating padding struct. 2. Padding parameters (seedlen, optional label etc). 3. Leading zeroes questions. 4. Random number requirements. 5. Capabilities. 6. Verify signature field when none padding. 7. Padding none. 8. Signature inpu

[dpdk-dev] [PATCH v5 3/7] crypto/openssl: add cipher field to openssl RSA implementation

2019-07-18 Thread Arek Kusztal
This commit adds cipher field to openssl pmd to comfort to API change. Signed-off-by: Arek Kusztal --- drivers/crypto/openssl/rte_openssl_pmd.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/crypto/openssl/rte_openssl_pmd.c b/drivers/crypto/openssl/rte_opens

[dpdk-dev] [PATCH v5 2/7] cryptodev: add cipher field to RSA op

2019-07-18 Thread Arek Kusztal
Asymmetric nature of RSA algorithm suggest to use additional field for output. In place operations still can be done by setting cipher and message pointers with the same memory address. Signed-off-by: Arek Kusztal --- lib/librte_cryptodev/rte_crypto_asym.h | 43 --

[dpdk-dev] [PATCH v5 1/7] cryptodev: change RSA API comments about primes

2019-07-18 Thread Arek Kusztal
RSA modulus cannot be prime as its security depends on the problem of integer factorization. Signed-off-by: Arek Kusztal --- lib/librte_cryptodev/rte_crypto_asym.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/librte_cryptodev/rte_crypto_asym.h b/lib/librte_crypt

Re: [dpdk-dev] [PATCH v1 0/2] add tests for RSA key type CRT

2019-07-18 Thread Akhil Goyal
Sent from Workspace ONE Boxer On 12-Jul-2019 6:45 PM, "Kusztal, ArkadiuszX" mailto:arkadiuszx.kusz...@intel.com>> wrote: > > In future we could unify tests even more (i.e. passing padding type as a > param, or even information if it is encryption or signature generation) like > Fan once done

Re: [dpdk-dev] [PATCH] doc: update compression device docs

2019-07-18 Thread Akhil Goyal
> > > > This patch updates the constant names and function names used > > in code snippets in the Compression Device Library documentation. > > > > Signed-off-by: Adam Dybkowski > Acked-by: Fiona Trahe Applied to dpdk-next-crypto Thanks.

Re: [dpdk-dev] [PATCH] test/crypto: add capability check for ZUC test cases

2019-07-18 Thread Akhil Goyal
> > > > This patch adds checking if device support ZUC > > algorithms before running ZUC test cases. > > It also removes unnecessary checks of digest > > appended space and fixes some comments wording. > > > > Signed-off-by: Damian Nowak > Acked-by: Fiona Trahe Applied to dpdk-next-crypto Th

Re: [dpdk-dev] [PATCH v2] compress/qat: fixed overflow status return from qat pmd

2019-07-18 Thread Akhil Goyal
> > > > From: Tomasz Jozwiak > > > > This patch fixes fail status returned from compression PMD in case > > destination buffer size is not enough to store all data. > > > > Fixes: 3dc9ef2d23fe ("compress/qat: fix returned status on overflow") > > Cc: sta...@dpdk.org > > > > Signed-off-by: Tomas

Re: [dpdk-dev] [PATCH] test/compress: clarify out-of-space error messages

2019-07-18 Thread Akhil Goyal
> > > > Use ERR rather than INFO to warn that it's a negative test else the > > errors are seen but the warning to expect them isn't. > > Also add comment to make it easier to follow code. > > > > Signed-off-by: Fiona Trahe > > --- > > Acked-by: Adam Dybkowski Applied to dpdk-next-crypto Th

Re: [dpdk-dev] [PATCH] crypto/qat: fix seg-fault

2019-07-18 Thread Akhil Goyal
> > > > > Fix for seg-faults occurring: > > 1) in buffer re-alignment in-place sgl case > > 2) case where data end is exactly at end of an sgl segment. > > Also renamed variable and increased comments for clearer code. > > > > Fixes: 40002f6c2a24 ("crypto/qat: extend support for digest-encrypte

Re: [dpdk-dev] [PATCH] examples/ipsec-secgw: add parameter --mtu parse option

2019-07-18 Thread Akhil Goyal
> > > Hi guys, > > > > > Hi Tao > > > > > -Original Message- > > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of > > > taox@intel.com > > > Sent: Thursday, July 18, 2019 3:22 PM > > > To: Nicolau, Radu ; akhil.go...@nxp.com > > > Cc: dev@dpdk.org; Zhu, TaoX > > > Subject:

Re: [dpdk-dev] [PATCH] doc: fix PDF build of bbdev prog guide

2019-07-18 Thread Thomas Monjalon
18/07/2019 16:59, Chautru, Nicolas: > From: Thomas Monjalon [mailto:tho...@monjalon.net] > >18/07/2019 15:33, Chautru, Nicolas: > >> From: Thomas Monjalon [mailto:tho...@monjalon.net] > >> >Anyway all the documentation about the API details should be removed. > >> >The guide is expected to give an

Re: [dpdk-dev] [PATCH] doc: fix PDF build of bbdev prog guide

2019-07-18 Thread Chautru, Nicolas
From: Thomas Monjalon [mailto:tho...@monjalon.net] >18/07/2019 16:43, Chautru, Nicolas: >> From: Thomas Monjalon [mailto:tho...@monjalon.net] >> >3 comments above the change of references: >> > >> >- there are a lot more, please search for the word "section" >> >> All the ones I could see are sim

Re: [dpdk-dev] [PATCH] doc: fix PDF build of bbdev prog guide

2019-07-18 Thread Thomas Monjalon
18/07/2019 16:51, Chautru, Nicolas: > From: Thomas Monjalon [mailto:tho...@monjalon.net] > >About the tables, there are simpler syntax in RsT: > >http://docutils.sourceforge.net/docs/user/rst/quickref.html#tables > > To be honest, I cannot see the problem with the current format which is > follo

Re: [dpdk-dev] [PATCH] doc: fix PDF build of bbdev prog guide

2019-07-18 Thread Thomas Monjalon
18/07/2019 16:43, Chautru, Nicolas: > From: Thomas Monjalon [mailto:tho...@monjalon.net] > >3 comments above the change of references: > > > >- there are a lot more, please search for the word "section" > > All the ones I could see are similar to "as per 3GPP TS 38.212 section 5.2.2" > which is

  1   2   >