]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1c1df5683c9627c51f4ecf9a3a2ee0907c939650
tree2861d5917a274fec973a572fb215907810c67e84
parentd685f820478c17d40359b88fe90bce6c8b0864f0
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