[dpdk-dev] limited tx performance with VMware VM + PCI pass-through

2016-08-04 Thread martin_curran-g...@keysight.com
Hello Grisha,

I'm not sure which OS you are using.

We encountered  a problem moving from sandybridge based machines to haswell 
based machines, with using  pass-through to VMs.

We had to change to a newer version of our OS since the one we used was too old 
to understand the haswell.

We intially saw a huge drop in DPDK performance in the vms, native was fine.

There were changes required in the configuration of the vms, to do with huge 
pages and anonymous huge pages, and VM backing with huge pages

Not sure if this helps

Martin


Martin Curran-Gray
HW/FPGA/SW Engineer
Network Monitoring

Keysight Technologies UK Ltd

web -> http://www.keysight.com






[dpdk-dev] [PATCH] igb_uio: fix build with backported kernel

2016-11-02 Thread martin_curran-g...@keysight.com
Hi ,

Sorry, struggling to see what happened to this thread

I managed to get dpdk 2.2.0 to build on CentOs 6.8 by sorting the 
MSIX_ENTRY_CTRL_MASKBIT

But I'm trying to get 16.7 to run on 6.8, and am hitting the   
vlan_tx_tag_present(_skb)

I tried just putting a bare
#define  vlan_tx_tag_present(_skb) 0
line in the two kcompat.h files
one for igb and one for ixgbe

but I'm hitting other issues now.

/root/mcgray/dpdk-16.07/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/kni_misc.c:441:20:
 error: macro "alloc_netdev" passed 4 arguments, but takes just 3

I had already turned of KNI in my config file, so why is the dpdk-setup.sh even 
trying to build this stuff??

I don't need KNI as far as I know

I saw mention of backported kernel?

I guess my 16.7 is a few months old now, if I go and get another download will 
this all just go away?

Thanks

Sry, this stuff all a bit beyond my experience so far.



Martin Curran-Gray


[dpdk-dev] [PATCH] igb_uio: fix build with backported kernel

2016-11-02 Thread martin_curran-g...@keysight.com
Hi,

I set 
CONFIG_RTE_LIBRTE_KNI=n
In common_linux_app

Hmmm I didn't set 
CONFIG_RTE_KNI_KMOD=n
It was a y

Lets see

Ah success

Thanks!

M.


-Original Message-
From: Ferruh Yigit [mailto:ferruh.yi...@intel.com] 
Sent: 02 November 2016 16:31
To: CURRAN-GRAY,MARTIN (K-Scotland,ex1) ; 
dev at dpdk.org
Subject: Re: [dpdk-dev] [PATCH] igb_uio: fix build with backported kernel

On 11/2/2016 4:19 PM, martin_curran-gray at keysight.com wrote:
> Hi ,
> 
> Sorry, struggling to see what happened to this thread
> 
> I managed to get dpdk 2.2.0 to build on CentOs 6.8 by sorting the 
> MSIX_ENTRY_CTRL_MASKBIT
> 
> But I'm trying to get 16.7 to run on 6.8, and am hitting the   
> vlan_tx_tag_present(_skb)
> 
> I tried just putting a bare
> #define  vlan_tx_tag_present(_skb) 0
> line in the two kcompat.h files
> one for igb and one for ixgbe
> 
> but I'm hitting other issues now.
> 
> /root/mcgray/dpdk-16.07/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/kni_misc.c:441:20:
>  error: macro "alloc_netdev" passed 4 arguments, but takes just 3
> 
> I had already turned of KNI in my config file, so why is the dpdk-setup.sh 
> even trying to build this stuff??

I guess it is not disabled properly. How are you disabling KNI?

> 
> I don't need KNI as far as I know
> 
> I saw mention of backported kernel?
> 
> I guess my 16.7 is a few months old now, if I go and get another download 
> will this all just go away?
> 
> Thanks
> 
> Sry, this stuff all a bit beyond my experience so far.
> 
> 
> 
> Martin Curran-Gray
>