summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlxsw/core.h
diff options
context:
space:
mode:
authorJiri Pirko2018-04-01 16:34:54 +0200
committerDavid S. Miller2018-04-01 16:56:42 +0200
commit72779c97cf8f8f446521b48b12f305b6cf952bec (patch)
treec17c9e0655a926826b7622dd987184c7446ca60e /drivers/net/ethernet/mellanox/mlxsw/core.h
parentmlxsw: spectrum: Change KVD linear parts from list to array (diff)
downloadkernel-qcow2-linux-72779c97cf8f8f446521b48b12f305b6cf952bec.tar.gz
kernel-qcow2-linux-72779c97cf8f8f446521b48b12f305b6cf952bec.tar.xz
kernel-qcow2-linux-72779c97cf8f8f446521b48b12f305b6cf952bec.zip
mlxsw: remove kvd_hash_granularity from config profile struct
This should not be part of the struct, as the struct fields are tightly coupled with the FW command payload of the same name. Just use the "granularity" define directly, as in other places. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/core.h')
-rw-r--r--drivers/net/ethernet/mellanox/mlxsw/core.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlxsw/core.h b/drivers/net/ethernet/mellanox/mlxsw/core.h
index 5ddafd74dc00..fd30eaf40475 100644
--- a/drivers/net/ethernet/mellanox/mlxsw/core.h
+++ b/drivers/net/ethernet/mellanox/mlxsw/core.h
@@ -256,7 +256,6 @@ struct mlxsw_config_profile {
u16 adaptive_routing_group_cap;
u8 arn;
u32 kvd_linear_size;
- u16 kvd_hash_granularity;
u8 kvd_hash_single_parts;
u8 kvd_hash_double_parts;
u8 resource_query_enable;