]> git.baikalelectronics.ru Git - kernel.git/commit
ice: Refactor ice_ena_vf_mappings to split MSIX and queue mappings
authorBrett Creeley <brett.creeley@intel.com>
Sat, 16 May 2020 00:51:07 +0000 (17:51 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 28 May 2020 22:55:54 +0000 (15:55 -0700)
commit429169584f48ee3c786257d17dfba2917d5e869c
tree10be552e1ea23648d9b8ef9370f8bb14908351c7
parent53191963f18403d3a8f2074bcf407ef1df50f1ab
ice: Refactor ice_ena_vf_mappings to split MSIX and queue mappings

Currently ice_ena_vf_mappings() does all of the VF's MSIX and queue
mapping in one function. This makes it hard to digest. Fix this by
creating a new function for enabling MSIX mappings and one for enabling
queue mappings.

Also, rename some variables in the functions for clarity.

Signed-off-by: Brett Creeley <brett.creeley@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c