diff options
| author | Eric Paris <eparis@redhat.com> | 2013-11-22 18:57:08 -0500 |
|---|---|---|
| committer | Eric Paris <eparis@redhat.com> | 2013-11-22 18:57:54 -0500 |
| commit | fc582aef7dcc27a7120cf232c1e76c569c7b6eab (patch) | |
| tree | 7d275dd4ceab6067b91e9a25a5f6338b425fbccd /include/linux/mlx4 | |
| parent | 9175c9d2aed528800175ef81c90569d00d23f9be (diff) | |
| parent | 5e01dc7b26d9f24f39abace5da98ccbd6a5ceb52 (diff) | |
Merge tag 'v3.12'
Linux 3.12
Conflicts:
fs/exec.c
Diffstat (limited to 'include/linux/mlx4')
| -rw-r--r-- | include/linux/mlx4/cmd.h | 1 | ||||
| -rw-r--r-- | include/linux/mlx4/device.h | 17 | ||||
| -rw-r--r-- | include/linux/mlx4/qp.h | 5 |
3 files changed, 11 insertions, 12 deletions
diff --git a/include/linux/mlx4/cmd.h b/include/linux/mlx4/cmd.h index bb1c8096a7eb..cd1fdf75103b 100644 --- a/include/linux/mlx4/cmd.h +++ b/include/linux/mlx4/cmd.h | |||
| @@ -69,6 +69,7 @@ enum { | |||
| 69 | MLX4_CMD_SET_ICM_SIZE = 0xffd, | 69 | MLX4_CMD_SET_ICM_SIZE = 0xffd, |
| 70 | /*master notify fw on finish for slave's flr*/ | 70 | /*master notify fw on finish for slave's flr*/ |
| 71 | MLX4_CMD_INFORM_FLR_DONE = 0x5b, | 71 | MLX4_CMD_INFORM_FLR_DONE = 0x5b, |
| 72 | MLX4_CMD_GET_OP_REQ = 0x59, | ||
| 72 | 73 | ||
| 73 | /* TPT commands */ | 74 | /* TPT commands */ |
| 74 | MLX4_CMD_SW2HW_MPT = 0xd, | 75 | MLX4_CMD_SW2HW_MPT = 0xd, |
diff --git a/include/linux/mlx4/device.h b/include/linux/mlx4/device.h index 52c23a892bab..24ce6bdd540e 100644 --- a/include/linux/mlx4/device.h +++ b/include/linux/mlx4/device.h | |||
| @@ -33,6 +33,7 @@ | |||
| 33 | #ifndef MLX4_DEVICE_H | 33 | #ifndef MLX4_DEVICE_H |
| 34 | #define MLX4_DEVICE_H | 34 | #define MLX4_DEVICE_H |
| 35 | 35 | ||
| 36 | #include <linux/if_ether.h> | ||
| 36 | #include <linux/pci.h> | 37 | #include <linux/pci.h> |
| 37 | #include <linux/completion.h> | 38 | #include <linux/completion.h> |
| 38 | #include <linux/radix-tree.h> | 39 | #include <linux/radix-tree.h> |
| @@ -207,6 +208,7 @@ enum mlx4_event { | |||
| 207 | MLX4_EVENT_TYPE_CMD = 0x0a, | 208 | MLX4_EVENT_TYPE_CMD = 0x0a, |
| 208 | MLX4_EVENT_TYPE_VEP_UPDATE = 0x19, | 209 | MLX4_EVENT_TYPE_VEP_UPDATE = 0x19, |
| 209 | MLX4_EVENT_TYPE_COMM_CHANNEL = 0x18, | 210 | MLX4_EVENT_TYPE_COMM_CHANNEL = 0x18, |
| 211 | MLX4_EVENT_TYPE_OP_REQUIRED = 0x1a, | ||
| 210 | MLX4_EVENT_TYPE_FATAL_WARNING = 0x1b, | 212 | MLX4_EVENT_TYPE_FATAL_WARNING = 0x1b, |
| 211 | MLX4_EVENT_TYPE_FLR_EVENT = 0x1c, | 213 | MLX4_EVENT_TYPE_FLR_EVENT = 0x1c, |
| 212 | MLX4_EVENT_TYPE_PORT_MNG_CHG_EVENT = 0x1d, | 214 | MLX4_EVENT_TYPE_PORT_MNG_CHG_EVENT = 0x1d, |
| @@ -619,7 +621,7 @@ struct mlx4_eth_av { | |||
| 619 | u8 dgid[16]; | 621 | u8 dgid[16]; |
| 620 | u32 reserved4[2]; | 622 | u32 reserved4[2]; |
| 621 | __be16 vlan; | 623 | __be16 vlan; |
| 622 | u8 mac[6]; | 624 | u8 mac[ETH_ALEN]; |
| 623 | }; | 625 | }; |
| 624 | 626 | ||
| 625 | union mlx4_ext_av { | 627 | union mlx4_ext_av { |
| @@ -913,10 +915,10 @@ enum mlx4_net_trans_promisc_mode { | |||
| 913 | }; | 915 | }; |
| 914 | 916 | ||
| 915 | struct mlx4_spec_eth { | 917 | struct mlx4_spec_eth { |
| 916 | u8 dst_mac[6]; | 918 | u8 dst_mac[ETH_ALEN]; |
| 917 | u8 dst_mac_msk[6]; | 919 | u8 dst_mac_msk[ETH_ALEN]; |
| 918 | u8 src_mac[6]; | 920 | u8 src_mac[ETH_ALEN]; |
| 919 | u8 src_mac_msk[6]; | 921 | u8 src_mac_msk[ETH_ALEN]; |
| 920 | u8 ether_type_enable; | 922 | u8 ether_type_enable; |
| 921 | __be16 ether_type; | 923 | __be16 ether_type; |
| 922 | __be16 vlan_id_msk; | 924 | __be16 vlan_id_msk; |
| @@ -1052,11 +1054,6 @@ struct _rule_hw { | |||
| 1052 | }; | 1054 | }; |
| 1053 | }; | 1055 | }; |
| 1054 | 1056 | ||
| 1055 | /* translating DMFS verbs sniffer rule to the FW API would need two reg IDs */ | ||
| 1056 | struct mlx4_flow_handle { | ||
| 1057 | u64 reg_id[2]; | ||
| 1058 | }; | ||
| 1059 | |||
| 1060 | int mlx4_flow_steer_promisc_add(struct mlx4_dev *dev, u8 port, u32 qpn, | 1057 | int mlx4_flow_steer_promisc_add(struct mlx4_dev *dev, u8 port, u32 qpn, |
| 1061 | enum mlx4_net_trans_promisc_mode mode); | 1058 | enum mlx4_net_trans_promisc_mode mode); |
| 1062 | int mlx4_flow_steer_promisc_remove(struct mlx4_dev *dev, u8 port, | 1059 | int mlx4_flow_steer_promisc_remove(struct mlx4_dev *dev, u8 port, |
diff --git a/include/linux/mlx4/qp.h b/include/linux/mlx4/qp.h index 262deac02c9e..6d351473c292 100644 --- a/include/linux/mlx4/qp.h +++ b/include/linux/mlx4/qp.h | |||
| @@ -34,6 +34,7 @@ | |||
| 34 | #define MLX4_QP_H | 34 | #define MLX4_QP_H |
| 35 | 35 | ||
| 36 | #include <linux/types.h> | 36 | #include <linux/types.h> |
| 37 | #include <linux/if_ether.h> | ||
| 37 | 38 | ||
| 38 | #include <linux/mlx4/device.h> | 39 | #include <linux/mlx4/device.h> |
| 39 | 40 | ||
| @@ -143,7 +144,7 @@ struct mlx4_qp_path { | |||
| 143 | u8 feup; | 144 | u8 feup; |
| 144 | u8 fvl_rx; | 145 | u8 fvl_rx; |
| 145 | u8 reserved4[2]; | 146 | u8 reserved4[2]; |
| 146 | u8 dmac[6]; | 147 | u8 dmac[ETH_ALEN]; |
| 147 | }; | 148 | }; |
| 148 | 149 | ||
| 149 | enum { /* fl */ | 150 | enum { /* fl */ |
| @@ -318,7 +319,7 @@ struct mlx4_wqe_datagram_seg { | |||
| 318 | __be32 dqpn; | 319 | __be32 dqpn; |
| 319 | __be32 qkey; | 320 | __be32 qkey; |
| 320 | __be16 vlan; | 321 | __be16 vlan; |
| 321 | u8 mac[6]; | 322 | u8 mac[ETH_ALEN]; |
| 322 | }; | 323 | }; |
| 323 | 324 | ||
| 324 | struct mlx4_wqe_lso_seg { | 325 | struct mlx4_wqe_lso_seg { |
