net/enic: fix speed capabilities for new VF
authorHyong Youb Kim <hyonkim@cisco.com>
Thu, 31 Oct 2019 05:36:22 +0000 (22:36 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Nov 2019 22:15:05 +0000 (23:15 +0100)
commite015fca097484be6d2616d1e9d5aae89b0937ce8
tree24da2caacde7b34e285101834694700c9fd71fd9
parent1d36e76306b411575ba2e4fe2c88e08ed65c6b10
net/enic: fix speed capabilities for new VF

VFs all have subsystem ID 0. VIC models with the latest VF are at
least 40G, so report that as a more reasonable speed than 10G.

Fixes: 57bb45b37bdf ("net/enic: add PCI id for new virtual function")

Signed-off-by: Hyong Youb Kim <hyonkim@cisco.com>
Reviewed-by: John Daley <johndale@cisco.com>
drivers/net/enic/enic_ethdev.c