diff options
| author | Jacob Keller <[email protected]> | 2022-02-23 00:26:58 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2022-03-15 00:22:59 +0000 |
| commit | 1261691dda6b7c229a01cbcb5ea9070d62435722 (patch) | |
| tree | 4cdfb0435fbf4431b93253cda59b42e176a7aec5 /net/unix/af_unix.c | |
| parent | ice: log an error message when eswitch fails to configure (diff) | |
| download | kernel-1261691dda6b7c229a01cbcb5ea9070d62435722.tar.gz kernel-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 <[email protected]>
Tested-by: Konrad Jankowski <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
