]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit61f83ee7be6299c11a7919b5852f44eb4e06bd6f
treed5f501c31bbb519208fe46cb4454198366552faf
parente08a931d017a81fd943e4d378ff4cecc5e9d7b03
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_sriov.c [deleted file]
drivers/net/ethernet/intel/ice/ice_sriov.h [deleted file]
drivers/net/ethernet/intel/ice/ice_vf_mbx.c [new file with mode: 0644]
drivers/net/ethernet/intel/ice/ice_vf_mbx.h [new file with mode: 0644]