bnxt_en: Set default completion ring for async events.
authorMichael Chan <michael.chan@broadcom.com>
Thu, 29 Dec 2016 17:13:42 +0000 (12:13 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Dec 2016 19:37:23 +0000 (14:37 -0500)
commit486b5c22ea1d35e00e90dd79a32a9ee530b18915
tree2861d5917a274fec973a572fb215907810c67e84
parent391be5c2736456f032fe0265031ecfe17aee84a0
bnxt_en: Set default completion ring for async events.

With the added support for the bnxt_re RDMA driver, both drivers can be
allocating completion rings in any order.  The firmware does not know
which completion ring should be receiving async events.  Add an
extra step to tell firmware the completion ring number for receiving
async events after bnxt_en allocates the completion rings.

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