[dpdk-dev] [PATCH] igb_uio: use existing PCI macros

2015-11-24 Thread Thomas Monjalon
2015-10-25 18:51, Thomas Monjalon: > 2015-09-11 08:31, Mcnamara, John: > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > > > 2015-09-10 20:33, Ferruh Yigit: > > > > Correct, those macros available after kernel version >= 2.6.34. > > > > ... > > > > > > Why should we

[dpdk-dev] [PATCH] igb_uio: use existing PCI macros

2015-11-24 Thread Thomas Monjalon
2015-09-10 17:01, Ferruh Yigit: > To get pci_dev and vf number from dev, benefit from > existing macros in pci.h > > Signed-off-by: Ferruh Yigit Applied, thanks

[dpdk-dev] [PATCH] igb_uio: use existing PCI macros

2015-10-25 Thread Thomas Monjalon
2015-09-11 08:31, Mcnamara, John: > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > > 2015-09-10 20:33, Ferruh Yigit: > > > Correct, those macros available after kernel version >= 2.6.34. > > > ... > > > > Why should we support kernel older than 2.6.34? > > Do we need to

[dpdk-dev] [PATCH] igb_uio: use existing PCI macros

2015-09-11 Thread Thomas Monjalon
2015-09-10 20:33, Ferruh Yigit: > > On Thu, Sep 10, 2015 at 6:01 PM, Ferruh Yigit > > wrote: > > > > > To get pci_dev and vf number from dev, benefit from > > > existing macros in pci.h > > > > > > Signed-off-by: Ferruh Yigit > > > > Correct me if I am wrong but you might need to provide

[dpdk-dev] [PATCH] igb_uio: use existing PCI macros

2015-09-11 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > Sent: Friday, September 11, 2015 9:11 AM > To: dev at dpdk.org; Yigit, Ferruh; David Marchand > Subject: Re: [dpdk-dev] [PATCH] igb_uio: use existing PCI macros > > 201

[dpdk-dev] [PATCH] igb_uio: use existing PCI macros

2015-09-10 Thread Ferruh Yigit
Hi David, > Hello Ferruh, > > On Thu, Sep 10, 2015 at 6:01 PM, Ferruh Yigit > wrote: > > > To get pci_dev and vf number from dev, benefit from > > existing macros in pci.h > > > > Signed-off-by: Ferruh Yigit > > > > Correct me if I am wrong but you might need to provide wrappers for kernel >

[dpdk-dev] [PATCH] igb_uio: use existing PCI macros

2015-09-10 Thread David Marchand
Hello Ferruh, On Thu, Sep 10, 2015 at 6:01 PM, Ferruh Yigit wrote: > To get pci_dev and vf number from dev, benefit from > existing macros in pci.h > > Signed-off-by: Ferruh Yigit > Correct me if I am wrong but you might need to provide wrappers for kernel version <= 2.6.34 (or something that

[dpdk-dev] [PATCH] igb_uio: use existing PCI macros

2015-09-10 Thread Ferruh Yigit
To get pci_dev and vf number from dev, benefit from existing macros in pci.h Signed-off-by: Ferruh Yigit --- lib/librte_eal/linuxapp/igb_uio/igb_uio.c | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/lib/librte_eal/linuxapp/igb_uio/igb_uio.c