aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorHadar Hen Zion <hadarh@mellanox.com>2013-04-24 09:58:46 -0400
committerRoland Dreier <roland@purestorage.com>2013-04-24 20:51:29 -0400
commitba60a3560ccf8e4253da9c0e8d1292375fd51796 (patch)
tree2ffc9ce3c20f3a3159eda08be16d8ac4d1a71f9e /include/linux
parentf91625398a2e6e03f0155861b630021ceddb42e7 (diff)
mlx4_core: Change a few DMFS fields names to match firmare spec
Change struct mlx4_net_trans_rule_hw_eth :: vlan_id name to vlan_tag Change struct mlx4_net_trans_rule_hw_ib :: r_u_qpn name to l3_qpn The patch doesn't introduce any functional change or API change towards the firmware. Signed-off-by: Hadar Hen Zion <hadarh@mellanox.com> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mlx4/device.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/mlx4/device.h b/include/linux/mlx4/device.h
index b2fe59d199f8..a69bda77c1d1 100644
--- a/include/linux/mlx4/device.h
+++ b/include/linux/mlx4/device.h
@@ -930,7 +930,7 @@ struct mlx4_spec_ipv4 {
930}; 930};
931 931
932struct mlx4_spec_ib { 932struct mlx4_spec_ib {
933 __be32 r_qpn; 933 __be32 l3_qpn;
934 __be32 qpn_msk; 934 __be32 qpn_msk;
935 u8 dst_gid[16]; 935 u8 dst_gid[16];
936 u8 dst_gid_msk[16]; 936 u8 dst_gid_msk[16];
@@ -978,7 +978,7 @@ struct mlx4_net_trans_rule_hw_ib {
978 u8 rsvd1; 978 u8 rsvd1;
979 __be16 id; 979 __be16 id;
980 u32 rsvd2; 980 u32 rsvd2;
981 __be32 qpn; 981 __be32 l3_qpn;
982 __be32 qpn_mask; 982 __be32 qpn_mask;
983 u8 dst_gid[16]; 983 u8 dst_gid[16];
984 u8 dst_gid_msk[16]; 984 u8 dst_gid_msk[16];
@@ -999,8 +999,8 @@ struct mlx4_net_trans_rule_hw_eth {
999 u8 rsvd5; 999 u8 rsvd5;
1000 u8 ether_type_enable; 1000 u8 ether_type_enable;
1001 __be16 ether_type; 1001 __be16 ether_type;
1002 __be16 vlan_id_msk; 1002 __be16 vlan_tag_msk;
1003 __be16 vlan_id; 1003 __be16 vlan_tag;
1004} __packed; 1004} __packed;
1005 1005
1006struct mlx4_net_trans_rule_hw_tcp_udp { 1006struct mlx4_net_trans_rule_hw_tcp_udp {