Re: Regarding Mellanox bifurcated driver on Azure

2025-05-05 Thread Prashant Upadhyaya
On Wed, 30 Apr 2025 at 22:21, Stephen Hemminger wrote: > On Wed, 30 Apr 2025 22:00:29 +0530 > Prashant Upadhyaya wrote: > > > On Wed, 30 Apr 2025 at 19:58, Stephen Hemminger < > step...@networkplumber.org> > > wrote: > > > > > On Wed, 30 Apr 2025 1

Re: Regarding Mellanox bifurcated driver on Azure

2025-04-30 Thread Prashant Upadhyaya
On Wed, 30 Apr 2025 at 19:58, Stephen Hemminger wrote: > On Wed, 30 Apr 2025 13:00:53 +0530 > Prashant Upadhyaya wrote: > > > > With DPDK on Azure, an application should never use the VF directly. > > > It needs to use either netvsc PMD which handles both the vmbus

Re: Regarding Mellanox bifurcated driver on Azure

2025-04-30 Thread Prashant Upadhyaya
On Tue, 29 Apr 2025 at 21:54, Stephen Hemminger wrote: > On Tue, 29 Apr 2025 21:45:36 +0530 > Prashant Upadhyaya wrote: > > > On Mon, 28 Apr 2025 at 21:07, Stephen Hemminger < > step...@networkplumber.org> > > wrote: > > > > > On Mon, 28 Apr 2025 1

Re: Regarding Mellanox bifurcated driver on Azure

2025-04-29 Thread Prashant Upadhyaya
On Mon, 28 Apr 2025 at 21:07, Stephen Hemminger wrote: > On Mon, 28 Apr 2025 11:31:10 +0530 > Prashant Upadhyaya wrote: > > > On Sat, 26 Apr 2025 at 20:58, Stephen Hemminger < > step...@networkplumber.org> > > wrote: > > > > > On Fri, 25 Apr 2025 2

Re: Regarding Mellanox bifurcated driver on Azure

2025-04-27 Thread Prashant Upadhyaya
On Sat, 26 Apr 2025 at 20:58, Stephen Hemminger wrote: > On Fri, 25 Apr 2025 23:17:30 +0530 > Prashant Upadhyaya wrote: > > > Hi, > > > > I am having a VM on Azure where I have got two 'accelerated networking' > > interfaces of Mellanox > > #

Regarding Mellanox bifurcated driver on Azure

2025-04-25 Thread Prashant Upadhyaya
Hi, I am having a VM on Azure where I have got two 'accelerated networking' interfaces of Mellanox # lspci -nn|grep -i ether 6561:00:02.0 Ethernet controller [0200]: Mellanox Technologies MT27710 Family [ConnectX-4 Lx Virtual Function] [15b3:1016] (rev 80) f08c:00:02.0 Ethernet controller [0200]:

Re: Regarding port numbers assigned by DPDK for PCI devices

2024-07-31 Thread Prashant Upadhyaya
On Tue, 30 Jul 2024 at 13:45, Bruce Richardson wrote: > On Tue, Jul 30, 2024 at 11:06:56AM +0530, Prashant Upadhyaya wrote: > >On Mon, 29 Jul 2024 at 23:13, Dmitry Kozlyuk > ><[1]dmitry.kozl...@gmail.com> wrote: > > > > 2024-07-29 22:18 (UTC+0530),

Re: Regarding port numbers assigned by DPDK for PCI devices

2024-07-31 Thread Prashant Upadhyaya
On Wed, 31 Jul 2024 at 14:35, Ferruh Yigit wrote: > On 7/30/2024 6:36 AM, Prashant Upadhyaya wrote: > > > > > > > > On Mon, 29 Jul 2024 at 23:13, Dmitry Kozlyuk > <mailto:dmitry.kozl...@gmail.com>> wrote: > > > > 2024-07-29

Re: Regarding port numbers assigned by DPDK for PCI devices

2024-07-29 Thread Prashant Upadhyaya
On Mon, 29 Jul 2024 at 23:13, Dmitry Kozlyuk wrote: > 2024-07-29 22:18 (UTC+0530), Prashant Upadhyaya: > > Hi, > > > > I have 4 ethernet interfaces available as PCI devices. > > The PCI addresses are known. > > When I start my DPDK application, it starts up

Regarding port numbers assigned by DPDK for PCI devices

2024-07-29 Thread Prashant Upadhyaya
Hi, I have 4 ethernet interfaces available as PCI devices. The PCI addresses are known. When I start my DPDK application, it starts up properly and assigns the port numbers to them as 0, 1, 2, 3 expectedly. However, is there a way I can force that a particular PCI address should be identified as

Re: PMD for non PCI device

2024-02-14 Thread Prashant Upadhyaya
On Tue, 6 Feb 2024 at 21:28, Jerin Jacob wrote: > > On Tue, Feb 6, 2024 at 9:20 PM Prashant Upadhyaya > wrote: > > > > On Tue, 6 Feb 2024 at 19:43, Bruce Richardson > > wrote: > > > > > > On Tue, Feb 06, 2024 at 07:36:16PM +0530, Prashant Upadhyay

Re: PMD for non PCI device

2024-02-06 Thread Prashant Upadhyaya
On Tue, 6 Feb 2024 at 19:43, Bruce Richardson wrote: > > On Tue, Feb 06, 2024 at 07:36:16PM +0530, Prashant Upadhyaya wrote: > > Hi, > > > > I have a usecase where I have to evaluate writing a DPDK PMD for a non > > PCI/e device doing the ethernet packet i/o. >

