[dpdk-dev] [PATCH 0/7] Cisco Systems Inc. VIC Ethernet PMD - ENIC PMD

2014-11-08 Thread Sujith Sankar
ENIC PMD is the poll-mode driver for the Cisco Systems Inc. VIC to be used with DPDK suite. Further details are provided in the ReleaseNotes.txt in the path lib/librte_pmd_enic/ Sujith Sankar (7): DPDK changes for accommodating ENIC PMD ENIC PMD License ENIC PMD Makefile VNIC common code

[dpdk-dev] [PATCH 1/7] DPDK changes for accommodating ENIC PMD

2014-11-08 Thread Sujith Sankar
Signed-off-by: Sujith Sankar --- app/test-pmd/testpmd.c | 1 + config/common_linuxapp | 6 ++ lib/Makefile | 1 + lib/librte_eal/linuxapp/eal/eal_pci_vfio.c | 7 +++ lib/librte_eal/linuxa

[dpdk-dev] [PATCH 2/7] ENIC PMD License

2014-11-08 Thread Sujith Sankar
Signed-off-by: Sujith Sankar --- lib/librte_pmd_enic/LICENSE | 23 +++ 1 file changed, 23 insertions(+) create mode 100644 lib/librte_pmd_enic/LICENSE diff --git a/lib/librte_pmd_enic/LICENSE b/lib/librte_pmd_enic/LICENSE new file mode 100644 index 000..589e36f --- /dev/

[dpdk-dev] [PATCH 3/7] ENIC PMD Makefile

2014-11-08 Thread Sujith Sankar
Signed-off-by: Sujith Sankar --- lib/librte_pmd_enic/Makefile | 66 1 file changed, 66 insertions(+) create mode 100644 lib/librte_pmd_enic/Makefile diff --git a/lib/librte_pmd_enic/Makefile b/lib/librte_pmd_enic/Makefile new file mode 100644 index 0

[dpdk-dev] [PATCH 4/7] VNIC common code

2014-11-08 Thread Sujith Sankar
Signed-off-by: Sujith Sankar --- lib/librte_pmd_enic/src/cq_desc.h | 122 lib/librte_pmd_enic/src/cq_enet_desc.h | 257 lib/librte_pmd_enic/src/rq_enet_desc.h | 72 +++ lib/librte_pmd_enic/src/vnic_cq.c | 113 lib/librte_pmd_enic/src/vnic_cq.h | 148 ++

[dpdk-dev] [PATCH 5/7] ENIC PMD specific code

2014-11-08 Thread Sujith Sankar
Signed-off-by: Sujith Sankar --- lib/librte_pmd_enic/src/enic.h| 154 lib/librte_pmd_enic/src/enic_clsf.c | 240 ++ lib/librte_pmd_enic/src/enic_compat.h | 138 lib/librte_pmd_enic/src/enic_main.c | 1325 + lib/librte_pmd_enic/src/enic_

[dpdk-dev] [PATCH 6/7] DPDK-ENIC PMD interface

2014-11-08 Thread Sujith Sankar
Signed-off-by: Sujith Sankar --- lib/librte_pmd_enic/src/enic_etherdev.c | 616 1 file changed, 616 insertions(+) create mode 100644 lib/librte_pmd_enic/src/enic_etherdev.c diff --git a/lib/librte_pmd_enic/src/enic_etherdev.c b/lib/librte_pmd_enic/src/enic_ethe

[dpdk-dev] [PATCH 7/7] Release notes for ENIC PMD 1.0.0.3

2014-11-08 Thread Sujith Sankar
--- lib/librte_pmd_enic/ReleaseNotes.txt | 196 +++ 1 file changed, 196 insertions(+) create mode 100644 lib/librte_pmd_enic/ReleaseNotes.txt diff --git a/lib/librte_pmd_enic/ReleaseNotes.txt b/lib/librte_pmd_enic/ReleaseNotes.txt new file mode 100644 index 0

