Re: [dpdk-dev] Fwd: PMD for Broadcom/Emulex OCe14000 OCP Skyhawk-R

2018-03-08 Thread sujith sankar
On Thu, Mar 8, 2018 at 12:50 PM, Vincent JARDIN wrote: > Le 07/03/2018 à 04:56, sujith sankar a écrit : >> >> Is PMD for Broadcom/Emulex OCe14000 OCP Skyhawk-R available? There >> are a few documents in Broadcom's site. But could not find the source >> code of

[dpdk-dev] Fwd: PMD for Broadcom/Emulex OCe14000 OCP Skyhawk-R

2018-03-06 Thread sujith sankar
Hi all, Is PMD for Broadcom/Emulex OCe14000 OCP Skyhawk-R available? There are a few documents in Broadcom's site. But could not find the source code of it. I believe 6Wind team developed the PMD for Broadcom. But what is the status of it? Is it freely available? Tried to get some help from

[dpdk-dev] IXGBE VF on KVM - Transmit stalled after switch reboot

2018-01-22 Thread sujith sankar
is expected from the application/PMD in such a case. It would be great if IXGBE PMD maintainers or someone who is familiar with this could help us. Kindly let me know if you have questions. Thanks, -Sujith Sankar Avi Networks (India) Pvt Ltd.

Re: [dpdk-dev] ixgbe - link state change detection of port-channel members triggered from Cisco Nexus 9000

2017-10-17 Thread sujith sankar
Hi all, It would be great if someone could help me with this. Thanks, -Sujith On Tue, Oct 3, 2017 at 5:23 PM, sujith sankar wrote: > Hi, > > While testing port-channels (LACP) on ixgbe, I observed that when > port-channel member interfaces are brought down from Cisco Nexus 9000 >

[dpdk-dev] ixgbe - link state change detection of port-channel members triggered from Cisco Nexus 9000

2017-10-03 Thread sujith sankar
Cumulus or Netgear switches. Could the maintainers of ixgbe confirm if there are any such inter-operability problems between Cisco switches and Niantic cards? Also, is there any work-around for this? Thanks, -Sujith Sankar

[dpdk-dev] net/virtio - question on multiqueue - hashing

2017-04-19 Thread sujith sankar
Hi folks, In virtio multiqueue configuration, for a given 4-tuple, how could I figure out the index of the receive queue in which that flow would land? Some of the email threads I came across gave the impression that virtio does not implement RSS. My tests too gave similar results. Could someon

Re: [dpdk-dev] net/bonding - need for 8023ad slave to be in promisc mode

2017-02-28 Thread sujith sankar
Hi Declan, Got your name from the maintainers' list. Could you please help me with this? Thanks, -Sujith On Mon, Feb 27, 2017 at 1:40 PM, sujith sankar wrote: > Hi folks, > > Could someone clarify the need to put mode 4 bonding slaves in promiscuous > mode? &

[dpdk-dev] net/bonding - need for 8023ad slave to be in promisc mode

2017-02-27 Thread sujith sankar
Hi folks, Could someone clarify the need to put mode 4 bonding slaves in promiscuous mode? 840 void 841 bond_mode_8023ad_activate_slave(struct rte_eth_dev *bond_dev, uint8_t slave_id) 842 { . . . 878 /* use this port as agregator */ 879 port->aggregator_port_id = slave_id; 880 rte_

[dpdk-dev] [PATCH] enic: fix vlan filtering

2015-10-31 Thread Sujith Sankar (ssujith)
On 30/10/15 9:43 pm, "David Marchand" wrote: >From: Julien Meunier > >Report an error when something went wrong. > >Signed-off-by: Julien Meunier >Signed-off-by: David Marchand >--- > drivers/net/enic/enic_ethdev.c | 7 --- > 1 file changed, 4 insertions(+), 3 deletions(-) > >diff --git a/

[dpdk-dev] [PATCH] enic: Remove #ident at the beginning of the files

2015-09-22 Thread Sujith Sankar
This patch removes the #ident strings at the beginning of the source files. Signed-off-by: Sujith Sankar --- drivers/net/enic/base/cq_desc.h | 1 - drivers/net/enic/base/cq_enet_desc.h | 1 - drivers/net/enic/base/rq_enet_desc.h | 1 - drivers/net/enic/base/vnic_cq.c | 1

[dpdk-dev] [PATCH 2/2] enic: fix hash creation when not using first numa node

2015-09-11 Thread Sujith Sankar (ssujith)
,7 @@ int enic_clsf_init(struct enic *enic) > .key_len = sizeof(struct rte_eth_fdir_filter), > .hash_func = DEFAULT_HASH_FUNC, > .hash_func_init_val = 0, >- .socket_id = SOCKET_0, >+ .socket_id = SOCKET_ID_ANY,

[dpdk-dev] [PATCH 1/2] enic: fix allocation when not using first numa node

2015-09-11 Thread Sujith Sankar (ssujith)
ENIC_ALIGN); >+ size, SOCKET_ID_ANY, 0, ENIC_ALIGN); > if (!rz) { > pr_err("%s : Failed to allocate memory requested for %s", > __func__, name); >-- Acked by: Sujith Sankar > >1.9.1 >

[dpdk-dev] [PATCH 2/3] enic: use appropriate key length in hash table

2015-09-04 Thread Sujith Sankar (ssujith)
On 04/09/15 2:35 pm, "Pablo de Lara" wrote: >RTE_HASH_KEY_LENGTH_MAX was deprecated, and the hash table >actually is hosting bigger keys than that size, so key length >has been increased to properly allocate all keys. > >Signed-off-by: Pablo de Lara >--- > drivers/net/enic/enic_clsf.c | 4 ++--

[dpdk-dev] [PATCH 1/2] enic: silence log message

2015-05-21 Thread Sujith Sankar (ssujith)
Stephen, The enic debug flag is off by default. So it is going to print the version only if the user wants it to. Isn?t that fine? Thanks, -Sujith From: Stephen Hemminger Date: Wednesday, 20 May 2015 11:17 pm To: "Sujith Sankar (ssujith)" Cc: Bruce Richardson , "

[dpdk-dev] [PATCH v2 06/19] enic: move enic PMD to drivers/net directory

2015-05-20 Thread Sujith Sankar (ssujith)
On 20/05/15 9:44 pm, "Thomas Monjalon" wrote: >2015-05-20 16:04, Richardson, Bruce: >> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] >> > 2015-05-15 16:56, Bruce Richardson: >> > > move enic PMD to drivers/net directory >> > > >> > > Signed-off-by: Bruce Richardson >> > > --- >>

