Skip to content

Commit

Permalink
Merge pull request k8snetworkplumbingwg/sriov-network-operator #402 E…
Browse files Browse the repository at this point in the history
…nable smfs flow steering by default in switchdev mode.
  • Loading branch information
wangyd1988 committed Dec 5, 2023
1 parent 4b340d7 commit d3ae2da
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ contents:
echo $VfPciAddr > /sys/bus/pci/drivers/mlx5_core/unbind || true
done
# set flow steering mode before entering switchdev mode
echo "Set flow steering mode to dmfs"
devlink dev param set pci/${pci_addr} name flow_steering_mode value dmfs cmode runtime
echo "Set flow steering mode to smfs"
devlink dev param set pci/${pci_addr} name flow_steering_mode value smfs cmode runtime
# set PF to switchdev mode
echo "Set eswitch mode to switchdev"
Expand Down

0 comments on commit d3ae2da

Please sign in to comment.