[dpdk-dev] [PATCH] eal: map PCI memory resources after hugepages

2014-11-08 Thread Liang Xu
A multiple process DPDK application must mmap hugepages and pci resources into same virtual addresses. By default the virtual addresses chosen by the primary process automatically when calling the mmap. But sometime the chosen virtual addresses isn't usable at secondary process. Such as the seco

[dpdk-dev] [PATCH v4 0/5] Support virtio multicast feature

2014-11-08 Thread Ouyang Changchun
-V1 change: This patch series support multicast feature in virtio and vhost. The vhost backend enables the promiscuous mode and config ETH_VMDQ_ACCEPT_BROADCAST and ETH_VMDQ_ACCEPT_MULTICAST in VMDQ offload register to receive the multicast and broadcast packets. The virtio frontend provides the

[dpdk-dev] [PATCH v4 1/5] ethdev: Add vmdq rx mode

2014-11-08 Thread Ouyang Changchun
Add vmdq rx mode field into rx config struct, it is flag from ETH_VMDQ_ACCEPT_*. Signed-off-by: Changchun Ouyang --- lib/librte_ether/rte_ethdev.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h index 7e4c998..c29525b 100644 --- a

[dpdk-dev] [PATCH v4 2/5] igb: Config VM offload register

2014-11-08 Thread Ouyang Changchun
Config VM offload register in igb PMD to enable it receive broadcast and multicast packets. Signed-off-by: Changchun Ouyang --- lib/librte_pmd_e1000/igb_rxtx.c | 20 1 file changed, 20 insertions(+) diff --git a/lib/librte_pmd_e1000/igb_rxtx.c b/lib/librte_pmd_e1000/igb_rx

[dpdk-dev] [PATCH v4 3/5] ixgbe: Configure Rx mode for VMDQ

2014-11-08 Thread Ouyang Changchun
Config PFVML2FLT register in ixgbe PMD to enable it receive broadcast and multicast packets; also factorize the common logic with ixgbe_set_pool_rx_mode. Signed-off-by: Changchun Ouyang --- lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 31 +-- lib/librte_pmd_ixgbe/ixgbe_ethd

[dpdk-dev] [PATCH v4 5/5] vhost: Enable promisc mode and multicast

2014-11-08 Thread Ouyang Changchun
This is to enable user space vhost receiving and forwarding broadcast and multicast packets: Use new option in command line to enable promisc mode; Enable 2 bits in VMDQ RX mode: ETH_VMDQ_ACCEPT_BROADCAST and ETH_VMDQ_ACCEPT_MULTICAST. Signed-off-by: Changchun Ouyang --- examples/vhost/main.c

[dpdk-dev] [PATCH v4 4/5] virtio: Support promiscuous and allmulticast

2014-11-08 Thread Ouyang Changchun
Add codes for supporting promiscuous and allmulticast enable and disable. Signed-off-by: Changchun Ouyang --- lib/librte_pmd_virtio/virtio_ethdev.c | 90 ++- 1 file changed, 89 insertions(+), 1 deletion(-) diff --git a/lib/librte_pmd_virtio/virtio_ethdev.c b/lib

[dpdk-dev] [PATCH v3 1/5] ethdev: add vmdq rx mode

2014-11-08 Thread Ouyang, Changchun
Hi Thomas, > -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Thursday, November 6, 2014 9:56 PM > To: Ouyang, Changchun > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v3 1/5] ethdev: add vmdq rx mode > > 2014-10-31 13:19, Ouyang Changchun:

[dpdk-dev] [PATCH v5 0/8] support of multiple sizes of redirection table

2014-11-08 Thread Chen, Erlu
Tested-by: Erlu Chen - Tested Commit: 6630bc42449aebba33b0817ae830cbdf3a83a1b6 - OS: Linux fc20 3.11.10-301.fc20.x86_64 - CPU: Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz - GCC: gcc version 4.8.3 20140624 - NIC: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ [8086:1572] Intel Corporat