[dpdk-dev] [dpdk-announce] Reminder: CFP closes Feb 5th 2018 DPDK Summit – Bangalore March 9th

2018-02-03 Thread Tibrewala, Sujata
Submit a proposal to speak at DPDK Summit Bangalore 2018 [1] March 9th | Leela Palace, Bangalore, India The agenda will cover the latest developments to the DPDK framework and other related projects such as FD.io, including plans for future releases, and will provide an opportunity to hear fr

Re: [dpdk-dev] [PATCH v2] doc: remove eal API for default mempool ops name

2018-02-03 Thread Jerin Jacob
-Original Message- > Date: Fri, 2 Feb 2018 14:01:42 +0530 > From: Hemant Agrawal > To: olivier.m...@6wind.com, tho...@monjalon.net, > pbhagavat...@caviumnetworks.com > CC: nipun.gu...@nxp.com, jerin.ja...@caviumnetworks.com, > santosh.shu...@caviumnetworks.com, dev@dpdk.org, Hemant Agra

[dpdk-dev] [PATCH v2 1/2] net/sfc: rename version map file

2018-02-03 Thread Andrew Rybchenko
From: Ivan Malov The version map filename does not comply with the format used by meson build rules for drivers (i.e. on the upper level) and needs to be revisited. This patch removes efx postfix from the driver title in the filename. Signed-off-by: Ivan Malov Acked-by: Bruce Richardson Signed

[dpdk-dev] [PATCH v2 2/2] net/sfc: add support for meson build

2018-02-03 Thread Andrew Rybchenko
From: Ivan Malov Signed-off-by: Ivan Malov Signed-off-by: Andrew Rybchenko --- v2: - use includes to extend include directories set - limit to x86 architecture - specify include directories in base driver build - remove unnecessary optimization level set and driver dir from includes drive

[dpdk-dev] [PATCH] net/virtio: Fix crash in virtio_dev_free_mbufs

2018-02-03 Thread David C Harton
virtio_dev_free_mbufs was recently modified to free the virtqueues but failed to check whether the array was allocated. Added a check to ensure vqs was non-null. Fixes: bdb32afbb610 ("net/virtio: rationalize queue flushing") Cc: olivier.m...@6wind.com Signed-off-by: David C Harton --- drivers/

Re: [dpdk-dev] [PATCH 2/2] net/sfc: add support for meson build

2018-02-03 Thread Andrew Rybchenko
On 02/02/2018 07:18 PM, Bruce Richardson wrote: On Fri, Feb 02, 2018 at 12:43:58PM +, Andrew Rybchenko wrote: From: Ivan Malov Signed-off-by: Ivan Malov Signed-off-by: Andrew Rybchenko --- drivers/net/meson.build | 2 +- drivers/net/sfc/base/meson.build | 69

Re: [dpdk-dev] [PATCH v3] net/mlx4: fix dev rmv not detected after port stop

2018-02-03 Thread Matan Azrad
Hi Adrien > From: Adrien Mazarguil , Sent: Friday, February 2, 2018 9:53 PM > Hi Matan, > > On Wed, Jan 31, 2018 at 05:07:56PM +, Matan Azrad wrote: > > Hi Adrien > > > > From: Adrien Mazarguil , Sent: Wednesday, January 31, 2018 4:32 PM > > > Hi Matan, > > > > > > On Wed, Jan 31, 2018 at 01:

[dpdk-dev] [PATCH v1] net/tap: fix eBPF handling of non-RSS flows

