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
44struct mlx5_eswitch_rep {44struct mlx5_eswitch_rep {
45 struct mlx5_eswitch_rep_data rep_data[NUM_REP_TYPES];45 struct mlx5_eswitch_rep_data rep_data[NUM_REP_TYPES];
46 u16 vport;46 u16 vport;
47 u8 hw_id[ETH_ALEN];
48 u16 vlan;47 u16 vlan;
49 /* Only IB rep is using vport_index */48 /* Only IB rep is using vport_index */
50 u16 vport_index;49 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