[dpdk-dev] possibility of running dpdk mlx on linux 4.12.x kernel

2018-01-31 Thread Nirmoy Das
Hi Adrien/Nelio, I am trying to find out what kernel changes need to be back-ported for Linux kernel 4.12 from 4.14. We have rdma-core 16 and dpdk 17.11 already. Wondering if that back port is possible at all. It would be great if I get some specific kernel commits(when possible) that are mandat

[dpdk-dev] KNI latency improvement

2017-12-29 Thread Nirmoy Das
Hi Ferruh, There is latency in the range of milliseconds when packets are passed through KNI up to the IP stack. With CONFIG_RTE_KNI_PREEMPT_DEFAULT=n its required sacrifice a cpu core. Do you have any suggestion to improve latency without sacrificing a cpu? What do you think about using cond_res

Re: [dpdk-dev] [PATCH v2] kni: fix build on SLE12 SP3

2017-09-05 Thread Nirmoy Das
On 09/04/2017 11:46 AM, Ferruh Yigit wrote: > On 8/29/2017 4:06 PM, Nirmoy Das wrote: >> compilation error: >> build/lib/librte_eal/linuxapp/kni/kni_net.c:215:5: error: >> ‘struct net_device’ has no member named ‘trans_start’ >> dev->trans_start = jiffies; &

[dpdk-dev] [PATCH v2] kni: fix build on SLE12 SP3

2017-08-29 Thread Nirmoy Das
compilation error: build/lib/librte_eal/linuxapp/kni/kni_net.c:215:5: error: ‘struct net_device’ has no member named ‘trans_start’ dev->trans_start = jiffies; Signed-off-by: Nirmoy Das --- lib/librte_eal/linuxapp/kni/compat.h | 32 +++- 1 file changed,

[dpdk-dev] [PATCH] kni: fix build on SLE12 SP3

2017-08-15 Thread Nirmoy Das
compilation error: build/lib/librte_eal/linuxapp/kni/kni_net.c:215:5: error: ‘struct net_device’ has no member named ‘trans_start’ dev->trans_start = jiffies; Signed-off-by: Nirmoy Das --- lib/librte_eal/linuxapp/kni/compat.h | 32 +++- 1 file changed,

[dpdk-dev] [PATCH] kni: fix SLE version detection

2017-08-11 Thread Nirmoy Das
detect SLE version reverse chronologically as ">=" is being used. Signed-off-by: Nirmoy Das --- lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h | 24 +++ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb

Re: [dpdk-dev] [PATCH] mk: disable new gcc truncation flag

2017-06-13 Thread Nirmoy Das
On 06/12/2017 04:35 PM, Markos Chandras wrote: > On 06/02/2017 07:38 PM, Markos Chandras wrote: >> On 06/02/2017 05:31 PM, Nirmoy Das wrote: >>> disable truncation check to ignore below warning >>> dpdk/x86_64-native-linuxapp-gcc-default/build/lib/librte_eal/linu

[dpdk-dev] [PATCH] mk: disable new gcc truncation flag

2017-06-02 Thread Nirmoy Das
=] Signed-off-by: Nirmoy Das --- lib/librte_eal/linuxapp/kni/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/librte_eal/linuxapp/kni/Makefile b/lib/librte_eal/linuxapp/kni/Makefile index 154c528db..79bb498dd 100644 --- a/lib/librte_eal/linuxapp/kni/Makefile +++ b/lib/librte_ea

[dpdk-dev] [PATCH v3] kni: define HAVE_VF_VLAN_PROTO for SLES12SP3

2017-04-04 Thread Nirmoy Das
Add support for SLES12SP3, which uses kernel 4.4, but backported features from newer kernels. Signed-off-by: Nirmoy Das --- lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb

[dpdk-dev] [PATCH v2] kni: define HAVE_VF_VLAN_PROTO for SLES12SP3

2017-04-04 Thread Nirmoy Das
Add support for SLES12SP3, which uses kernel 4.4, but backported features from newer kernels. Signed-off-by: Nirmoy Das --- lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb

[dpdk-dev] [PATCH v2] pci: fix glibc 2.25 warning regarding major/minor definitions

2017-04-04 Thread Nirmoy Das
", you should undefine it after including . [-Werror] dev = makedev(major, minor); ^~~~~~~~~~~~~ Signed-off-by: Nirmoy Das --- lib/librte_eal/linuxapp/eal/eal_pci_uio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_eal/linuxapp/eal/eal_pci_uio.c b/lib/librte_

[dpdk-dev] [PATCH] pci: fix glibc 2.25 warning regarding major/minor definitions

2017-04-04 Thread Nirmoy Das
fixes: error: In the GNU C Library, "makedev" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "makedev", include directly. If you did not intend to use a system-defined macro "makedev", you should undefine it after includin

Re: [dpdk-dev] [PATCH] kni: define HAVE_VF_VLAN_PROTO for SLES12SP3

2017-04-03 Thread Nirmoy Das
On 03/31/2017 04:10 PM, Ferruh Yigit wrote: > On 3/31/2017 12:32 PM, Nirmoy Das wrote: >> Add support for SLES12SP3, which uses kernel 4.4, >> but backported features from newer kernels. >> >> Signed-off-by: Nirmoy Das >> --- >> lib/librte_eal

[dpdk-dev] [PATCH] kni: define HAVE_VF_VLAN_PROTO for SLES12SP3

2017-03-31 Thread Nirmoy Das
Add support for SLES12SP3, which uses kernel 4.4, but backported features from newer kernels. Signed-off-by: Nirmoy Das --- lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb

[dpdk-dev] [PATCH] app/testpmd: Fix typos

2017-02-27 Thread Nirmoy Das
fixes trivial typos in app/test-pmd/cmdline.c, app/test-pmd/icmpecho.c, app/test-pmd/testpmd.c Signed-off-by: Nirmoy Das --- app/test-pmd/cmdline.c | 4 ++-- app/test-pmd/icmpecho.c | 4 ++-- app/test-pmd/testpmd.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app

[dpdk-dev] Error: unbind failed

2016-08-22 Thread Nirmoy Das
make sure uio_pci_generic driver is loaded. Checking dmesg might give more info On 08/21/2016 04:17 PM, Keren Hochman wrote: > Hello, > I installed dpdk on ubuntu VM. when I tried to bind the device to the driver > I received the following error: > /dpdk-devbind.py --bind=uio_pci_generic eth3 >

[dpdk-dev] dpdk and sriov nic without igb_uio

2016-06-13 Thread nirmoy das
Hi .., I am trying to find a way to use dpdk in a VM with sriov nic without using igb_uio. uio_pci_generic: failed with "No IRQ assigned to device: no support for interrupts?". vfio-pci also doesn't work on linux < 4.5 and need dpdk > 16.04. Is this a deadend for dpdk+sriov If I have linux < 4

[dpdk-dev] RFC: DPDK Long Term Support

2016-06-06 Thread Nirmoy Das
> LTS Version > > > The proposed initial LTS version will be DPDK 16.07. The next versions, based > on a 2 year cycle, will be DPDK 18.08, 20.08, etc. Hi, I can see 16.07's release due date is 18th July. Is it possible to know the timeline for RC versions of dpdk-16.07 ? This might