diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-10-09 20:04:33 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-10-09 20:04:33 -0400 |
| commit | b9044ac8292fc94bee33f6f08acaed3ac55f0c75 (patch) | |
| tree | 40dce5392f6392984311ec1e083ce29b5186ce8b /include/linux | |
| parent | 1fde76f173e4d9aa205432c2ed5eff978d00deee (diff) | |
| parent | 2937f375751922ffce9ef1d5fa84491840b0c8e0 (diff) | |
Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma
Pull main rdma updates from Doug Ledford:
"This is the main pull request for the rdma stack this release. The
code has been through 0day and I had it tagged for linux-next testing
for a couple days.
Summary:
- updates to mlx5
- updates to mlx4 (two conflicts, both minor and easily resolved)
- updates to iw_cxgb4 (one conflict, not so obvious to resolve,
proper resolution is to keep the code in cxgb4_main.c as it is in
Linus' tree as attach_uld was refactored and moved into
cxgb4_uld.c)
- improvements to uAPI (moved vendor specific API elements to uAPI
area)
- add hns-roce driver and hns and hns-roce ACPI reset support
- conversion of all rdma code away from deprecated
create_singlethread_workqueue
- security improvement: remove unsafe ib_get_dma_mr (breaks lustre in
staging)"
* tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma: (75 commits)
staging/lustre: Disable InfiniBand support
iw_cxgb4: add fast-path for small REG_MR operations
cxgb4: advertise support for FR_NSMR_TPTE_WR
IB/core: correctly handle rdma_rw_init_mrs() failure
IB/srp: Fix infinite loop when FMR sg[0].offset != 0
IB/srp: Remove an unused argument
IB/core: Improve ib_map_mr_sg() documentation
IB/mlx4: Fix possible vl/sl field mismatch in LRH header in QP1 packets
IB/mthca: Move user vendor structures
IB/nes: Move user vendor structures
IB/ocrdma: Move user vendor structures
IB/mlx4: Move user vendor structures
IB/cxgb4: Move user vendor structures
IB/cxgb3: Move user vendor structures
IB/mlx5: Move and decouple user vendor structures
IB/{core,hw}: Add constant for node_desc
ipoib: Make ipoib_warn ratelimited
IB/mlx4/alias_GUID: Remove deprecated create_singlethread_workqueue
IB/ipoib_verbs: Remove deprecated create_singlethread_workqueue
IB/ipoib: Remove deprecated create_singlethread_workqueue
...
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mlx4/device.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/include/linux/mlx4/device.h b/include/linux/mlx4/device.h index 59b50d3eedb4..f6a164297358 100644 --- a/include/linux/mlx4/device.h +++ b/include/linux/mlx4/device.h | |||
| @@ -71,7 +71,8 @@ enum { | |||
| 71 | MLX4_FLAG_SLAVE = 1 << 3, | 71 | MLX4_FLAG_SLAVE = 1 << 3, |
| 72 | MLX4_FLAG_SRIOV = 1 << 4, | 72 | MLX4_FLAG_SRIOV = 1 << 4, |
| 73 | MLX4_FLAG_OLD_REG_MAC = 1 << 6, | 73 | MLX4_FLAG_OLD_REG_MAC = 1 << 6, |
| 74 | MLX4_FLAG_BONDED = 1 << 7 | 74 | MLX4_FLAG_BONDED = 1 << 7, |
| 75 | MLX4_FLAG_SECURE_HOST = 1 << 8, | ||
| 75 | }; | 76 | }; |
| 76 | 77 | ||
| 77 | enum { | 78 | enum { |
| @@ -222,6 +223,7 @@ enum { | |||
| 222 | MLX4_DEV_CAP_FLAG2_DMFS_UC_MC_SNIFFER = 1ULL << 34, | 223 | MLX4_DEV_CAP_FLAG2_DMFS_UC_MC_SNIFFER = 1ULL << 34, |
| 223 | MLX4_DEV_CAP_FLAG2_DIAG_PER_PORT = 1ULL << 35, | 224 | MLX4_DEV_CAP_FLAG2_DIAG_PER_PORT = 1ULL << 35, |
| 224 | MLX4_DEV_CAP_FLAG2_SVLAN_BY_QP = 1ULL << 36, | 225 | MLX4_DEV_CAP_FLAG2_SVLAN_BY_QP = 1ULL << 36, |
| 226 | MLX4_DEV_CAP_FLAG2_SL_TO_VL_CHANGE_EVENT = 1ULL << 37, | ||
| 225 | }; | 227 | }; |
| 226 | 228 | ||
| 227 | enum { | 229 | enum { |
| @@ -449,6 +451,7 @@ enum { | |||
| 449 | MLX4_DEV_PMC_SUBTYPE_GUID_INFO = 0x14, | 451 | MLX4_DEV_PMC_SUBTYPE_GUID_INFO = 0x14, |
| 450 | MLX4_DEV_PMC_SUBTYPE_PORT_INFO = 0x15, | 452 | MLX4_DEV_PMC_SUBTYPE_PORT_INFO = 0x15, |
| 451 | MLX4_DEV_PMC_SUBTYPE_PKEY_TABLE = 0x16, | 453 | MLX4_DEV_PMC_SUBTYPE_PKEY_TABLE = 0x16, |
| 454 | MLX4_DEV_PMC_SUBTYPE_SL_TO_VL_MAP = 0x17, | ||
| 452 | }; | 455 | }; |
| 453 | 456 | ||
| 454 | /* Port mgmt change event handling */ | 457 | /* Port mgmt change event handling */ |
| @@ -460,6 +463,11 @@ enum { | |||
| 460 | MLX4_EQ_PORT_INFO_MSTR_SM_SL_CHANGE_MASK = 1 << 4, | 463 | MLX4_EQ_PORT_INFO_MSTR_SM_SL_CHANGE_MASK = 1 << 4, |
| 461 | }; | 464 | }; |
| 462 | 465 | ||
| 466 | union sl2vl_tbl_to_u64 { | ||
| 467 | u8 sl8[8]; | ||
| 468 | u64 sl64; | ||
| 469 | }; | ||
| 470 | |||
| 463 | enum { | 471 | enum { |
| 464 | MLX4_DEVICE_STATE_UP = 1 << 0, | 472 | MLX4_DEVICE_STATE_UP = 1 << 0, |
| 465 | MLX4_DEVICE_STATE_INTERNAL_ERROR = 1 << 1, | 473 | MLX4_DEVICE_STATE_INTERNAL_ERROR = 1 << 1, |
| @@ -946,6 +954,9 @@ struct mlx4_eqe { | |||
| 946 | __be32 block_ptr; | 954 | __be32 block_ptr; |
| 947 | __be32 tbl_entries_mask; | 955 | __be32 tbl_entries_mask; |
| 948 | } __packed tbl_change_info; | 956 | } __packed tbl_change_info; |
| 957 | struct { | ||
| 958 | u8 sl2vl_table[8]; | ||
| 959 | } __packed sl2vl_tbl_change_info; | ||
| 949 | } params; | 960 | } params; |
| 950 | } __packed port_mgmt_change; | 961 | } __packed port_mgmt_change; |
| 951 | struct { | 962 | struct { |