2018-02-03 Thread Ophir Munk
eBPF classifier (section "cls_q" in tap_bpf_program.c) is looking for marked packets whose skb->cb[1] contains an RSS queue number and redirects those packets to the matched queue. It is expected that skb->cb[1] has been previously set with a valid RSS queue number during an eBPF action (section "l

[dpdk-dev] [vlan offload] does I350 support vlan offload?

2018-02-03 Thread ????????
Hi, All: I want to use I350 vlan offload feature to impove performance, but get in trouble. After enable port_conf.hw_vlan_strip, i can get vlan id in mbuf->vlan_tci, which indicate vlan rx offload is ok. but when enable vlan tx offload as below steps, a. set vlan id in mbuf->vlan_

[dpdk-dev] [vhost-user] how to get enabled vring num

2018-02-03 Thread ????????
Hi, All: I create qemu VM with 1 cpu and 1 NIC using vhost-user client mode with 2 pairs queue, when VM start, bu default only one pair queue is enabled unless use 'ethtool -L eth0 2' to enable. now I want to get vring num using vhost-user lib api---rte_vhost_get_vring_num, and send pkt

[dpdk-dev] [PATCH] doc: update i40e guide

2018-02-03 Thread Beilei Xing
This patch updates the i40e guide with new device parameter support-multi-driver. Signed-off-by: Beilei Xing Cc: sta...@dpdk.org --- doc/guides/nics/i40e.rst | 11 +++ 1 file changed, 11 insertions(+) diff --git a/doc/guides/nics/i40e.rst b/doc/guides/nics/i40e.rst index 166f447..a83af6

[dpdk-dev] [PATCH 0/7] cxgbe: bug fixes and updates

2018-02-03 Thread Rahul Lakkireddy
Patch 1 fixes secondary process initialization failure. Patch 2 fixes issue where link state is not updated when speed is changed. Patches 3 and 4 allow configuring RSS hash and key. Patch 5 updates link Forward Error Correction (FEC) to support IEEE 802.3 standard based FEC selection. Patches

[dpdk-dev] [PATCH 1/7] cxgbe: fix secondary process initialization

2018-02-03 Thread Rahul Lakkireddy
From: Kumar Sanghvi rte_eth_dev_allocate already assigns the eth_dev_data. So, don't allocate it separately as part of probe function. And we save this eth_dev_data as part of txq structure. Attach to rte_eth_dev devices allocated by Primary process for Ports other than Port-0 in the secondary p

[dpdk-dev] [PATCH 4/7] cxgbe: add support to get programmed RSS hash configuration and key

2018-02-03 Thread Rahul Lakkireddy
From: Kumar Sanghvi Original work by Surendra Mobiya Signed-off-by: Kumar Sanghvi Signed-off-by: Rahul Lakkireddy --- drivers/net/cxgbe/base/common.h | 3 +++ drivers/net/cxgbe/base/t4_hw.c | 46 ++ drivers/net/cxgbe/cxgbe_ethdev.c | 53 +++

[dpdk-dev] [PATCH 3/7] cxgbe: add support to update RSS hash configuration and key

2018-02-03 Thread Rahul Lakkireddy
From: Kumar Sanghvi Add firmware API for updating RSS hash configuration and key. Move RSS hash configuration from cxgb4_write_rss() to a separate function cxgbe_write_rss_conf(). Also, rename cxgb4_write_rss() to cxgbe_write_rss() for consistency. Original work by Surendra Mobiya Signed-off

[dpdk-dev] [PATCH 2/7] cxgbe: update link state when link speed changes

2018-02-03 Thread Rahul Lakkireddy
From: Kumar Sanghvi Original work by Surendra Mobiya Fixes: cdac6e2eeafc ("cxgbe: add link related functions") Signed-off-by: Kumar Sanghvi Signed-off-by: Rahul Lakkireddy --- drivers/net/cxgbe/cxgbe_ethdev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/c

[dpdk-dev] [PATCH 5/7] cxgbe: update link Forward Error Correction (FEC)

2018-02-03 Thread Rahul Lakkireddy
From: Kumar Sanghvi Normally, firmware reads various Forward Error Correction parameters from a Transceiver Module i2c EPROM and uses a couple of IEEE Standards (802.3bj for 100Gb/s and 802.3by for 25Gb/s) to interpret those parameters and come up with supported and default FEC settings. Firmware

[dpdk-dev] [PATCH 6/7] cxgbe: update link configuration for 32-bit port capability

2018-02-03 Thread Rahul Lakkireddy
Update link configuration API to prepare for 32-bit port capability support. Continue using 16-bit port capability for older firmware. Original work by Surendra Mobiya Signed-off-by: Rahul Lakkireddy Signed-off-by: Kumar Sanghvi --- drivers/net/cxgbe/base/common.h | 40 +--- driv

[dpdk-dev] [PATCH 7/7] cxgbe: rework and use 32-bit port capability

2018-02-03 Thread Rahul Lakkireddy
The new code uses the new 32-bit Port Capabilities exclusively and only translates to/from the old 16-bit Port Capabilities at the last point possible when talking to older Firmware. For the old versus new Firmware issue, we use the new FW_PARAMS_CMD[PFVF, CAPS32] command to tell the Firmware that

Re: [dpdk-dev] [PATCH] app/testpmd:vlan filter fail

2018-02-03 Thread Shahaf Shuler
Hi Wu, Indeed there is an issue here, but this is not the right fix. Friday, February 2, 2018 7:10 AM, Yanglong Wu: > Subject: [PATCH] app/testpmd:vlan filter fail > > Removing out port_conf.rxmode.hw_vlan_filter = 1 will let it equal to 0 and > port_conf.rxmode.offloads is assigned as 0 again i

Re: [dpdk-dev] Fw: [PATCH FIX-OPTION-1] mbuf: fix the logic of user mempool ops API

2018-02-03 Thread santosh
Hi Hemant, On Sunday 04 February 2018 11:52 AM, Shukla, Santosh wrote: > The existing rte_eal_mbuf_default mempool ops can return the compile time > default ops name if the user has not provided command line inputs for > mempool ops name. It will break the logic of best mempool ops as it will > n

[dpdk-dev] [PATCH v2 1/2] doc: update mlx PMD release notes

2018-02-03 Thread Shahaf Shuler
Signed-off-by: Shahaf Shuler --- On v2: - No change. --- doc/guides/rel_notes/release_18_02.rst | 27 +++ 1 file changed, 27 insertions(+) diff --git a/doc/guides/rel_notes/release_18_02.rst b/doc/guides/rel_notes/release_18_02.rst index 689080bed..714a24388 100644 --

[dpdk-dev] [PATCH v2 2/2] doc: update mlx PMD required OFED version

2018-02-03 Thread Shahaf Shuler
Signed-off-by: Shahaf Shuler --- On v2: - Updated the OFED version for mlx4 guide as well. --- doc/guides/nics/mlx4.rst | 2 +- doc/guides/nics/mlx5.rst | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/guides/nics/mlx4.rst b/doc/guides/nics/mlx4.rst index 88161781c.

[dpdk-dev] [PATCH] doc: annouce ABI change for RSS configuraiton structure

2018-02-03 Thread Xueming Li
Update deprecation notice for the new level field of rte_eth_rss_conf. Link: http://www.dpdk.org/dev/patchwork/patch/31891 Signed-off-by: Xueming Li --- doc/guides/rel_notes/deprecation.rst | 4 1 file changed, 4 insertions(+) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guide