aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGrzegorz Nitka <[email protected]>2021-08-19 17:08:56 -0700
committerTony Nguyen <[email protected]>2021-10-07 10:41:42 -0700
commit1c54c839935be6abd8889431665f813ec658d776 (patch)
treed4998cf062f43852f74d4586c6c18c55ea542b50 /tools/perf/scripts/python
parentf66756e0ead7a1e80fb53fe03ff1728bcc7600da (diff)
ice: enable/disable switchdev when managing VFs
Only way to enable switchdev is to create VFs when the eswitch mode is set to switchdev. Check if correct mode is set and enable switchdev in function which creating VFs. Disable switchdev when user change number of VFs to 0. Changing eswitch mode back to legacy when VFs are created in switchdev mode isn't allowed. As switchdev takes care of managing filter rules, adding new rules on VF is blocked. In case of resetting VF driver has to update pointer in ice_repr struct, because after reset VSI related things can change. Co-developed-by: Wojciech Drewek <[email protected]> Signed-off-by: Wojciech Drewek <[email protected]> Signed-off-by: Grzegorz Nitka <[email protected]> Tested-by: Sandeep Penigalapati <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions