History

net/mlx5: E-switch, Removed unused hwid

Currently mlx5_eswitch_rep stores same hw ID for all representors. However it is never used from this structure. It is always used from mlx5_vport. Hence, remove unused field.

Parav Pandit committed 7 years ago

Commit ef2e4091 parent d589e782 files · +1 −6Browse files

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

Unified · Split

include/linux/mlx5/eswitch.h+0−1
@@ -44,7 +44,6 @@ struct mlx5_eswitch_rep_data { · 43 unmodified lines
4444 struct mlx5_eswitch_rep {
4545 struct mlx5_eswitch_rep_data rep_data[NUM_REP_TYPES];
4646 u16 vport;
47− u8 hw_id[ETH_ALEN];
4847 u16 vlan;
4948 /* Only IB rep is using vport_index */
5049 u16 vport_index;

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