[dpdk-dev] [PATCH 1/2] enic: silence log message

2015-05-20 Thread Sujith Sankar (ssujith)
On 19/05/15 3:38 pm, "Bruce Richardson" wrote: >On Wed, Apr 08, 2015 at 10:37:49AM -0700, Stephen Hemminger wrote: >> From: Stephen Hemminger >> >> Silence is normal. drivers should speak only when spoken to and not >> be chatty. >> >> Signed-off-by: Stephen Hemminger > >Acked-by: Bruce Ric

[dpdk-dev] [PATCH] enic: add support for enic in nic_uio driver for FreeBSD

2015-05-07 Thread Sujith Sankar
This patch adds support for enic in the nic_uio driver so that enic could be used on FreeBSD. Signed-off-by: Sujith Sankar --- lib/librte_eal/bsdapp/nic_uio/nic_uio.c | 1 + lib/librte_eal/common/include/rte_pci_dev_ids.h | 17 + 2 files changed, 18 insertions(+) diff

[dpdk-dev] [PATCH] enicpmd: build changes for FreeBSD

2015-05-07 Thread Sujith Sankar (ssujith)
On 06/05/15 9:19 pm, "Bruce Richardson" wrote: >On Wed, May 06, 2015 at 02:41:00PM +0530, Sujith Sankar wrote: >> This patch adds the changes required to build enic for FreeBSD >> > >Hi, > >I see no issues with this patch, but I suggest the description fo

[dpdk-dev] [PATCH] enicpmd: build changes for FreeBSD

2015-05-06 Thread Sujith Sankar
This patch adds the changes required to build enic for FreeBSD Signed-off-by: Sujith Sankar --- lib/librte_eal/bsdapp/nic_uio/nic_uio.c | 1 + lib/librte_eal/common/include/rte_pci_dev_ids.h | 17 + 2 files changed, 18 insertions(+) diff --git a/lib/librte_eal/bsdapp

[dpdk-dev] [PATCH] enic: remove use of rte_fdir_filter for key_len

2015-04-21 Thread Sujith Sankar
This patch removes the use of rte_fdir_filter from enic_clsf. This also takes care of modifying the version and copyright string. Signed-off-by: Sujith Sankar --- lib/librte_pmd_enic/enic.h | 4 ++-- lib/librte_pmd_enic/enic_clsf.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions

[dpdk-dev] [PATCH] enic: set correct port ID in received mbufs

2015-04-18 Thread Sujith Sankar (ssujith)
t enic_rq_alloc_buf(struct vnic_rq *rq) > type = RQ_ENET_TYPE_NOT_SOP; > } else { > mbuf->nb_segs = 1; >- mbuf->port = rq->index; >+ mbuf->port = enic->port_id; > } > > mbuf->data_off = RTE_PKTMBUF_HEADROOM; >-- >2.1.0 Acked-by: Sujith Sankar Thanks, -Sujith >

[dpdk-dev] [PATCH] enic: migrating to new fdir api

2015-04-09 Thread Sujith Sankar
This patch helps enic migrate to the new flow-director API. It takes care of the following. 1. The change in fdir_filter structure and stats structure 2. DPDK interface functions in enic_ethdev.c 3. ENIC driver functions that deal with the VIC adapter Signed-off-by: Sujith Sankar --- lib

[dpdk-dev] [PATCH] enic: disable debug traces

2015-04-08 Thread Sujith Sankar (ssujith)
t.h" > #include "enic.h" > >+#ifdef RTE_LIBRTE_ENIC_DEBUG > #define ENICPMD_FUNC_TRACE() \ > RTE_LOG(DEBUG, PMD, "ENICPMD trace: %s\n", __func__) >+#else >+#define ENICPMD_FUNC_TRACE() do {} while (0) >+#endif > > /* > * The set of PCI devices this driver supports >-- >2.2.2 > Acked-by: Sujith Sankar >

[dpdk-dev] [PATCH v6 0/6] enicpmd: Cisco Systems Inc. VIC Ethernet PMD

