diff mbox series

[rdma-next] IB/bnxt_re: Do not notifify GID change event

Message ID 20190726182652.50037-1-parav@mellanox.com (mailing list archive)
State Mainlined
Commit bda9045a200c173b2883a878b68b8b9218ae65c6
Headers show
Series [rdma-next] IB/bnxt_re: Do not notifify GID change event | expand

Commit Message

Parav Pandit July 26, 2019, 6:26 p.m. UTC
GID table entry operations such as add/remove/modify are triggered
by the IB core for RoCE ports.
Hence, remove GID change notification from hw driver.

Reviewed-by: Selvin Xavier <selvin.xavier@broadcom.com>
Tested-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Parav Pandit <parav@mellanox.com>
---
 drivers/infiniband/hw/bnxt_re/main.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Doug Ledford July 29, 2019, 5:51 p.m. UTC | #1
On Fri, 2019-07-26 at 13:26 -0500, Parav Pandit wrote:
> GID table entry operations such as add/remove/modify are triggered
> by the IB core for RoCE ports.
> Hence, remove GID change notification from hw driver.
> 
> Reviewed-by: Selvin Xavier <selvin.xavier@broadcom.com>
> Tested-by: Selvin Xavier <selvin.xavier@broadcom.com>
> Signed-off-by: Parav Pandit <parav@mellanox.com>

Thanks, applied to for-next.
diff mbox series

Patch

diff --git a/drivers/infiniband/hw/bnxt_re/main.c b/drivers/infiniband/hw/bnxt_re/main.c
index 814f959c7db9..efcfa5441991 100644
--- a/drivers/infiniband/hw/bnxt_re/main.c
+++ b/drivers/infiniband/hw/bnxt_re/main.c
@@ -1471,7 +1471,6 @@  static int bnxt_re_ib_reg(struct bnxt_re_dev *rdev)
 			 &rdev->active_width);
 	set_bit(BNXT_RE_FLAG_ISSUE_ROCE_STATS, &rdev->flags);
 	bnxt_re_dispatch_event(&rdev->ibdev, NULL, 1, IB_EVENT_PORT_ACTIVE);
-	bnxt_re_dispatch_event(&rdev->ibdev, NULL, 1, IB_EVENT_GID_CHANGE);
 
 	return 0;
 free_sctx: