[dpdk-dev] [RFC][PATCH 3/3] examples/vhost: Add VMDQ vswitch device

2016-08-27 Thread Pankaj Chauhan
Add support for VMDQ vswitch device. This patch takes out all VMDQ specefic code from vhost/main.[c,h] and move it to vmdq.[c,h]. Moreover vmdq.[c,h] files plug the VMDQ vswitch device implmentation to the vhost-switch using vswitch framework. The main vhost/main.[c,h] code is now generic and can

[dpdk-dev] [RFC][PATCH 2/3] examples/vhost: Add vswitch command line options

2016-08-27 Thread Pankaj Chauhan
Add command line options for selecting switch implementation and maximum ports for the vswitch.following are two new command line options: --switch [char string, Selects the switch imlementation] --max-ports [int, selects maximum number of ports to support] For example: $ ./vhost-switch -c 3

[dpdk-dev] [RFC][PATCH 1/3] examples/vhost: Add vswitch (generic switch) framework

2016-08-27 Thread Pankaj Chauhan
Indroduce support for a generic framework for handling of switching between physical and virtio devices. The vswitch framework introduces the following concept: 1. vswitch_dev: Vswitch device is a logical switch which can have Phsyical and virtio devices. The devices are operated/used using

[dpdk-dev] [RFC][PATCH 0/3] example/vhost: Introduce Vswitch Framework

2016-08-27 Thread Pankaj Chauhan
Introduce generic vswitch framework in vhost-switch application. Following are the goals/aim of the framework: 1. Make vhost-switch application generic so that it can support devices which don't support VMDQ. 2. Provide a framework so that any switching logic (generic in software or vendor

[dpdk-dev] [PATCH v1] add mtu set in virtio

2016-08-27 Thread Stephen Hemminger
On Fri, 26 Aug 2016 20:54:28 -0400 souvikdey33 wrote: > This functionality is required mostly in the cloud infrastructure. > For example, if we use gre or vxlan network between compute and > controller, then we should not use 1500 mtu in the guest as with > encapsulation the sixe of the packet

[dpdk-dev] [PATCH 1/1] ixgbe: fix a log

2016-08-27 Thread Yunjian Wang
Signed-off-by: Yunjian Wang --- drivers/net/ixgbe/ixgbe_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index fb618ef..e3fcf33 100644 --- a/drivers/net/ixgbe/ixgbe_ethdev.c +++

[dpdk-dev] [PATCH] ntnic: add PMD driver

2016-08-27 Thread Thomas Monjalon
2016-08-26 16:32, Finn Christensen: > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > It would help a lot to describe what is the Napatech NIC Driver Suite, and > > why it is a virtual driver. > > I will elaborate on the description to make it more clear and send an update >

[dpdk-dev] [PATCH 2/3] hash: add vectorized comparison

2016-08-27 Thread Thomas Monjalon
2016-08-26 22:34, Pablo de Lara: > From: Byron Marohn > > In lookup bulk function, the signatures of all entries > are compared against the signature of the key that is being looked up. > Now that all the signatures are together, they can be compared > with vector instructions (SSE, AVX2),

[dpdk-dev] [PATCH v1] dpdk-devbind.py: Virtio interface issue.

2016-08-27 Thread Dey, Souvik
Hi , I have already updated it and have re submitted the patch v3. Can you please check that http://dpdk.org/dev/patchwork/patch/15378/ -- Regards, Souvik -Original Message- From: Stephen Hemminger [mailto:step...@networkplumber.org] Sent: Friday, August 26, 2016 11:55 AM To:

[dpdk-dev] [PATCH 17/17] qede: update driver version

2016-08-27 Thread Rasesh Mody
Signed-off-by: Rasesh Mody --- drivers/net/qede/qede_ethdev.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/qede/qede_ethdev.h b/drivers/net/qede/qede_ethdev.h index 7453539..d2f61db 100644 --- a/drivers/net/qede/qede_ethdev.h +++

[dpdk-dev] [PATCH 16/17] doc: update qede pmd documentation

2016-08-27 Thread Rasesh Mody
Signed-off-by: Rasesh Mody --- doc/guides/nics/qede.rst |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/guides/nics/qede.rst b/doc/guides/nics/qede.rst index 50e6f87..8f132c9 100644 --- a/doc/guides/nics/qede.rst +++ b/doc/guides/nics/qede.rst @@ -65,6 +65,8 @@

[dpdk-dev] [PATCH 15/17] qede: fix driver version string

2016-08-27 Thread Rasesh Mody
From: Harish Patil This patch fixes the base driver version display. The driver version notation is: Fixes: 2ea6f76 ("qede: add core driver") Signed-off-by: Harish Patil --- drivers/net/qede/qede_ethdev.c | 43

[dpdk-dev] [PATCH 14/17] qede: skip slowpath polling for 100G VF device

2016-08-27 Thread Rasesh Mody
From: Harish Patil There is no need to poll for slowpath events for VF device since the ramrod responses are received over PF-VF backchannel synchronously. So the fix is to restrict the slowpath polling for PF device only. Fixes 2af14ca ("net/qede: support 100G")

[dpdk-dev] [PATCH 13/17] qede/base: add support to initiate PF FLR