PMD for non PCI device

2024-02-06 Thread Prashant Upadhyaya
Hi, I have a usecase where I have to evaluate writing a DPDK PMD for a non PCI/e device doing the ethernet packet i/o. Wanted to know if the above usecase is supported by DPDK infra and any pointers on how one should go about writing a PMD for such a usecase if supported. Would appreciate any inp

Re: Regarding DPDK API's like rte_timer_subsystem_init/rte_hash_create etc. in VPP

2023-04-13 Thread Prashant Upadhyaya
On Fri, Mar 31, 2023 at 4:19 PM Bruce Richardson wrote: > > On Fri, Mar 31, 2023 at 03:11:18PM +0530, Prashant Upadhyaya wrote: > > On Thu, Mar 30, 2023 at 7:34 PM Bruce Richardson > > wrote: > > > > > > On Thu, Mar 30, 2023 at 07:07:23PM +0530, Prashant Upa

Re: Regarding DPDK API's like rte_timer_subsystem_init/rte_hash_create etc. in VPP

2023-03-31 Thread Prashant Upadhyaya
On Thu, Mar 30, 2023 at 7:34 PM Bruce Richardson wrote: > > On Thu, Mar 30, 2023 at 07:07:23PM +0530, Prashant Upadhyaya wrote: > > On Thu, Mar 30, 2023 at 6:47 PM Bruce Richardson > > wrote: > > > > > > On Thu, Mar 30, 2023 at 06:42:58PM +0530, Prashant Upa

Re: Regarding DPDK API's like rte_timer_subsystem_init/rte_hash_create etc. in VPP

2023-03-30 Thread Prashant Upadhyaya
On Thu, Mar 30, 2023 at 6:47 PM Bruce Richardson wrote: > > On Thu, Mar 30, 2023 at 06:42:58PM +0530, Prashant Upadhyaya wrote: > > On Thu, Mar 30, 2023 at 2:50 PM Bruce Richardson > > wrote: > > > > > > On Thu, Mar 30, 2023 at 01:57:52PM +0530,

Re: Regarding DPDK API's like rte_timer_subsystem_init/rte_hash_create etc. in VPP

2023-03-30 Thread Prashant Upadhyaya
On Thu, Mar 30, 2023 at 2:50 PM Bruce Richardson wrote: > > On Thu, Mar 30, 2023 at 01:57:52PM +0530, Prashant Upadhyaya wrote: > > Hi, > > > > FYI, when replying on list, it's best not to top-post, but put your replies > below the email snippet you are replying

Re: Regarding DPDK API's like rte_timer_subsystem_init/rte_hash_create etc. in VPP

2023-03-30 Thread Prashant Upadhyaya
the code and apparently the memzone and rte zmalloc related api's are not being able to allocate memory. Regards -Prashant On Thu, Mar 30, 2023 at 1:30 PM Bruce Richardson wrote: > > On Thu, Mar 30, 2023 at 10:30:24AM +0530, Prashant Upadhyaya wrote: > > Hi, > > > > W

Regarding DPDK API's like rte_timer_subsystem_init/rte_hash_create etc. in VPP

2023-03-29 Thread Prashant Upadhyaya
Hi, While trying to port some code to VPP (which uses DPDK as the backend driver), I am running into a problem that calls to API's like rte_timer_subsystem_init, rte_hash_create are failing while allocation of memory. This is presumably because VPP inits the EAL with the following arguments -- -

Re: [dpdk-dev] Regarding rte_eth_rx_burst

2020-05-11 Thread Prashant Upadhyaya
should be up to the application to use the API more efficiently, it should not mean that the usecase should stop working altogether if somebody polls for 1 mbuf. Regards -Prashant On Mon, May 11, 2020 at 11:58 AM Wang, Haiyue wrote: > > > -Original Message- > > From: Prasha

Re: [dpdk-dev] Regarding rte_eth_rx_burst

2020-05-10 Thread Prashant Upadhyaya
for 1 mbuf and keeps wondering why the rx is not working. Regards -Prashant On Sun, May 10, 2020 at 10:46 PM Wang, Haiyue wrote: > > > -Original Message- > > From: dev On Behalf Of Prashant Upadhyaya > > Sent: Sunday, May 10, 2020 22:06 > > To: dev@dpdk.org &

[dpdk-dev] Regarding rte_eth_rx_burst

2020-05-10 Thread Prashant Upadhyaya
Hi, I recently started using X722 NIC which uses i40 PMD of DPDK. I am on DPDK 20.02. I am seeing that when I call the rte_eth_rx_burst with last argument as 1 (polling for 1 mbuf), then I am not receiving data via repeated calls. When I go for calls to rte_eth_rx_burst with last argument as 32, t

[dpdk-dev] Query regarding mailbox interface (VFD relatated)

2018-05-29 Thread Prashant Upadhyaya
Hi, I was using testpmd in host and the testpmd in a VM with SRIOV VF's. Here the testpmd in host is acting as the PF. Does the testpmd on the host still need to run the 'polling loop' on the port since it is not coming in the datapath for the VF ? Thinking on the above lines, I tried to comment t

[dpdk-dev] NIC support for HPE Ethernet 10Gb 2-port 560FLR-SFP+ Adapter

