ice: rename ice_sriov.c to ice_vf_mbx.c
authorJacob Keller <jacob.e.keller@intel.com>
Wed, 23 Feb 2022 00:26:48 +0000 (16:26 -0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 15 Mar 2022 00:22:58 +0000 (17:22 -0700)
commitd775155a8661957676bb0a7b363bf1f0da4d8b20
treed5f501c31bbb519208fe46cb4454198366552faf
parentbdd6a89de44b9e07d0b106076260d2367fe0e49a
ice: rename ice_sriov.c to ice_vf_mbx.c

The ice_sriov.c file primarily contains code which handles the logic for
mailbox overflow detection and some other utility functions related to
the virtualization mailbox.

The bulk of the SR-IOV implementation is actually found in
ice_virtchnl_pf.c, and this file isn't strictly SR-IOV specific.

In the future, the ice driver will support an additional virtualization
scheme known as Scalable IOV, and the code in this file will be used
for this alternative implementation.

Rename this file (and its associated header) to ice_vf_mbx.c, so that we
can later re-use the ice_sriov.c file as the SR-IOV specific file.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Konrad Jankowski <konrad0.jankowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/Makefile
drivers/net/ethernet/intel/ice/ice.h
drivers/net/ethernet/intel/ice/ice_vf_mbx.c [moved from drivers/net/ethernet/intel/ice/ice_sriov.c with 99% similarity]
drivers/net/ethernet/intel/ice/ice_vf_mbx.h [moved from drivers/net/ethernet/intel/ice/ice_sriov.h with 95% similarity]