2016-08-27 Thread Rasesh Mody
From: Harish Patil Add support to send PF FLR request to the management firmware to bringup the device in clean slate. This cleanup is necessary in some corner cases where the device would be left in a bad state from its previous operations. The driver will send PF FLR

[dpdk-dev] [PATCH 12/17] qede/base: change rx tx queue start APIs

2016-08-27 Thread Rasesh Mody
Changed q_{rx,tx}_start APIs to use common queue start parameters Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore_l2.c | 131 +++--- drivers/net/qede/base/ecore_l2.h | 26 ++- drivers/net/qede/base/ecore_l2_api.h | 69 --

[dpdk-dev] [PATCH 11/17] qede:add scatter gather support

2016-08-27 Thread Rasesh Mody
From: Sony Chacko Add scatter gather support, to enable trasmit and receive of packets larger than descriptor buffer sizes. Signed-off-by: Sony Chacko --- doc/guides/nics/features/qede.ini|1 + doc/guides/nics/features/qede_vf.ini |1 +

[dpdk-dev] [PATCH 10/17] qede: fix RSS related issues

2016-08-27 Thread Rasesh Mody
From: Harish Patil This patch contains few RSS related changes as follows: o Fix inadvarent initializing of rss_params outside of the if block in qed_update_vport() which could cause FW exception. o Fix disabling of RSS when hash function is 0. o Rename

[dpdk-dev] [PATCH 09/17] qede: add enable/disable VLAN filtering

2016-08-27 Thread Rasesh Mody
From: Harish Patil The device doesn't explicitly support enable/disable of VLAN filtering. However, VLAN filtering takes effect when a matching VLAN is configured. So in order to support enable/disable of VLAN filtering, VLAN 0 is added/removed respectively. A check is

[dpdk-dev] [PATCH 08/17] qede: fix to prevent duplicate VLAN filters

2016-08-27 Thread Rasesh Mody
From: Harish Patil librte_ether does not keep track of VLAN filters configured, so it becomes driver's responsibility to keep track of it and prevent duplicate filter programming. The fix is to use a singly linked list for tracking the entries and there by prevent

[dpdk-dev] [PATCH 07/17] qede: remove unused/dead code

2016-08-27 Thread Rasesh Mody
From: Harish Patil Fixes: 2ea6f76 ("qede: add core driver") Signed-off-by: Harish Patil --- drivers/net/qede/qede_eth_if.c | 10 -- drivers/net/qede/qede_ethdev.c |3 --- drivers/net/qede/qede_ethdev.h | 12 drivers/net/qede/qede_if.h

[dpdk-dev] [PATCH 06/17] qede: add missing 100G link speed capability

2016-08-27 Thread Rasesh Mody
From: Harish Patil This patch fixes the missing 100G link speed advertisement when the 100G support was initially added. Fixes 2af14ca ("net/qede: support 100G") Signed-off-by: Harish Patil --- doc/guides/nics/features/qede.ini|1 +

[dpdk-dev] [PATCH 05/17] qede/base: allow MTU change via vport-update

2016-08-27 Thread Rasesh Mody
From: Harish Patil Add support to allow MTU change on a deactivated vport in the qede/base driver and the core driver shall utilize the same. Signed-off-by: Harish Patil --- drivers/net/qede/base/ecore_l2.c |5 + drivers/net/qede/base/ecore_l2_api.h |4

[dpdk-dev] [PATCH 04/17] qede: fix port (re)configuration issue

2016-08-27 Thread Rasesh Mody
From: Harish Patil Some applications set port configuration params like promisc mode before calling dev_start(). This config results in a firmware exception since this operation internally translates to sending of VPORT-UPDATE before VPORT-START ramrod which is

[dpdk-dev] [PATCH 03/17] qede: enable support for unequal number of RX/TX queues

2016-08-27 Thread Rasesh Mody
From: Sony Chacko Previous release of the qede PMD had a limitation that the driver expects the number of tx and rx queues to be the same. This patch fixes this issue by making appropriate changes in control and data path. Fixes: 2ea6f76 ("qede: add core driver")

[dpdk-dev] [PATCH 02/17] qede/base: add the driver support for the MFW crash dump

2016-08-27 Thread Rasesh Mody
Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore.h |3 + drivers/net/qede/base/ecore_dev.c | 22 ++--- drivers/net/qede/base/ecore_dev_api.h | 29 --- drivers/net/qede/base/ecore_mcp.c | 151 +

[dpdk-dev] [PATCH 01/17] qede/base: update base driver

2016-08-27 Thread Rasesh Mody
This patch updates the base driver and incorporates neccessary changes required to bring in the new firmware 8.10.9.0. In addition, it would allow driver to add new functionalities that might be needed in future. Signed-off-by: Rasesh Mody --- doc/guides/nics/features/qede.ini |

[dpdk-dev] [PATCH 00/17] update qede pmd to 1.2.0.1

2016-08-27 Thread Rasesh Mody
This patch set includes changes to update the base driver, work with newer FW, adds new features, provides bug fixes and updates documentation for the QEDE poll mode driver. The patch set updates the QEDE PMD to 1.2.0.1. Please apply to DPDK tree for v1611 release. Thanks! Rasesh Harish Patil