2016-06-24 Thread Prashant Upadhyaya
Hi, One of my customers intends to buy HPE Ethernet 10Gb 2-port 560FLR-SFP+ Adapter (http://www8.hp.com/h20195/v2/getpdf.aspx/c04111435.pdf?ver=8) for running a DPDK based app. I have never tested my app with the above NIC (always used X520 to test my app) If someone has already tried with this N

[dpdk-dev] Exception Path issue with AF Packet PMD for fragmented packets

2015-07-09 Thread Prashant Upadhyaya
Hi, I have a DPDK based application where the core 0 is handling the exception path and rest of the cores are bringing in the data from the NIC via the PMD. For the exception path handling I use the tun/tap interface. So the flow is like this ? Fast path cores bring in the data from NIC,

[dpdk-dev] Regarding dpdk_qat example

2015-03-04 Thread Prashant Upadhyaya
Hi, In the dpdk_qat example, the function alloc_memzone_region does the allocation for the memory of a crypto session context. Now in a real application, the sessions will be torn down as well. So if a similar strategy is followed as that of alloc_memzone_region, then how can the memory be returne

[dpdk-dev] Regarding UDP checksum offload

2015-01-29 Thread Prashant Upadhyaya
Hi Olivier, On Wed, Jan 28, 2015 at 8:39 PM, Olivier MATZ wrote: > Hi Prashant, > > > On 01/28/2015 03:57 PM, Prashant Upadhyaya wrote: > >> I am using dpdk 1.6r1, intel 82599 NIC. >>>> I have an mbuf, I have hand-constructed a UDP packe

[dpdk-dev] Regarding UDP checksum offload

2015-01-28 Thread Prashant Upadhyaya
On Wed, Jan 28, 2015 at 6:32 PM, Olivier MATZ wrote: > Hi Prashant, > > > On 01/28/2015 12:25 PM, Prashant Upadhyaya wrote: > >> Hi, >> >> I am aware that this topic has been discussed several times before, but I >> am somehow still stuck with this. >&

[dpdk-dev] Regarding UDP checksum offload

2015-01-28 Thread Prashant Upadhyaya
Hi, I am aware that this topic has been discussed several times before, but I am somehow still stuck with this. I am using dpdk 1.6r1, intel 82599 NIC. I have an mbuf, I have hand-constructed a UDP packet (IPv4) in the data portion, filled the relevant fields of the headers and I do a tx burst. N

[dpdk-dev] Segmentation fault in ixgbe_rxtx_vec.c:444 with 1.8.0

2015-01-22 Thread Prashant Upadhyaya
ames. I think a similar issue has already been reported by > > Prashant Upadhyaya with the subject 'Packet Rx issue with DPDK1.8'. > > In our application we use the following rxmode port configuration: > > > > .mq_mode= ETH_MQ_RX_RSS, > > .split_hdr_size = 0,

[dpdk-dev] Packet Rx issue with DPDK1.8

2015-01-09 Thread Prashant Upadhyaya
7:17 PM To: Prashant Upadhyaya Cc: dev at dpdk.org Subject: Re: [dpdk-dev] Packet Rx issue with DPDK1.8 On Thu, Jan 08, 2015 at 01:40:54PM +0530, Prashant Upadhyaya wrote: > Hi, > > I am migrating from DPDK1.7 to DPDK1.8. > My application works fine with DPDK1.7. > I am using 10 Gb

[dpdk-dev] Packet Rx issue with DPDK1.8

2015-01-08 Thread Prashant Upadhyaya
Hi, I am migrating from DPDK1.7 to DPDK1.8. My application works fine with DPDK1.7. I am using 10 Gb Intel 82599 NIC. I have jumbo frames enabled, with max_rx_pkt_len = 10232 My mbuf dataroom size is 2048+headroom So naturally the ixgbe_recv_scattered_pkts driver function is triggered for receivin

[dpdk-dev] Help with compilation of .s files with DPDK build system

2014-10-10 Thread Prashant Upadhyaya
Hi, I have an application which consists of *.c files and I have been using the DPDK build system happily so far. The way I do it is I include the rte.vars.mk and rte.extlib.mk in my application Makefile. I set the LIB variable to .a I set SRCS-y := And that's it, it works. Now recently, I need

[dpdk-dev] Regarding Hardware Crypto Accelerator

2014-09-29 Thread Prashant Upadhyaya
Hi, Currently I have a machine with Xeon processor and it does not have a hardware crypto accelerator. I am running my DPDK based application successfully on it. Now I want to use a hardware crypto accelerator and use it with DPDK for IPSec operations in my application I am planning to buy the fo

[dpdk-dev] Regarding Crypto Accelerators

2014-09-17 Thread Prashant Upadhyaya
Hi, I am planning to explore the usage of hardware crypto accelerators on Intel machine with Quick Assist libraries and DPDK. My first question is -- how do I find out whether my machine has the hardware crypto accelerators or not. Regards -Prashant

[dpdk-dev] Would DPDK run on AMD processors

2014-05-31 Thread Prashant Upadhyaya
Hi, Has anybody attempted to run DPDK on AMD processors. Does it run straightforward or would there be some obvious issues where porting would be needed, I welcome any comments. Regards -Prashant

[dpdk-dev] DPDK on ARM

2014-05-20 Thread Prashant Upadhyaya
Hi guys, Does the DPDK also work on the ARM processor ? If it does not, can anybody suggest what it would take to make it work on ARM (what would be the challenges and so forth, or is it even worth it) Regards -Prashant

[dpdk-dev] Regarding Mellanox CX3 NIC

2014-05-15 Thread Prashant Upadhyaya
Hi, I have a usecase coming up where I have to use DPDK with the Mellanox CX3 NIC. I see on dpdk.org that there is a PMD available for that http://dpdk.org/about#6WIND Kindly let me know if the above PMD is open source or has to be purchased. Regards -Prashant

[dpdk-dev] compilation error with 1.6.0r2

2014-05-15 Thread Prashant Upadhyaya
[resending on the list] Hi, I recently picked the 1.6.0r2 from dpdk.org and tried to compile it the usual way and ran into the following compilation error. I am aware I can sidestep these by getting the compiler to treat them as warnings, but these did not use to come with 1.6.0r1 so wanted t

[dpdk-dev] compilation error with 1.6.0r2

2014-05-12 Thread Prashant Upadhyaya
Hi, I recently picked the 1.6.0r2 from dpdk.org and tried to compile it the usual way and ran into the following compilation error. I am aware I can sidestep these by getting the compiler to treat them as warnings, but these did not use to come with 1.6.0r1 so wanted to report it here. I am usi

[dpdk-dev] Which vmxnet3 pmd is to be used in dpdk 1.6.x?

2014-05-06 Thread Prashant Upadhyaya
Hi Stephen, Kindly let me know if the multi-segment support for vmxnet3 pmd is already in, in a formal release of DPDK. Or which formal release you are targeting this for. Regards -Prashant -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Prashant Upadhyaya Sent

[dpdk-dev] IGB_UIO port unbinding

2014-04-11 Thread Prashant Upadhyaya
Hi Anatoly, I might have used the term 'initialization' in a wrong fashion. But I have confirmed, the issue was related to this commit (which Thomas brought to my notice) -- http://dpdk.org/browse/dpdk/commit/?id=18f02ff75949de9c2468 The above should get you the context for the original issue.

[dpdk-dev] IGB_UIO port unbinding

2014-04-10 Thread Prashant Upadhyaya
Hi, There was a usecase with ESXi VMXNET3 NIC where I had to use this parameter set to Y to make it work. So kindly ensure that the initialization of vmxnet3 NIC is not vulnerable. Regards -Prashant -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Thomas Monjalon

[dpdk-dev] Which vmxnet3 pmd is to be used in dpdk 1.6.x?

2014-03-21 Thread Prashant Upadhyaya
[mailto:dev-boun...@dpdk.org] On Behalf Of Prashant Upadhyaya Sent: Tuesday, March 11, 2014 10:57 AM To: Stephen Hemminger Cc: dev at dpdk.org Subject: Re: [dpdk-dev] Which vmxnet3 pmd is to be used in dpdk 1.6.x? Hi Stephen, This is great news ! I can wait for a formal release of DPDK with your

[dpdk-dev] L2FWD Sample Application stops receiving packets after sometime

2014-03-21 Thread Prashant Upadhyaya
Hi Neeraj, I am glad your usecase works. Please do let me know what is the maximum throughput you are able to achieve with vmxnet3 (assuming your underlying physical NIC is 10 Gig), it will be interesting to see the performance. Regards -Prashant -Original Message- From: dev [mailto

[dpdk-dev] Which vmxnet3 pmd is to be used in dpdk 1.6.x?

2014-03-11 Thread Prashant Upadhyaya
[mailto:dev-boun...@dpdk.org] On Behalf Of Prashant Upadhyaya Sent: Tuesday, March 11, 2014 10:57 AM To: Stephen Hemminger Cc: dev at dpdk.org Subject: Re: [dpdk-dev] Which vmxnet3 pmd is to be used in dpdk 1.6.x? Hi Stephen, This is great news ! I can wait for a formal release of DPDK with your driver

[dpdk-dev] Which vmxnet3 pmd is to be used in dpdk 1.6.x?

2014-03-11 Thread Prashant Upadhyaya
, March 10, 2014 9:21 PM To: Prashant Upadhyaya Cc: Srinivasan J; dev at dpdk.org Subject: Re: [dpdk-dev] Which vmxnet3 pmd is to be used in dpdk 1.6.x? On Mon, 10 Mar 2014 13:30:48 +0530 Prashant Upadhyaya wrote: > Hi Srini, > > Thanks, I could also make it work, thanks to your cue ! >

[dpdk-dev] Which vmxnet3 pmd is to be used in dpdk 1.6.x?

2014-03-10 Thread Prashant Upadhyaya
aging. Regards -Prashant -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Prashant Upadhyaya Sent: Monday, March 10, 2014 1:31 PM To: Srinivasan J Cc: dev at dpdk.org Subject: Re: [dpdk-dev] Which vmxnet3 pmd is to be used in dpdk 1.6.x? Hi Srini, Thanks, I could als

[dpdk-dev] Which vmxnet3 pmd is to be used in dpdk 1.6.x?

2014-03-10 Thread Prashant Upadhyaya
, March 09, 2014 12:38 AM To: Prashant Upadhyaya Cc: David Marchand; dev at dpdk.org Subject: Re: [dpdk-dev] Which vmxnet3 pmd is to be used in dpdk 1.6.x? Prashant, I was also able to hit the issue your hitting using Esxi 5.1.0 evaluation and Fedora 20 X86_64 guest. I was able to fix the

[dpdk-dev] Which vmxnet3 pmd is to be used in dpdk 1.6.x?

2014-03-07 Thread Prashant Upadhyaya
March 07, 2014 9:08 AM To: Prashant Upadhyaya Cc: David Marchand; dev at dpdk.org Subject: Re: [dpdk-dev] Which vmxnet3 pmd is to be used in dpdk 1.6.x? Prashant, Are you still hitting a crash? Do you have hugetlbfs enabled? if not try adding enabling hugetlbfs. I was able to get vxne

[dpdk-dev] Which vmxnet3 pmd is to be used in dpdk 1.6.x?

2014-03-06 Thread Prashant Upadhyaya
md PMD: eth_vmxnet3_dev_init(): >> Segmentation fault (core dumped) -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Prashant Upadhyaya Sent: Thursday, March 06, 2014 12:20 PM To: David Marchand Cc: dev at dpdk.org Subject: Re: [dpdk-dev] Which vmxnet3 pmd is t

[dpdk-dev] Which vmxnet3 pmd is to be used in dpdk 1.6.x?

2014-03-06 Thread Prashant Upadhyaya
and the crash is happening at the following line - /* Check h/w version compatibility with driver. */ ver = VMXNET3_READ_BAR1_REG(hw, VMXNET3_REG_VRRS); Any hints regarding what could be wrong ? Regards -Prashant From: Prashant Upadhyaya Sent: Wednesday, March 05, 2014 9:01 PM To: '

[dpdk-dev] Which vmxnet3 pmd is to be used in dpdk 1.6.x?

2014-03-05 Thread Prashant Upadhyaya
bind with igb_uio but try to use the native driver. So please do try the above combination as well. Regards -Prashant From: David Marchand [mailto:david.march...@6wind.com] Sent: Wednesday, March 05, 2014 8:41 PM To: Prashant Upadhyaya Cc: Srinivasan J; dev at dpdk.org Subject: Re: [dpdk-dev]

[dpdk-dev] Which vmxnet3 pmd is to be used in dpdk 1.6.x?

2014-03-05 Thread Prashant Upadhyaya
Hi, I am also keen to know the answer to the question posted by Srini. The real question is -- is dpdk1.6.0r1 self-sufficient so that I don't need any extensions etc., or do I still need something from outside like the usermap kernel driver etc. Secondly, if I turn on all the debug options for

[dpdk-dev] DPDK not recognizing 82599 on my setup

2014-02-14 Thread Prashant Upadhyaya
So looks like DPDK library has issues when the power management is on. Thanks a bunch. Regards -Prashant -Original Message- From: jigsaw [mailto:jig...@gmail.com] Sent: Friday, February 14, 2014 3:11 PM To: Prashant Upadhyaya Cc: dev at dpdk.org Subject: Re: [dpdk-dev] DPDK not recognizin

[dpdk-dev] DPDK not recognizing 82599 on my setup

2014-02-14 Thread Prashant Upadhyaya
Pasting the logs inline as the attachments don't show up on list somehow -- =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2014.02.14 13:29:51 =~=~=~=~=~=~=~=~=~=~=~= ./lte_lg.out -cff -n4 EAL: Detected lcore 0 as core 0 on socket 0 EAL: Detected lcore 1 as core 1 on socket 0 EAL: Detected lcore 2 as core 2 on

[dpdk-dev] DPDK not recognizing 82599 on my setup

2014-02-14 Thread Prashant Upadhyaya
Hi, Here is the lscpi output - 81:00.0 Ethernet controller [0200]: Intel Corporation 82599EB 10-Gigabit SFI/SFP+ Network Connection [8086:10fb] (rev 01) 81:00.1 Ethernet controller [0200]: Intel Corporation 82599EB 10-Gigabit SFI/SFP+ Network Connection [8086:10fb] (rev 01) 84:00.0 Ethernet con

[dpdk-dev] DPDK not recognizing 82599 on my setup

2014-02-14 Thread Prashant Upadhyaya
Hi, Here is the lscpi output - 81:00.0 Ethernet controller [0200]: Intel Corporation 82599EB 10-Gigabit SFI/SFP+ Network Connection [8086:10fb] (rev 01) 81:00.1 Ethernet controller [0200]: Intel Corporation 82599EB 10-Gigabit SFI/SFP+ Network Connection [8086:10fb] (rev 01) 84:00.0 Ethernet con

[dpdk-dev] NUMA CPU Sockets and DPDK

2014-02-12 Thread Prashant Upadhyaya
. Regards -Prashant -Original Message- From: Etai Lev Ran [mailto:elev...@gmail.com] Sent: Wednesday, February 12, 2014 5:18 PM To: Prashant Upadhyaya Cc: dev at dpdk.org Subject: RE: [dpdk-dev] NUMA CPU Sockets and DPDK Hi Prashant, Based on our experience, using DPDK cross CPU sockets

[dpdk-dev] NUMA CPU Sockets and DPDK

2014-02-12 Thread Prashant Upadhyaya
Hi guys, What has been your experience of using DPDK based app's in NUMA mode with multiple sockets where some cores are present on one socket and other cores on some other socket. I am migrating my application from one intel machine with 8 cores, all in one socket to a 32 core machine where 1

[dpdk-dev] [PATCH RFC] dpif-netdev: Add support Intel DPDK based ports.

2014-01-30 Thread Prashant Upadhyaya
helar [mailto:pshe...@nicira.com] Sent: Thursday, January 30, 2014 3:00 AM To: Prashant Upadhyaya Cc: dev at openvswitch.org; dev at dpdk.org; dpdk-ovs at lists.01.org; Gerald Rogers Subject: Re: [dpdk-dev] [PATCH RFC] dpif-netdev: Add support Intel DPDK based ports. On Wed, Jan 29, 2014 at 12:

[dpdk-dev] Selecting Linux distribution for DPDK applications: CentOS or Debian

2014-01-30 Thread Prashant Upadhyaya
Hi Dan, Intel DPDK release notes(1.5.2) mention the following tested OS -- * Fedora release 18 * Ubuntu* 12.04 LTS * Wind River* Linux* 5 * Red Hat* Enterprise Linux 6.3 * SUSE Enterprise Linux* 11 SP2 I have personally used Fedora 18 and it works fine for me for virtualization including SRIOV a

[dpdk-dev] [PATCH RFC] dpif-netdev: Add support Intel DPDK based ports.

2014-01-29 Thread Prashant Upadhyaya
Hi Pravin, I think your stuff is on the brink of a creating a mini revolution :) Some questions inline below -- +ovs-vsctl add-port br0 dpdk0 -- set Interface dpdk0 type=dpdk What do you mean by portid here, do you mean the physical interface id like eth0 which I have bound to igb_uio now ?

[dpdk-dev] Query about this NIC

2014-01-09 Thread Prashant Upadhyaya
:32 PM To: Prashant Upadhyaya; dev at dpdk.org Subject: RE: Query about this NIC Hi Prashant, Thanks for using Intel DPDK. Intel DPDK supports X520-T2 (previously code named "Iron Pond") Will find out the differences between X520-T2 and X520-DA2 Server Adapter E10G42BTDA PCIe Dual-

[dpdk-dev] Query about this NIC

2014-01-09 Thread Prashant Upadhyaya
Hi, Would the following NIC work with DPDK - Intel 10-Gigabit Ethernet X520-DA2 Server Adapter E10G42BTDA PCIe Dual-Port 2xSFP+ Copper 10GSFP+Cu Low-Profile Regards -Prashant === Please refer to http://www.aricent.c

[dpdk-dev] regarding this NIC

2013-12-18 Thread Prashant Upadhyaya
Intel(r) 10GbE network controller 82599ES From: Prashant Upadhyaya Sent: Wednesday, December 18, 2013 4:38 PM To: dev at dpdk.org Subject: regarding this NIC Hi, Could somebody advise if this NIC would work with DPDK. It mentions 82599ES, so far I have been working with 82599EB. Regards

[dpdk-dev] regarding this NIC

2013-12-18 Thread Prashant Upadhyaya
Hi, Could somebody advise if this NIC would work with DPDK. It mentions 82599ES, so far I have been working with 82599EB. Regards -Prashant === Please refer to http://www.aricent.com/legal/email_disclaimer.html for

[dpdk-dev] generic load balancing

2013-12-06 Thread Prashant Upadhyaya
ant From: ?? [mailto:ydwoo0...@gmail.com] Sent: Friday, December 06, 2013 7:47 AM To: Thomas Monjalon Cc: Michael Quicquaro; Prashant Upadhyaya; dev at dpdk.org Subject: Re: [dpdk-dev] generic load balancing RSS is a way to distribute packets to multi cores while packets order in the same flow still get

[dpdk-dev] generic load balancing

2013-12-05 Thread Prashant Upadhyaya
7;s the harm if this feature is added, let those who want to use it, use, and those who hate it or think it is useless, ignore. Regards -Prashant -Original Message- From: Fran?ois-Fr?d?ric Ozog [mailto:f...@ozog.com] Sent: Thursday, December 05, 2013 2:16 PM To: Prashant Upadhyaya Cc: &#x

[dpdk-dev] generic load balancing

2013-12-05 Thread Prashant Upadhyaya
, Bryan [mailto:bmben...@amazon.com] Sent: Thursday, December 05, 2013 1:14 PM To: Prashant Upadhyaya; Stephen Hemminger Cc: dev at dpdk.org Subject: RE: [dpdk-dev] generic load balancing Prashant, I assume your use case is not of one IP/UDP/TCP - or if it is, you are dealing with a single tuple that

[dpdk-dev] generic load balancing

2013-12-05 Thread Prashant Upadhyaya
: Thursday, December 05, 2013 10:25 AM To: Prashant Upadhyaya Cc: Fran?ois-Fr?d?ric Ozog; Michael Quicquaro; dev at dpdk.org Subject: Re: [dpdk-dev] generic load balancing Round robin would actually be awful for any protocol because it would cause out of order packets. That is why flow based algorithms

[dpdk-dev] generic load balancing

2013-12-05 Thread Prashant Upadhyaya
Hi, It's a real pity that Intel 82599 NIC (and possibly others) don't have a simple round robin scheduling of packets on the configured queues. I have requested Intel earlier, and using this forum requesting again -- please please put this facility in the NIC that if I drop N queues there and c

[dpdk-dev] Regarding VM live migration with SRIOV

2013-11-29 Thread Prashant Upadhyaya
-Original Message- From: Stephen Hemminger [mailto:step...@networkplumber.org] Sent: Wednesday, November 27, 2013 11:54 AM To: Prashant Upadhyaya Cc: dev at dpdk.org Subject: Re: [dpdk-dev] Regarding VM live migration with SRIOV On Wed, 27 Nov 2013 11:39:28 +0530 Prashant Upadhyaya wrote

[dpdk-dev] Regarding VM live migration with SRIOV

2013-11-27 Thread Prashant Upadhyaya
that rte_eal_pci_probe should be called periodically from, let's say, the slow control path of the DPDK application ? Regards -Prashant -Original Message- From: Stephen Hemminger [mailto:step...@networkplumber.org] Sent: Wednesday, November 27, 2013 10:16 AM To: Prashant Upadhyaya Cc: dev at dpdk.o

[dpdk-dev] Regarding VM live migration with SRIOV

2013-11-27 Thread Prashant Upadhyaya
-boun...@dpdk.org] On Behalf Of Prashant Upadhyaya Sent: Monday, November 25, 2013 7:32 PM To: dev at dpdk.org Subject: [dpdk-dev] Regarding VM live migration with SRIOV Hi guys, I have a VM on top of QEMU/KVM hypervisor. Guest and Host are both Fedora 18. I am using 82599 NIC with SRIOV based VF's in

