summaryrefslogtreecommitdiff
path: root/include/linux/qed/rdma_common.h
diff options
context:
space:
mode:
authorMintz, Yuval <Yuval.Mintz@cavium.com>2017-03-14 16:23:54 +0200
committerDavid S. Miller <davem@davemloft.net>2017-03-14 11:43:30 -0700
commit9c79ddaa0f962d1f26537a670b0652ff509a6fe0 (patch)
treec4afce8d065c19f682f4294f54864d53864b61b5 /include/linux/qed/rdma_common.h
parent942c56ad07d111714899ec4bfb32212a65f40ac5 (diff)
downloadlinux-9c79ddaa0f962d1f26537a670b0652ff509a6fe0.tar.gz
linux-9c79ddaa0f962d1f26537a670b0652ff509a6fe0.tar.xz
qed*: Add support for QL41xxx adapters
This adds the necessary infrastructure changes for initializing and working with the new series of QL41xxx adapaters. It also adds 2 new PCI device-IDs to qede: - 0x8070 for QL41xxx PFs - 0x8090 for VFs spawning from QL41xxx PFs Signed-off-by: Tomer Tayar <Tomer.Tayar@cavium.com> Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/qed/rdma_common.h')
-rw-r--r--include/linux/qed/rdma_common.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/qed/rdma_common.h b/include/linux/qed/rdma_common.h
index f773aa5e746f..72c770f9f666 100644
--- a/include/linux/qed/rdma_common.h
+++ b/include/linux/qed/rdma_common.h
@@ -52,7 +52,8 @@
#define RDMA_MAX_PDS (64 * 1024)
#define RDMA_NUM_STATISTIC_COUNTERS MAX_NUM_VPORTS
-#define RDMA_NUM_STATISTIC_COUNTERS_BB MAX_NUM_VPORTS_BB
+#define RDMA_NUM_STATISTIC_COUNTERS_K2 MAX_NUM_VPORTS_K2
+#define RDMA_NUM_STATISTIC_COUNTERS_BB MAX_NUM_VPORTS_BB
#define RDMA_TASK_TYPE (PROTOCOLID_ROCE)