summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Kalderon <Michal.Kalderon@cavium.com>2018-01-23 11:33:46 +0200
committerDavid S. Miller <davem@davemloft.net>2018-01-24 16:44:21 -0500
commit4de49474b18936d62797d1dd451c6c4db1a7b119 (patch)
tree8b7cb4010371cb8a349d1cff767706e7363e8188
parent88d1d76dca25b135657eda6b93eb1bdbde519d0f (diff)
downloadlinux-4de49474b18936d62797d1dd451c6c4db1a7b119.tar.gz
linux-4de49474b18936d62797d1dd451c6c4db1a7b119.tar.bz2
linux-4de49474b18936d62797d1dd451c6c4db1a7b119.zip
qed: Remove reserveration of dpi for kernel
Double reservation for kernel dedicated dpi was performed. Once in the core module and once in qedr. Remove the reservation from core. Signed-off-by: Michal Kalderon <Michal.Kalderon@cavium.com> Signed-off-by: Ariel Elior <Ariel.Elior@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/ethernet/qlogic/qed/qed_rdma.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ethernet/qlogic/qed/qed_rdma.c b/drivers/net/ethernet/qlogic/qed/qed_rdma.c
index c8c4b3940564..9d6e2d43d4de 100644
--- a/drivers/net/ethernet/qlogic/qed/qed_rdma.c
+++ b/drivers/net/ethernet/qlogic/qed/qed_rdma.c
@@ -615,9 +615,6 @@ static int qed_rdma_reserve_lkey(struct qed_hwfn *p_hwfn)
{
struct qed_rdma_device *dev = p_hwfn->p_rdma_info->dev;
- /* The first DPI is reserved for the Kernel */
- __set_bit(0, p_hwfn->p_rdma_info->dpi_map.bitmap);
-
/* Tid 0 will be used as the key for "reserved MR".
* The driver should allocate memory for it so it can be loaded but no
* ramrod should be passed on it.