summaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5/mlx5_ifc.h
diff options
context:
space:
mode:
authorBodong Wang2016-09-07 18:07:58 +0200
committerDavid S. Miller2016-09-09 01:15:28 +0200
commite7e31ca43d6bedf1c551b1f9c7e78d51c9a45790 (patch)
tree348c50cc39d335e71ca1902248f0f006c7b1bc7b /include/linux/mlx5/mlx5_ifc.h
parentnet/mlx5e: Fix xmit_more counter race issue (diff)
downloadkernel-qcow2-linux-e7e31ca43d6bedf1c551b1f9c7e78d51c9a45790.tar.gz
kernel-qcow2-linux-e7e31ca43d6bedf1c551b1f9c7e78d51c9a45790.tar.xz
kernel-qcow2-linux-e7e31ca43d6bedf1c551b1f9c7e78d51c9a45790.zip
net/mlx5e: Move an_disable_cap bit to a new position
Previous an_disable_cap position bit31 is deprecated to be use in driver with newer firmware. New firmware will advertise the same capability in bit29. Old capability didn't allow setting more than one protocol for a specific speed when autoneg is off, while newer firmware will allow this and it is indicated in the new capability location. Signed-off-by: Bodong Wang <bodong@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/mlx5_ifc.h')
-rw-r--r--include/linux/mlx5/mlx5_ifc.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h
index 21bc4557b67a..d1f9a581aca8 100644
--- a/include/linux/mlx5/mlx5_ifc.h
+++ b/include/linux/mlx5/mlx5_ifc.h
@@ -6710,9 +6710,10 @@ struct mlx5_ifc_pude_reg_bits {
};
struct mlx5_ifc_ptys_reg_bits {
- u8 an_disable_cap[0x1];
+ u8 reserved_at_0[0x1];
u8 an_disable_admin[0x1];
- u8 reserved_at_2[0x6];
+ u8 an_disable_cap[0x1];
+ u8 reserved_at_3[0x5];
u8 local_port[0x8];
u8 reserved_at_10[0xd];
u8 proto_mask[0x3];