dpdk: change netvsc device port type 21/26221/4
authorMatthew Smith <mgsmith@netgate.com>
Mon, 23 Mar 2020 16:27:49 +0000 (11:27 -0500)
committerDamjan Marion <dmarion@me.com>
Tue, 19 May 2020 18:54:59 +0000 (18:54 +0000)
commit827b929301ba3c8ac3a3d23262b0987a5fc33632
tree41a396f9856094a77e977f63b948c2bb24f0b072
parentc32a84c70efb45081568fc8aa5fa1884d74865fe
dpdk: change netvsc device port type

Netvsc devices have the port type determined from their link speed.
The link speed between reboots of an Azure VM does not always end
up at the same value, so an interface that was FortyGigabitEthernet0
earlier may be FiftyGigabitEthernet0 now. That makes it difficult
to maintain a persistent store of configurations and apply those at
startup.

Change the port type to be VF so the name will always be generated
as VirtualFunctionEthernetX.

Type: improvement

Change-Id: I58cab852b87c0bcd9f73afe239803f38dab5c159
Signed-off-by: Matthew Smith <mgsmith@netgate.com>
src/plugins/dpdk/device/init.c