diff options
author | Jacob Keller <jacob.e.keller@intel.com> | 2022-02-22 16:26:58 -0800 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2022-03-14 17:22:59 -0700 |
commit | 1261691dda6b7c229a01cbcb5ea9070d62435722 (patch) | |
tree | 4cdfb0435fbf4431b93253cda59b42e176a7aec5 /net/ipv6/ip6_output.c | |
parent | 2b36944810b2270e4af8524ab14d42250a902510 (diff) | |
download | linux-1261691dda6b7c229a01cbcb5ea9070d62435722.tar.gz linux-1261691dda6b7c229a01cbcb5ea9070d62435722.tar.bz2 linux-1261691dda6b7c229a01cbcb5ea9070d62435722.zip |
ice: use ice_is_vf_trusted helper function
The ice_vc_cfg_promiscuous_mode_msg function directly checks
ICE_VIRTCHNL_VF_CAP_PRIVILEGE, instead of using the existing helper
function ice_is_vf_trusted. Switch this to use the helper function so
that all trusted checks are consistent. This aids in any potential
future refactor by ensuring consistent code.
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>
Diffstat (limited to 'net/ipv6/ip6_output.c')
0 files changed, 0 insertions, 0 deletions