[PATCH net-next 0/5][pull request] 10GbE Intel Wired LAN Driver Updates 2021-11-17
From: Tony Nguyen <anthony.l.nguyen@intel.com>
Date: 2021-11-18 01:00:12
Radoslaw Tyl says: The change is a consequence of errors reported by the ixgbevf driver while starting several virtual guests at the same time on ESX host. During this, VF was not able to communicate correctly with the PF, as a result reported "PF still in reset state. Is the PF interface up?" and then goes to locked state. The only thing left was to reload the VF driver on the guest OS. The background of the problem is that the current PFU and VFU semaphore locking mechanism between sender and receiver may cause overriding Mailbox memory (VFMBMEM), in such scenario receiver of the original message will read the invalid, corrupted or one (or more) message may be lost. This change is actually as a support for communication with PF ESX driver and does not contains changes and support for ixgbe driver. For maintain backward compatibility, previous communication method has been preserved in the form of LEGACY functions. In the future there is a plan to add a support for a 1.5 mailbox API communication also to ixgbe driver. The following are changes since commit 17a7555bf21ce755219bf575b8a83adbf19580bd: Merge branch 'dev_watchdog-less-intrusive' and are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue 10GbE Radoslaw Tyl (5): ixgbevf: Rename MSGTYPE to SUCCESS and FAILURE ixgbevf: Improve error handling in mailbox ixgbevf: Add legacy suffix to old API mailbox functions ixgbevf: Mailbox improvements ixgbevf: Add support for new mailbox communication between PF and VF drivers/net/ethernet/intel/ixgbevf/defines.h | 4 + drivers/net/ethernet/intel/ixgbevf/ipsec.c | 11 +- drivers/net/ethernet/intel/ixgbevf/ixgbevf.h | 5 + .../net/ethernet/intel/ixgbevf/ixgbevf_main.c | 11 +- drivers/net/ethernet/intel/ixgbevf/mbx.c | 323 ++++++++++++++---- drivers/net/ethernet/intel/ixgbevf/mbx.h | 19 +- drivers/net/ethernet/intel/ixgbevf/vf.c | 62 ++-- drivers/net/ethernet/intel/ixgbevf/vf.h | 5 +- 8 files changed, 327 insertions(+), 113 deletions(-) -- 2.31.1