cxgb4/cxgb4vf: Assign netdev->dev_port with port ID
authorArjun V <arjun@chelsio.com>
Thu, 8 Dec 2016 12:39:23 +0000 (18:09 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Dec 2016 23:20:08 +0000 (18:20 -0500)
commitd2a007ab191646d41553ffb6624cef1957e899ae
treeea1dc1dbf211825e939bc28482796dfc7a274447
parent1a31cc86ef3ce9d873a713f422c34b47a188caec
cxgb4/cxgb4vf: Assign netdev->dev_port with port ID

Added missing dev_port assignment in cxgb4vf driver.
Also made dev_port assignment of cxgb4 in sync with cxgb4vf driver.

Signed-off-by: Casey Leedom <leedom@chelsio.com>
Signed-off-by: Arjun V <arjun@chelsio.com>
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c