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/device.h | |
| parent | 9175c9d2aed528800175ef81c90569d00d23f9be (diff) | |
| parent | 5e01dc7b26d9f24f39abace5da98ccbd6a5ceb52 (diff) | |
Merge tag 'v3.12'
Linux 3.12
Conflicts:
fs/exec.c
Diffstat (limited to 'include/linux/mlx4/device.h')
| -rw-r--r-- | include/linux/mlx4/device.h | 17 |
1 files changed, 7 insertions, 10 deletions
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, |