[dpdk-dev] Regarding VM live migration with SRIOV

2013-11-25 Thread Prashant Upadhyaya
Hi guys, I have a VM on top of QEMU/KVM hypervisor. Guest and Host are both Fedora 18. I am using 82599 NIC with SRIOV based VF's in the VM. In VM I am running a DPDK based application which uses the VF. Now I have to do a live migration of the running VM from one physical machine to the other.

[dpdk-dev] Query regarding multiple processes in DPDK

2013-11-25 Thread Prashant Upadhyaya
Hi Bruce, Thanks, this was very useful information. Regards -Prashant -Original Message- From: Richardson, Bruce [mailto:bruce.richard...@intel.com] Sent: Monday, November 25, 2013 2:59 PM To: Prashant Upadhyaya; dev at dpdk.org Subject: RE: Query regarding multiple processes in DPDK

[dpdk-dev] Query regarding multiple processes in DPDK

2013-11-25 Thread Prashant Upadhyaya
Prashant Upadhyaya Sent: Friday, November 22, 2013 7:16 PM To: Richardson, Bruce; dev at dpdk.org Subject: Re: [dpdk-dev] Query regarding multiple processes in DPDK Thanks Bruce, I think your suggested example of multi_process answers my questions. Regards -Prashant -Original Message- From

