[intel] Reset all virtual function settings
authorVishvananda Ishaya <vish.ishaya@oracle.com>
Thu, 9 Mar 2017 13:54:13 +0000 (13:54 +0000)
committerMichael Brown <mcb30@ipxe.org>
Thu, 9 Mar 2017 13:56:22 +0000 (13:56 +0000)
commit1d049002622da6a5a9cc98c42fd4dd27dc741b96
treef5ef75498ab111610a6ed1a759d272053ba0786d
parent9db9221ea0e3a7a4b32cf7fbdb17a46af474ce2b
[intel] Reset all virtual function settings

Some VF data is not cleared with reset, so make sure to return all the
settings to default before configuring the VF.

This fixes an issue where network packets would fail to be received if
the VF was previously used by the linux ixgbevf driver.

Modified-by: Michael Brown <mcb30@ipxe.org>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/drivers/net/intel.c
src/drivers/net/intel.h
src/drivers/net/intelxvf.c
src/drivers/net/intelxvf.h