net/cxgbe: report configured link auto-negotiation
authorRahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Wed, 23 May 2018 18:00:49 +0000 (23:30 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 14 Jun 2018 17:27:50 +0000 (19:27 +0200)
commite0ac655a3646cb28e1244b1e68074f8aa02f674e
treee03e5cb975bf0b0356e34bf2fbc4cb30c0fcfb1f
parenta16aef523c11b6e64a809242c77ff7f2c5e9a864
net/cxgbe: report configured link auto-negotiation

Report current configured link auto-negotiation. Also initialize
rte_eth_link.

Coverity issue: 280648
Fixes: f5b3c7b29357 ("net/cxgbevf: fix inter-VM traffic when physical link down")
Cc: stable@dpdk.org
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
drivers/net/cxgbe/cxgbe_ethdev.c