[dpdk-dev] Query regarding multiple processes in DPDK

2013-11-22 Thread Prashant Upadhyaya
Thanks Bruce, I think your suggested example of multi_process answers my questions. Regards -Prashant -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Prashant Upadhyaya Sent: Friday, November 22, 2013 7:10 PM To: Richardson, Bruce; dev at dpdk.org Subject: Re

[dpdk-dev] Query regarding multiple processes in DPDK

2013-11-22 Thread Prashant Upadhyaya
] Sent: Friday, November 22, 2013 7:02 PM To: Prashant Upadhyaya; dev at dpdk.org Subject: RE: Query regarding multiple processes in DPDK Hi Prashant > === > The EAL also supports an auto-detection mode (set by EAL > --proc-type=auto flag), whereby an Intel(r) DPDK process is started as >

[dpdk-dev] Query regarding multiple processes in DPDK

2013-11-22 Thread Prashant Upadhyaya
Hi guys, The DPDP programmer's guide mentions - === The EAL also supports an auto-detection mode (set by EAL --proc-type=auto flag), whereby an Intel(r) DPDK process is started as a secondary instance if a primary instance is already running. === So does this mean that if I have a DPDK exe foo.o

[dpdk-dev] [PATCH 1/2] igb/ixgbe: ETH_MQ_RX_NONE should disable RSS

