History

net/mlx5: E-Switch, Refactor eswitch SR-IOV interface

Devlink eswitch mode is not necessarily related to SR-IOV, e.g, ECPF can be at offload mode when SR-IOV is not enabled. Rename the interface and eswitch mode names to decouple from SR-IOV, and cleanup eswitch messages accordingly.

Bodong Wang committed 7 years ago

Commit f6455de1 parent e1d974d11 files · +77 −76Browse files

Showing the changes to include/linux (1 of 11 files). Show all

Unified · Split

include/linux/mlx5/eswitch.h+3−3
@@ -12,9 +12,9 @@ · 11 unmodified lines
1212 #define MLX5_ESWITCH_MANAGER(mdev) MLX5_CAP_GEN(mdev, eswitch_manager)
1313
1414 enum {
15− SRIOV_NONE,
16− SRIOV_LEGACY,
17− SRIOV_OFFLOADS
15+ MLX5_ESWITCH_NONE,
16+ MLX5_ESWITCH_LEGACY,
17+ MLX5_ESWITCH_OFFLOADS
1818 };
1919
2020 enum {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t