diff options
author | Wojciech Drewek <wojciech.drewek@intel.com> | 2021-10-15 10:27:19 +0200 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2021-10-19 10:53:26 -0700 |
commit | 1281b7459657abcd6db74fbfbf9b20717de8966c (patch) | |
tree | ee50f2a2781ea41e5d9688874bbc997743df2ec9 /drivers/net/ethernet/intel/ice/ice_tc_lib.c | |
parent | 23be7075b31863da9cf3983aebcc8ff7537c06ac (diff) |
ice: Forbid trusted VFs in switchdev mode
Merge issues caused the check for switchdev mode has been inserted
in wrong place. It should be in ice_set_vf_trust not in ice_set_vf_mac.
Trusted VFs are forbidden in switchdev mode because they should
be configured only from the host side.
Fixes: 1c54c839935b ("ice: enable/disable switchdev when managing VFs")
Signed-off-by: Wojciech Drewek <wojciech.drewek@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_tc_lib.c')
0 files changed, 0 insertions, 0 deletions