i40evf: don't guess device name
We don't need to set an interface name here; the net core will do that, and then it will get renamed by udev anyway. Change-ID: I839a17837d19bedd1f490bff32ac5b85b4bfd97f Signed-off-by: Mitch Williams <mitch.a.williams@intel.com> Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Tested-by: Sibai Li <sibai.li@intel.com> Signed-off-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
db8ed10ff9
commit
d15632d486
@ -2084,8 +2084,6 @@ static void i40evf_init_task(struct work_struct *work)
|
||||
|
||||
netif_carrier_off(netdev);
|
||||
|
||||
strcpy(netdev->name, "eth%d");
|
||||
|
||||
adapter->vsi.id = adapter->vsi_res->vsi_id;
|
||||
adapter->vsi.seid = adapter->vsi_res->vsi_id; /* dummy */
|
||||
adapter->vsi.back = adapter;
|
||||
|
Loading…
Reference in New Issue
Block a user