diff options
| author | Maor Gottlieb <maorg@mellanox.com> | 2016-07-04 10:23:06 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-07-05 03:06:02 -0400 |
| commit | fba53f7b571925b8a0d59d460ad6de1fda928a3e (patch) | |
| tree | 9392e6c04eecfbe3e9668d78b64bc2b8297ecfc9 /include/linux/mlx5 | |
| parent | c5bb17302e734967822be559cf661704b707b4ed (diff) | |
net/mlx5: Introduce mlx5_flow_steering structure
Instead of having all steering private name spaces and
steering module fields flat in mlx5_core_priv, we wrap
them in mlx5_flow_steering for better modularity and
API exposure.
Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/mlx5')
| -rw-r--r-- | include/linux/mlx5/driver.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/linux/mlx5/driver.h b/include/linux/mlx5/driver.h index e22b3456b2ee..f21c45941887 100644 --- a/include/linux/mlx5/driver.h +++ b/include/linux/mlx5/driver.h | |||
| @@ -550,14 +550,10 @@ struct mlx5_priv { | |||
| 550 | struct list_head ctx_list; | 550 | struct list_head ctx_list; |
| 551 | spinlock_t ctx_lock; | 551 | spinlock_t ctx_lock; |
| 552 | 552 | ||
| 553 | struct mlx5_flow_steering *steering; | ||
| 553 | struct mlx5_eswitch *eswitch; | 554 | struct mlx5_eswitch *eswitch; |
| 554 | struct mlx5_core_sriov sriov; | 555 | struct mlx5_core_sriov sriov; |
| 555 | unsigned long pci_dev_data; | 556 | unsigned long pci_dev_data; |
| 556 | struct mlx5_flow_root_namespace *root_ns; | ||
| 557 | struct mlx5_flow_root_namespace *fdb_root_ns; | ||
| 558 | struct mlx5_flow_root_namespace *esw_egress_root_ns; | ||
| 559 | struct mlx5_flow_root_namespace *esw_ingress_root_ns; | ||
| 560 | |||
| 561 | struct mlx5_fc_stats fc_stats; | 557 | struct mlx5_fc_stats fc_stats; |
| 562 | struct mlx5_rl_table rl_table; | 558 | struct mlx5_rl_table rl_table; |
| 563 | }; | 559 | }; |