2013-11-20 Thread Prashant Upadhyaya
Hi, So if I have multiple queues and was using ETH_MQ_RX_NONE (and therefore utilizing RSS), it will stop working for me now after this patch ? Regards -Prashant -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ivan Boule Sent: Wednesday, November 20, 2013 3:20 P

[dpdk-dev] olflags in SRIOV VF environment

2013-11-13 Thread Prashant Upadhyaya
Thanks Vladimir ! That seems to be the issue. Better to parse it by hand right now instead of depending on ol_flags. Regards -Prashant From: Vladimir Medvedkin [mailto:medvedk...@gmail.com] Sent: Tuesday, November 12, 2013 7:54 PM To: Prashant Upadhyaya Cc: dev at dpdk.org Subject: Re: [dpdk

[dpdk-dev] olflags in SRIOV VF environment

2013-11-12 Thread Prashant Upadhyaya
Hi guys, I am facing a peculiar issue with the usage of struct rte_mbuf-> ol_flags field in the rte_mbuf when I receive the packets with the rte_eth_rx_burst function. I use the ol_flags field to identify whether is an IPv4 or IPv6 packet or not thus - if ((pkts_burst->ol_flags & PKT_RX_IPV4_HD

[dpdk-dev] raw frame to rte_mbuf

2013-11-12 Thread Prashant Upadhyaya
Hi Pepe, Ofcourse a simple cast will not suffice. Please look the rte_mbuf structure in the header files and let me know if you still have the confusion. There is a header and payload. Your raw frame will go in the payload. Regards -Prashant -Original Message- From: dev [mailto:dev-bou

[dpdk-dev] Surprisingly high TCP ACK packets drop counter

2013-11-05 Thread Prashant Upadhyaya
usecases. Regards -Prashant From: Alexander Belyakov [mailto:abely...@gmail.com] Sent: Tuesday, November 05, 2013 5:29 PM To: Olivier MATZ Cc: Prashant Upadhyaya; dev at dpdk.org Subject: Re: [dpdk-dev] Surprisingly high TCP ACK packets drop counter Hello, The role of RSC is to reassemble input TCP

[dpdk-dev] Surprisingly high TCP ACK packets drop counter

2013-11-04 Thread Prashant Upadhyaya
Hi Alexander, Please confirm if the patch works for you. @Wang, are you saying that without the patch the NIC does not fan out the messages properly on all the receive queues ? So what exactly happens ? Regards -Prashant -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Be

[dpdk-dev] Debugging igbvf_pmd

2013-11-03 Thread Prashant Upadhyaya
Hi Sambath, Did you follow the step of applying the mac to each of the virtual function as per the release notes in DPDK ? And ofcourse the src mac of your packets should be 'that' mac as set above. Regards -Prashant -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf O

[dpdk-dev] Surprisingly high TCP ACK packets drop counter

2013-11-02 Thread Prashant Upadhyaya
Hi, I have used DPDK1.4 and DPDK1.5 and the packets do fan out nicely on the rx queues nicely in some usecases I have. Alexander, can you please try using DPDK1.4 or 1.5 and share the results. Regards -Prashant -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Wan

[dpdk-dev] Surprisingly high TCP ACK packets drop counter

2013-11-02 Thread Prashant Upadhyaya
Hi Alexander, Regarding your following statement -- " The only drop counter quickly increasing in the case of pure ACK flood is ierrors, while rx_nombuf remains zero. " Can you please explain the significance of "ierrors" counter since I am not familiar with that. Further, you said you have 4

[dpdk-dev] rte_eth_rx_burst stops running on dpdk extlib

2013-10-30 Thread Prashant Upadhyaya
eader files of rte than what the library was built with based on the compiler flags. Regards -Prashant From: Jose Gavine Cueto [mailto:peped...@gmail.com] Sent: Wednesday, October 30, 2013 12:34 PM To: Prashant Upadhyaya Cc: dev at dpdk.org Subject: Re: [dpdk-dev] rte_eth_rx_burst stops running on

[dpdk-dev] rte_eth_rx_burst stops running on dpdk extlib

2013-10-30 Thread Prashant Upadhyaya
Hi Pepe, How about this -- compile the libraries yourself and then link your application with them just like the original usecase where you find the problem. If this works, then the problem is with the precompiled libraries you were picking from somewhere. Regards -Prashant -Original Mess

[dpdk-dev] Request for a feature in PMD

2013-10-30 Thread Prashant Upadhyaya
is a pretty neat use of refcnt. I wonder if this usecase should be documented in the userguide somewhere. Regards -Prashant From: Daniel Kaminsky [mailto:daniel.kamin...@infinitelocality.com] Sent: Sunday, October 27, 2013 6:08 PM To: Prashant Upadhyaya Cc: dev at dpdk.org Subject: Re: [dpdk-dev] Re

[dpdk-dev] Request for a feature in PMD

2013-10-27 Thread Prashant Upadhyaya
Hi, I have a feature request in the PMD. Today, when I want to send a packet out, I hand over an mbuf to the PMD API. The PMD API then takes care of transferring the data and free's the mbuf to the relevant pool. What I am looking for is a facility that I should be able to specify somewhere in

[dpdk-dev] query about rte_eal_mp_remote_launch()

2013-10-23 Thread Prashant Upadhyaya
Sent: Wednesday, October 23, 2013 8:01 PM To: Prashant Upadhyaya Cc: dev at dpdk.org Subject: Re: [dpdk-dev] query about rte_eal_mp_remote_launch() Hi Prashant Thanks for the reply. I understand what you said. But my query was can i use pthread_create() to create the 'tight loop' threads on

[dpdk-dev] query about port queues

2013-10-23 Thread Prashant Upadhyaya
Hi Jyoti, You can configure the number of tx and rx queues via the software when you are calling the rte_eth_dev_configure. However you cannot allocate more than what the NIC supports. But you can allocate less ofcourse. Typically the queues are used so that independent cores can do tx and rx o

[dpdk-dev] query about rte_eal_mp_remote_launch()

2013-10-23 Thread Prashant Upadhyaya
Hi Jyoti, You must carefully analyse your usecase. Typically each core must run a tight loop (and therefore one thread spawned by remote launch) which does a while 1 { get packet, service packet } You should try to build your application around the above paradigm. One of your cores can service t

[dpdk-dev] 82599 SR-IOV with passthrough

2013-10-17 Thread Prashant Upadhyaya
igsaw [mailto:jig...@gmail.com] Sent: Thursday, October 17, 2013 6:14 PM To: Prashant Upadhyaya Cc: Thomas Monjalon; dev at dpdk.org Subject: Re: [dpdk-dev] 82599 SR-IOV with passthrough Hi Prashant, I patched both Intel ixgbe PF driver and DPDK 1.5 VF driver, so that DPDK gets 4 queues in one V

[dpdk-dev] 82599 SR-IOV with passthrough

2013-10-17 Thread Prashant Upadhyaya
Hi Qinglai, Why are you using the kernel driver at all. Use the DPDK driver to control the PF on the host. The guest would communicate with the PF on host using mailbox as usual. Then the changes will be limited to DPDK, isn't it ? Regards -Prashant -Original Message- From: dev [mailto:

[dpdk-dev] 82599 SR-IOV with passthrough

2013-10-17 Thread Prashant Upadhyaya
Hi Qinglai, Even with 1 queue, were you able to run the DPDK app in the guest OS ? If you were able to, which version of DPDK did you use, please let me know. I am trying to run the DPDK app in guest OS using QEMU/KVM with an SRIOV virtual function of an 82599 NIC. I can see the vf pci address i

  1   2   >