OSDN Git Service

bnxt_en: Add ULP calls to stop and restart IRQs.
authorMichael Chan <michael.chan@broadcom.com>
Sat, 31 Mar 2018 17:54:21 +0000 (13:54 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Apr 2018 03:24:20 +0000 (23:24 -0400)
commitec86f14ea5064e36ee111297bdb376dda4cba264
tree36c5c4d46beff5912a23f55b65bdb5cafc95f7f1
parentfbcfc8e4674156cb7eb3d8054bd4332142d2cc58
bnxt_en: Add ULP calls to stop and restart IRQs.

When the driver needs to re-initailize the IRQ vectors, we make the
new ulp_irq_stop() call to tell the RDMA driver to disable and free
the IRQ vectors.  After IRQ vectors have been re-initailized, we
make the ulp_irq_restart() call to tell the RDMA driver that
IRQs can be restarted.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c
drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.h