cxgbe: fix PCI info copy to ports under same PF
authorRahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Thu, 25 Feb 2016 09:37:53 +0000 (15:07 +0530)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 16 Mar 2016 15:55:01 +0000 (16:55 +0100)
commit13b0f50006745b76b8e45154ab29452007c0bb77
treebb2fdc65a25715eb5e6b4a75a2be170998a7479d
parent1c1789ccb329df1cfd4d299b8c9898bd2fd2f38b
cxgbe: fix PCI info copy to ports under same PF

Chelsio NIC ports share a single PF. Move rte_eth_copy_pci_info()
to copy the pci device information to the remaining ports as well.

Also update license year to 2016.

Fixes: eeefe73f0af1 ("drivers: copy PCI device info to ethdev data")

Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
drivers/net/cxgbe/cxgbe_ethdev.c
drivers/net/cxgbe/cxgbe_main.c