Re: [dpdk-dev] [PATCH v4 12/23] bnx2x: localize mapping from eth_dev to pci

2016-12-21 Thread Harish Patil
> >Use device private information to minimize the places that assume eth_dev >contains pci_dev. > >Signed-off-by: Jan Blunck >--- > drivers/net/bnx2x/bnx2x_ethdev.c | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-) > >diff --git a/drivers/net/bnx2x/bnx2x_ethdev.c >b/drivers/net/b

[dpdk-dev] [PATCH v4 12/23] bnx2x: localize mapping from eth_dev to pci

2016-12-21 Thread Jan Blunck
Use device private information to minimize the places that assume eth_dev contains pci_dev. Signed-off-by: Jan Blunck --- drivers/net/bnx2x/bnx2x_ethdev.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/net/bnx2x/bnx2x_ethdev.c b/drivers/net/bnx2x/bnx2x_e