2015-03-11 Thread Sujith Sankar (ssujith)
On 27/02/15 4:16 pm, "Thomas Monjalon" wrote: >2015-02-27 08:09, Sujith Sankar: >> Hi Thomas, >> >> No update on it from my side :-( >> It would take some more time for me to start working on it (and flow >> director api) as a few other things are ke

[dpdk-dev] [PATCH v6 0/6] enicpmd: Cisco Systems Inc. VIC Ethernet PMD

2015-02-27 Thread Sujith Sankar (ssujith)
jith, > >If you can not find the answer your questions in the doc please me an >email. > > >Regards, > >++Keith >> >>2015-01-21 05:03, Sujith Sankar: >>> Hi David, >>> >>> Apologies for the delay. I was not able to find quality time to f

[dpdk-dev] [PATCH] enic: silence log message

2015-02-15 Thread Sujith Sankar (ssujith)
Stephen, Saw your patch. Will take a look. Thanks, -Sujith On 15/02/15 11:43 am, "Sujith Sankar (ssujith)" wrote: >Hi Stephen, David, > >I agree with you and shall submit this change. > >Thanks, >-Sujith > >On 09/02/15 9:41 pm, "Stephen Hemminger"

[dpdk-dev] [PATCH] enic: silence log message

2015-02-15 Thread Sujith Sankar (ssujith)
Hi Stephen, David, I agree with you and shall submit this change. Thanks, -Sujith On 09/02/15 9:41 pm, "Stephen Hemminger" wrote: >Agree it should not use printf. >If you insist on keeping the useless message then it should be log level >debug

[dpdk-dev] [PATCH v6 0/6] enicpmd: Cisco Systems Inc. VIC Ethernet PMD

2015-01-21 Thread Sujith Sankar (ssujith)
pktgen-dpdk as I was stuck on it. Thanks, -Sujith From: David Marchand mailto:david.march...@6wind.com>> Date: Tuesday, 20 January 2015 4:55 pm To: "Sujith Sankar (ssujith)" mailto:ssujith at cisco.com>> Cc: "dev at dpdk.org<mailto:dev at dpdk.org>" mailto:

[dpdk-dev] [PATCH v6 5/6] enicpmd: DPDK-ENIC PMD interface

2014-12-30 Thread Sujith Sankar (ssujith)
On 29/12/14 1:45 pm, "Wu, Jingjing" wrote: >Hi, ssujith > >> +.tx_queue_release = enicpmd_dev_tx_queue_release, >> +.dev_led_on = NULL, >> +.dev_led_off = NULL, >> +.flow_ctrl_get= NULL, >> +.flow_ctrl_set= NULL, >> +.priority_flow_

[dpdk-dev] [PATCH] enic: remove code under VFIO_PRESENT and use eal code for interrupts

2014-12-18 Thread Sujith Sankar
This patch removes the interrupt registration code which was under the flag VFIO_PRESENT and relies on the rte_lib code for the same. This also ignores the initial trigger of ISR from the lib. Signed-off-by: Sujith Sankar --- lib/librte_pmd_enic/enic_main.c | 117

[dpdk-dev] [PATCH] enic: corrected the usage of VFIO_PRESENT

2014-12-16 Thread Sujith Sankar (ssujith)
On 16/12/14 4:06 pm, "Burakov, Anatoly" wrote: >> -Original Message- >> From: Sujith Sankar (ssujith) [mailto:ssujith at cisco.com] >> Sent: Tuesday, December 16, 2014 10:34 AM >> To: Burakov, Anatoly; Thomas Monjalon >> Cc: dev at dpdk.org

[dpdk-dev] [PATCH] enic: corrected the usage of VFIO_PRESENT

2014-12-16 Thread Sujith Sankar (ssujith)
On 16/12/14 3:52 pm, "Burakov, Anatoly" wrote: >> On 16/12/14 4:54 am, "Thomas Monjalon" >> wrote: >> >> >2014-12-12 13:48, Sujith Sankar: >> >> This patch corrects the usage of the flag VFIO_PRESENT in enic >>driver. >>

[dpdk-dev] [PATCH] enic: corrected the usage of VFIO_PRESENT

2014-12-16 Thread Sujith Sankar (ssujith)
On 16/12/14 1:21 pm, "Qiu, Michael" wrote: >On 12/16/2014 12:13 PM, Sujith Sankar (ssujith) wrote: >> On 16/12/14 4:54 am, "Thomas Monjalon" >>wrote: >> >>> 2014-12-12 13:48, Sujith Sankar: >>>> This patch corrects the usage

[dpdk-dev] [PATCH] enic: corrected the usage of VFIO_PRESENT

2014-12-16 Thread Sujith Sankar (ssujith)
On 16/12/14 4:54 am, "Thomas Monjalon" wrote: >2014-12-12 13:48, Sujith Sankar: >> This patch corrects the usage of the flag VFIO_PRESENT in enic driver. > >Please, could you explain why the flag VFIO_PRESENT was not well used? Without including eal_vfio.h, VFIO_PR

[dpdk-dev] [PATCH] enic: corrected the usage of VFIO_PRESENT

2014-12-12 Thread Sujith Sankar
This patch corrects the usage of the flag VFIO_PRESENT in enic driver. This has uncovered a few warnings, and this patch corrects those too. Signed-off-by: Sujith Sankar --- lib/librte_pmd_enic/Makefile| 1 + lib/librte_pmd_enic/enic.h | 1 + lib/librte_pmd_enic/enic_main.c | 12

[dpdk-dev] [PATCH 0/2] enic fixes for clang compilation

2014-12-07 Thread Sujith Sankar (ssujith)
On 05/12/14 9:27 pm, "Bruce Richardson" wrote: >Compiling latest DPDK with clang 3.3 on FreeBSD 10 shows up a number of >compilation >errors in the enic driver. These two small patches fix those errors. > >Bruce Richardson (2): > enic: fix initialization error with clang > enic: fix error wit

[dpdk-dev] [PATCH] enic: fix warnings

2014-12-04 Thread Sujith Sankar (ssujith)
On 04/12/14 4:18 pm, "Thomas Monjalon" wrote: >2014-12-04 10:29, Sujith Sankar: >> >> On 02/12/14 8:29 pm, "Thomas Monjalon" >>wrote: >> >> >A lot of warnings were not seen because $(WERROR_FLAGS) was not set >> >in the Mak

[dpdk-dev] [PATCH] enic: fix warnings

2014-12-04 Thread Sujith Sankar (ssujith)
On 02/12/14 8:29 pm, "Thomas Monjalon" wrote: >A lot of warnings were not seen because $(WERROR_FLAGS) was not set >in the Makefile. But they appear with toolchains that enforce more checks. > >-Wno-deprecated seems useless. >-Wno-strict-aliasing is added to avoid false positives. > >This patch

[dpdk-dev] [PATCH] enic: fix warnings

2014-12-03 Thread Sujith Sankar (ssujith)
On 03/12/14 8:35 pm, "Thomas Monjalon" wrote: >2014-12-03 14:52, Sujith Sankar: >> >> On 02/12/14 8:29 pm, "Thomas Monjalon" >>wrote: >> >> >A lot of warnings were not seen because $(WERROR_FLAGS) was not set >> >in the Mak

[dpdk-dev] [PATCH] enic: fix warnings

2014-12-03 Thread Sujith Sankar (ssujith)
>vnic_dev *vdev) > return vdev->pdev; > } > >-static int vnic_dev_cmd_status(struct vnic_dev *vdev, enum >vnic_devcmd_cmd cmd, >- int *status) >-{ >- u64 a0 = cmd, a1 = 0; >- int wait = 1000; >- int ret; >- >- ret = vnic_dev_cmd(vdev, CMD_STATUS, &a0, &a1, wait); >- if (!ret) >- *status = (int)a0; >- >- return ret; >-} >- > int vnic_dev_set_mac_addr(struct vnic_dev *vdev, u8 *mac_addr) > { > u64 a0, a1; >diff --git a/lib/librte_pmd_enic/vnic/vnic_dev.h >b/lib/librte_pmd_enic/vnic/vnic_dev.h >index 8cc036b..d1373a5 100644 >--- a/lib/librte_pmd_enic/vnic/vnic_dev.h >+++ b/lib/librte_pmd_enic/vnic/vnic_dev.h >@@ -48,14 +48,14 @@ > #ifndef readq > static inline u64 readq(void __iomem *reg) > { >- return ((u64)readl(reg + 0x4UL) << 32) | >+ return ((u64)readl((char *)reg + 0x4UL) << 32) | > (u64)readl(reg); > } > > static inline void writeq(u64 val, void __iomem *reg) > { > writel(val & 0x, reg); >- writel(val >> 32, reg + 0x4UL); >+ writel(val >> 32, (char *)reg + 0x4UL); > } > #endif > >diff --git a/lib/librte_pmd_enic/vnic/vnic_intr.c >b/lib/librte_pmd_enic/vnic/vnic_intr.c >index 9be3744..84368af 100644 >--- a/lib/librte_pmd_enic/vnic/vnic_intr.c >+++ b/lib/librte_pmd_enic/vnic/vnic_intr.c >@@ -76,8 +76,3 @@ void vnic_intr_clean(struct vnic_intr *intr) > { > iowrite32(0, &intr->ctrl->int_credits); > } >- >-void vnic_intr_raise(struct vnic_intr *intr) >-{ >- vnic_dev_raise_intr(intr->vdev, (u16)intr->index); >-} >-- >2.1.3 Acked-by: Sujith Sankar >

[dpdk-dev] [PATCH] enicpd: Warnings and one error when built using clang compiler

2014-12-01 Thread Sujith Sankar (ssujith)
On 01/12/14 4:27 pm, "Bruce Richardson" wrote: >On Sat, Nov 29, 2014 at 12:47:37PM +0530, Sujith Sankar wrote: >> This patch fixes the warnings and error reported by clang compiler on >>Linux. >> >> Reported-by: Bruce Richardson >> Signed-off-by:

[dpdk-dev] [PATCH] enicpd: Warnings and one error when built using clang compiler

2014-11-29 Thread Sujith Sankar (ssujith)
On 29/11/14 4:47 pm, "Thomas Monjalon" wrote: >29/11/2014 07:22, Sujith Sankar : >> Sorry for the typo in the subject. It is enicpmd. > >Actually no, it should be enic. Usually we use enic to denote the kernel mode driver and enicpmd to denote the PMD. But it is alrig

[dpdk-dev] [PATCH] enicpd: Warnings and one error when built using clang compiler

2014-11-29 Thread Sujith Sankar
This patch fixes the warnings and error reported by clang compiler on Linux. Reported-by: Bruce Richardson Signed-off-by: Sujith Sankar --- lib/librte_pmd_enic/enic.h | 40 + lib/librte_pmd_enic/enic_compat.h | 1 + lib/librte_pmd_enic

[dpdk-dev] [PATCH] enicpd: Warnings and one error when built using clang compiler

2014-11-29 Thread Sujith Sankar (ssujith)
Hi all, Sorry for the typo in the subject. It is enicpmd. Bruce, Please try out this patch on FreeBSD and let me know if any fix is required. Thanks, -Sujith On 29/11/14 12:47 pm, "Sujith Sankar (ssujith)" wrote: >This patch fixes the warnings and error reported by clang compi

[dpdk-dev] [PATCH v2] enicpmd: replace the type u_int* with uint* to remove compilation errors on a few platforms

2014-11-28 Thread Sujith Sankar (ssujith)
On 28/11/14 9:36 pm, "Bruce Richardson" wrote: >On Fri, Nov 28, 2014 at 04:01:00PM +, Sujith Sankar (ssujith) wrote: >> >> >> On 28/11/14 9:22 pm, "Bruce Richardson" >>wrote: >> >> >On Fri, Nov 28, 2014 at 03:08:19PM +05

[dpdk-dev] [PATCH v2] enicpmd: replace the type u_int* with uint* to remove compilation errors on a few platforms

2014-11-28 Thread Sujith Sankar (ssujith)
On 28/11/14 9:22 pm, "Bruce Richardson" wrote: >On Fri, Nov 28, 2014 at 03:08:19PM +0530, Sujith Sankar wrote: >> ENIC PMD was giving compilation errors on ppc_64-power8-linuxapp-gcc >>because >> of types such as u_int32_t. This patch replaces all those with

[dpdk-dev] [PATCH v2] enicpmd: replace the type u_int* with uint* to remove compilation errors on a few platforms

2014-11-28 Thread Sujith Sankar
ENIC PMD was giving compilation errors on ppc_64-power8-linuxapp-gcc because of types such as u_int32_t. This patch replaces all those with uint32_t and similar ones. Reported-by: David Marchand Signed-off-by: Sujith Sankar --- lib/librte_pmd_enic/enic.h | 2 +- lib

[dpdk-dev] [PATCH] enicpmd: replace the type u_int* with uint* to remove compilation errors on a few platforms

2014-11-28 Thread Sujith Sankar
ENIC PMD was giving compilation errors on ppc_64-power8-linuxapp-gcc because of types such as u_int32_t. This patch replaces all those with uint32_t and similar ones. Reported-by: David Marchand Signed-off-by: Sujith Sankar --- lib/librte_pmd_enic/enic.h | 2 +- lib

[dpdk-dev] [PATCH v2] enicpmd: replace the type u_int* with uint* to remove compilation errors on a few platforms

2014-11-28 Thread Sujith Sankar (ssujith)
Sure Thomas. Thanks ! Do you want me to send this V2 again with these? -Sujith On 28/11/14 3:47 pm, "Thomas Monjalon" wrote: >Hi Sujith, > >Some tips when sending a v2: >- use --in-reply-to to keep all the versions in the same thread >- use --annotate to write a changelog > >These guidelines a

[dpdk-dev] [PATCH] enicpmd: replace the type u_int* with uint* to remove compilation errors on a few platforms

2014-11-28 Thread Sujith Sankar (ssujith)
: David Marchand mailto:david.march...@6wind.com>> Date: Friday, 28 November 2014 2:18 pm To: "Sujith Sankar (ssujith)" mailto:ssujith at cisco.com>> Cc: "dev at dpdk.org<mailto:dev at dpdk.org>" mailto:dev at dpdk.org>> Subject: Re: [dpdk-dev] [PATCH] en

[dpdk-dev] [PATCH] enicpmd: compilation error during inclusion of vfio.h

2014-11-28 Thread Sujith Sankar (ssujith)
On 28/11/14 1:54 am, "Thomas Monjalon" wrote: >2014-11-27 19:01, Thomas Monjalon: >> 2014-11-27 22:44, Sujith Sankar: >> > Inclusion of vfio.h was giving compilation errors if kernel version >>is less >> > than 3.6.0 and if RTE_EAL_VFIO was on in conf

[dpdk-dev] [PATCH] enicpmd: compilation error during inclusion of vfio.h

2014-11-27 Thread Sujith Sankar
Inclusion of vfio.h was giving compilation errors if kernel version is less than 3.6.0 and if RTE_EAL_VFIO was on in config. Replaced inclusion of vfio.h with eal_vfio.h and replaced RTE_EAL_VFIO with VFIO_PRESENT in enicpmd code. Signed-off-by: Sujith Sankar --- lib/librte_pmd_enic/Makefile

[dpdk-dev] [PATCH] enicpmd: compilation error during inclusion of vfio.h

2014-11-27 Thread Sujith Sankar (ssujith)
On 27/11/14 10:44 pm, "Sujith Sankar (ssujith)" wrote: >Inclusion of vfio.h was giving compilation errors if kernel version is >less >than 3.6.0 and if RTE_EAL_VFIO was on in config. > >Replaced inclusion of vfio.h with eal_vfio.h and replaced RTE_EAL_VFIO >with &

[dpdk-dev] [PATCH] config: disable enic driver on Power

2014-11-27 Thread Sujith Sankar (ssujith)
Marchand mailto:david.march...@6wind.com>> Date: Thursday, 27 November 2014 5:14 pm To: "Sujith Sankar (ssujith)" mailto:ssujith at cisco.com>> Cc: Chao Zhu mailto:chaozhu at linux.vnet.ibm.com>>, "dev at dpdk.org<mailto:dev at dpdk.org>" mailto:d

[dpdk-dev] [PATCH v6 0/6] enicpmd: Cisco Systems Inc. VIC Ethernet PMD

2014-11-27 Thread Sujith Sankar (ssujith)
ot; wrote: >> > ENIC PMD is the poll-mode driver for the Cisco Systems Inc. VIC to be >> > used with DPDK suite. >> > >> > Sujith Sankar (6): >> > enicpmd: License text >> > enicpmd: Makefile >> > enicpmd: VNIC common code partially share

[dpdk-dev] [PATCH v5 6/6] enicpmd: DPDK changes for accommodating ENIC PMD

2014-11-26 Thread Sujith Sankar
Signed-off-by: Sujith Sankar --- config/common_linuxapp | 5 + lib/Makefile | 1 + mk/rte.app.mk | 4 3 files changed, 10 insertions(+) diff --git a/config/common_linuxapp b/config/common_linuxapp index 86a0d15..542fff2 100644 --- a/config/common_linuxapp +++ b

[dpdk-dev] [PATCH v5 5/6] enicpmd: DPDK-ENIC PMD interface

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

[dpdk-dev] [PATCH v5 4/6] enicpmd: pmd specific code

2014-11-26 Thread Sujith Sankar
Signed-off-by: Sujith Sankar --- lib/librte_pmd_enic/enic.h| 157 + lib/librte_pmd_enic/enic_clsf.c | 244 +++ lib/librte_pmd_enic/enic_compat.h | 142 + lib/librte_pmd_enic/enic_main.c | 1266 + lib/librte_pmd_enic/enic_res.c

[dpdk-dev] [PATCH v5 3/6] enicpmd: VNIC common code partially shared with ENIC kernel mode driver

2014-11-26 Thread Sujith Sankar
Signed-off-by: Sujith Sankar --- lib/librte_pmd_enic/vnic/cq_desc.h | 126 lib/librte_pmd_enic/vnic/cq_enet_desc.h | 261 lib/librte_pmd_enic/vnic/rq_enet_desc.h | 76 +++ lib/librte_pmd_enic/vnic/vnic_cq.c | 117 lib/librte_pmd_enic/vnic/vnic_cq.h

[dpdk-dev] [PATCH v5 2/6] enicpmd: Makefile

2014-11-26 Thread Sujith Sankar
Signed-off-by: Sujith Sankar --- lib/librte_pmd_enic/Makefile | 67 1 file changed, 67 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

[dpdk-dev] [PATCH v5 1/6] enicpmd: License text

2014-11-26 Thread Sujith Sankar
Signed-off-by: Sujith Sankar --- lib/librte_pmd_enic/LICENSE | 27 +++ 1 file changed, 27 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..0ad2216

[dpdk-dev] [PATCH v5 0/6] enicpmd: Cisco Systems Inc. VIC Ethernet PMD

2014-11-26 Thread Sujith Sankar
ENIC PMD is the poll-mode driver for the Cisco Systems Inc. VIC to be used with DPDK suite. Sujith Sankar (6): enicpmd: License text enicpmd: Makefile enicpmd: VNIC common code partially shared with ENIC kernel mode driver enicpmd: pmd specific code enicpmd: DPDK-ENIC PMD interface

[dpdk-dev] [PATCH v6 6/6] enicpmd: DPDK changes for accommodating ENIC PMD

2014-11-25 Thread Sujith Sankar
Signed-off-by: Sujith Sankar --- config/common_linuxapp | 5 + lib/Makefile | 1 + mk/rte.app.mk | 4 3 files changed, 10 insertions(+) diff --git a/config/common_linuxapp b/config/common_linuxapp index 6243d4b..51edbd9 100644 --- a/config/common_linuxapp +++ b

[dpdk-dev] [PATCH v6 5/6] enicpmd: DPDK-ENIC PMD interface

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

[dpdk-dev] [PATCH v6 4/6] enicpmd: pmd specific code

2014-11-25 Thread Sujith Sankar
Signed-off-by: Sujith Sankar --- lib/librte_pmd_enic/enic.h| 157 + lib/librte_pmd_enic/enic_clsf.c | 244 +++ lib/librte_pmd_enic/enic_compat.h | 142 + lib/librte_pmd_enic/enic_main.c | 1266 + lib/librte_pmd_enic/enic_res.c

[dpdk-dev] [PATCH v6 3/6] enicpmd: VNIC common code partially shared with ENIC kernel mode driver

2014-11-25 Thread Sujith Sankar
Signed-off-by: Sujith Sankar --- lib/librte_pmd_enic/vnic/cq_desc.h | 126 lib/librte_pmd_enic/vnic/cq_enet_desc.h | 261 lib/librte_pmd_enic/vnic/rq_enet_desc.h | 76 +++ lib/librte_pmd_enic/vnic/vnic_cq.c | 117 lib/librte_pmd_enic/vnic/vnic_cq.h

[dpdk-dev] [PATCH v6 2/6] enicpmd: Makefile

2014-11-25 Thread Sujith Sankar
Signed-off-by: Sujith Sankar --- lib/librte_pmd_enic/Makefile | 67 1 file changed, 67 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

[dpdk-dev] [PATCH v6 1/6] enicpmd: License text

2014-11-25 Thread Sujith Sankar
Signed-off-by: Sujith Sankar --- lib/librte_pmd_enic/LICENSE | 27 +++ 1 file changed, 27 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..46a27a4

[dpdk-dev] [PATCH v6 0/6] enicpmd: Cisco Systems Inc. VIC Ethernet PMD

2014-11-25 Thread Sujith Sankar
ENIC PMD is the poll-mode driver for the Cisco Systems Inc. VIC to be used with DPDK suite. Sujith Sankar (6): enicpmd: License text enicpmd: Makefile enicpmd: VNIC common code partially shared with ENIC kernel mode driver enicpmd: pmd specific code enicpmd: DPDK-ENIC PMD interface

[dpdk-dev] [PATCH v4 6/6] DPDK changes for accommodating ENIC PMD

2014-11-25 Thread Sujith Sankar
Signed-off-by: Sujith Sankar --- config/common_linuxapp | 5 + lib/Makefile | 1 + lib/librte_eal/linuxapp/eal/eal_pci_vfio.c | 1 + mk/rte.app.mk | 4 4 files changed, 11 insertions(+) diff --git a/config

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

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

[dpdk-dev] [PATCH v4 4/6] ENIC PMD specific code

2014-11-25 Thread Sujith Sankar
Signed-off-by: Sujith Sankar --- lib/librte_pmd_enic/enic.h| 157 + lib/librte_pmd_enic/enic_clsf.c | 244 +++ lib/librte_pmd_enic/enic_compat.h | 142 + lib/librte_pmd_enic/enic_main.c | 1266 + lib/librte_pmd_enic/enic_res.c

[dpdk-dev] [PATCH v4 3/6] VNIC common code partially shared with ENIC kernel mode driver

2014-11-25 Thread Sujith Sankar
Signed-off-by: Sujith Sankar --- lib/librte_pmd_enic/vnic/cq_desc.h | 126 lib/librte_pmd_enic/vnic/cq_enet_desc.h | 261 lib/librte_pmd_enic/vnic/rq_enet_desc.h | 76 +++ lib/librte_pmd_enic/vnic/vnic_cq.c | 117 lib/librte_pmd_enic/vnic/vnic_cq.h

[dpdk-dev] [PATCH v4 2/6] ENIC PMD Makefile

2014-11-25 Thread Sujith Sankar
Signed-off-by: Sujith Sankar --- lib/librte_pmd_enic/Makefile | 67 1 file changed, 67 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

[dpdk-dev] [PATCH v4 1/6] ENIC PMD License

2014-11-25 Thread Sujith Sankar
Signed-off-by: Sujith Sankar --- lib/librte_pmd_enic/LICENSE | 27 +++ 1 file changed, 27 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..0ad2216

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

2014-11-25 Thread Sujith Sankar
ENIC PMD is the poll-mode driver for the Cisco Systems Inc. VIC to be used with DPDK suite. Sujith Sankar (6): ENIC PMD License ENIC PMD Makefile VNIC common code partially shared with ENIC kernel mode driver ENIC PMD specific code DPDK-ENIC PMD interface DPDK changes for

[dpdk-dev] [PATCH v5 0/6] enicpmd: Cisco Systems Inc. VIC Ethernet PMD

2014-11-25 Thread Sujith Sankar (ssujith)
Thanks David. I shall rectify those. Regards, -Sujith From: David Marchand mailto:david.march...@6wind.com>> Date: Tuesday, 25 November 2014 8:58 pm To: "Sujith Sankar (ssujith)" mailto:ssujith at cisco.com>> Cc: "dev at dpdk.org<mailto:dev at dpdk.org>"

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

2014-11-25 Thread Sujith Sankar (ssujith)
November 2014 3:35 pm To: "Sujith Sankar (ssujith)" Cc: "dev at dpdk.org" , "Prasad Rao (prrao)" Subject: Re: [dpdk-dev] [PATCH v4 0/6] Cisco Systems Inc. VIC Ethernet PMD - ENIC PMD Hello Sujith, - This is a comment for the whole patchset. Patch subjects and

[dpdk-dev] [PATCH v4 6/6] DPDK changes for accommodating ENIC PMD

2014-11-25 Thread Sujith Sankar (ssujith)
vid. Regards, -Sujith From: David Marchand Date: Tuesday, 25 November 2014 3:32 pm To: "Sujith Sankar (ssujith)" Cc: "dev at dpdk.org" , "Prasad Rao (prrao)" Subject: Re: [dpdk-dev] [PATCH v4 6/6] DPDK changes for accommodating ENIC PMD Hello Sujith,

[dpdk-dev] [PATCH v3 6/6] DPDK changes for accommodating ENIC PMD

2014-11-25 Thread Sujith Sankar (ssujith)
On 24/11/14 10:49 pm, "Neil Horman" wrote: >On Mon, Nov 24, 2014 at 04:12:48PM +, Sujith Sankar (ssujith) wrote: >> >> >> On 24/11/14 5:03 pm, "Neil Horman" wrote: >> >> >On Mon, Nov 24, 2014 at 05:45:54AM +, Sujith Sankar (s

[dpdk-dev] [PATCH v3 6/6] DPDK changes for accommodating ENIC PMD

2014-11-24 Thread Sujith Sankar (ssujith)
David, ENIC PMD needs info about BAR0 only, and vfio map routine puts it at index 0. So, it didn?t pose trouble. Regards, -Sujith From: David Marchand mailto:david.march...@6wind.com>> Date: Monday, 24 November 2014 9:45 pm To: "Sujith Sankar (ssujith)" mailto:ssujith at cisc

[dpdk-dev] [PATCH v3 6/6] DPDK changes for accommodating ENIC PMD

2014-11-24 Thread Sujith Sankar (ssujith)
On 24/11/14 5:03 pm, "Neil Horman" wrote: >On Mon, Nov 24, 2014 at 05:45:54AM +, Sujith Sankar (ssujith) wrote: >> >> >> On 24/11/14 5:47 am, "Neil Horman" wrote: >> >> >On Sun, Nov 23, 2014 at 09:38:19PM +0530,

[dpdk-dev] [PATCH v3 6/6] DPDK changes for accommodating ENIC PMD

2014-11-24 Thread Sujith Sankar (ssujith)
ay, 24 November 2014 4:33 pm To: "Sujith Sankar (ssujith)" mailto:ssujith at cisco.com>> Cc: "dev at dpdk.org<mailto:dev at dpdk.org>" mailto:dev at dpdk.org>>, "Prasad Rao (prrao)" mailto:prrao at cisco.com>> Subject: Re: [dpdk-dev] [PATCH v

[dpdk-dev] [PATCH v3 6/6] DPDK changes for accommodating ENIC PMD

2014-11-24 Thread Sujith Sankar (ssujith)
On 24/11/14 5:47 am, "Neil Horman" wrote: >On Sun, Nov 23, 2014 at 09:38:19PM +0530, Sujith Sankar wrote: >> Signed-off-by: Sujith Sankar >> --- >> config/common_linuxapp | 5 + >> lib/Makefile

[dpdk-dev] [PATCH v3 6/6] DPDK changes for accommodating ENIC PMD

2014-11-23 Thread Sujith Sankar
Signed-off-by: Sujith Sankar --- config/common_linuxapp | 5 + lib/Makefile | 1 + lib/librte_eal/linuxapp/eal/eal_pci_vfio.c | 7 +++ lib/librte_eal/linuxapp/eal/include/eal_pci_init.h | 1 + mk/rte.app.mk

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

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

[dpdk-dev] [PATCH v3 4/6] ENIC PMD specific code

2014-11-23 Thread Sujith Sankar
Signed-off-by: Sujith Sankar --- lib/librte_pmd_enic/enic.h| 158 + lib/librte_pmd_enic/enic_clsf.c | 244 +++ lib/librte_pmd_enic/enic_compat.h | 142 lib/librte_pmd_enic/enic_main.c | 1328 + lib/librte_pmd_enic/enic_res.c

[dpdk-dev] [PATCH v3 3/6] VNIC common code partially shared with ENIC kernel mode driver

2014-11-23 Thread Sujith Sankar
Signed-off-by: Sujith Sankar --- lib/librte_pmd_enic/vnic/cq_desc.h | 126 lib/librte_pmd_enic/vnic/cq_enet_desc.h | 261 lib/librte_pmd_enic/vnic/rq_enet_desc.h | 76 +++ lib/librte_pmd_enic/vnic/vnic_cq.c | 117 lib/librte_pmd_enic/vnic/vnic_cq.h

[dpdk-dev] [PATCH v3 2/6] ENIC PMD Makefile

2014-11-23 Thread Sujith Sankar
Signed-off-by: Sujith Sankar --- lib/librte_pmd_enic/Makefile | 67 1 file changed, 67 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

[dpdk-dev] [PATCH v3 1/6] ENIC PMD License

2014-11-23 Thread Sujith Sankar
Signed-off-by: Sujith Sankar --- lib/librte_pmd_enic/LICENSE | 27 +++ 1 file changed, 27 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..0ad2216

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

2014-11-23 Thread Sujith Sankar
ENIC PMD is the poll-mode driver for the Cisco Systems Inc. VIC to be used with DPDK suite. Sujith Sankar (6): ENIC PMD License ENIC PMD Makefile VNIC common code partially shared with ENIC kernel mode driver ENIC PMD specific code DPDK-ENIC PMD interface DPDK changes for

[dpdk-dev] [PATCH v2 6/6] DPDK changes for accommodating ENIC PMD

2014-11-21 Thread Sujith Sankar
Signed-off-by: Sujith Sankar --- config/common_linuxapp | 6 ++ lib/Makefile | 1 + lib/librte_eal/linuxapp/eal/eal_pci_vfio.c | 7 +++ lib/librte_eal/linuxapp/eal/include/eal_pci_init.h | 1 + mk/rte.app.mk

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

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

[dpdk-dev] [PATCH v2 4/6] ENIC PMD specific code

2014-11-21 Thread Sujith Sankar
Signed-off-by: Sujith Sankar --- lib/librte_pmd_enic/enic.h| 158 + lib/librte_pmd_enic/enic_clsf.c | 244 +++ lib/librte_pmd_enic/enic_compat.h | 142 lib/librte_pmd_enic/enic_main.c | 1328 + lib/librte_pmd_enic/enic_res.c

[dpdk-dev] [PATCH v2 3/6] VNIC common code partially shared with ENIC kernel mode driver

2014-11-21 Thread Sujith Sankar
Signed-off-by: Sujith Sankar --- lib/librte_pmd_enic/vnic/cq_desc.h | 126 lib/librte_pmd_enic/vnic/cq_enet_desc.h | 261 lib/librte_pmd_enic/vnic/rq_enet_desc.h | 76 +++ lib/librte_pmd_enic/vnic/vnic_cq.c | 117 lib/librte_pmd_enic/vnic/vnic_cq.h

[dpdk-dev] [PATCH v2 2/6] ENIC PMD Makefile

2014-11-21 Thread Sujith Sankar
Signed-off-by: Sujith Sankar --- lib/librte_pmd_enic/Makefile | 67 1 file changed, 67 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

[dpdk-dev] [PATCH v2 1/6] ENIC PMD License

2014-11-21 Thread Sujith Sankar
Signed-off-by: Sujith Sankar --- lib/librte_pmd_enic/LICENSE | 27 +++ 1 file changed, 27 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..0ad2216

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

2014-11-21 Thread Sujith Sankar
ENIC PMD is the poll-mode driver for the Cisco Systems Inc. VIC to be used with DPDK suite. Sujith Sankar (6): ENIC PMD License ENIC PMD Makefile VNIC common code partially shared with ENIC kernel mode driver ENIC PMD specific code DPDK-ENIC PMD interface DPDK changes for

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

2014-11-21 Thread Sujith Sankar (ssujith)
Thanks for the comments, Neil. I shall include those in v3. Regards, -Sujith On 21/11/14 6:54 pm, "Neil Horman" wrote: >On Fri, Nov 21, 2014 at 10:03:02PM +0530, Sujith Sankar wrote: >> Signed-off-by: Sujith Sankar >> --- >> lib/librte

[dpdk-dev] [PATCH v2 2/6] ENIC PMD Makefile

2014-11-21 Thread Sujith Sankar (ssujith)
On 21/11/14 5:03 pm, "Neil Horman" wrote: >On Fri, Nov 21, 2014 at 10:02:59PM +0530, Sujith Sankar wrote: >> Signed-off-by: Sujith Sankar >> --- >> lib/librte_pmd_enic/Makefile | 67 >> >> 1 file changed,

  1   2   >