History

net/mlx5e: Add missing capability check for uplink follow

Expose firmware indication that it supports setting eswitch uplink state to follow (follow the physical link). Condition setting the eswitch uplink admin-state with this capability bit. Older FW may not support the uplink state setting.

Aya Levin committed 5 years ago

Commit 9c9be851 parent abf8ef92 files · +4 −2Browse files

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

Unified · Split

include/linux/mlx5/mlx5_ifc.h+2−1
@@ -1280,7 +1280,8 @@ struct mlx5_ifc_cmd_hca_cap_bits { · 1279 unmodified lines
1280 u8 ece_support[0x1];1280 u8 ece_support[0x1];
1281 u8 reserved_at_a4[0x7];1281 u8 reserved_at_a4[0x7];
1282 u8 log_max_srq[0x5];1282 u8 log_max_srq[0x5];
1283 u8 reserved_at_b0[0x2];1283 u8 reserved_at_b0[0x1];
1284 u8 uplink_follow[0x1];
1284 u8 ts_cqe_to_dest_cqn[0x1];1285 u8 ts_cqe_to_dest_cqn[0x1];
1285 u8 reserved_at_b3[0xd];1286 u8 reserved_at_b3[0xd];
1286 1287

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