]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Mon, 6 Mar 2017 21:35:22 +0000 (13:35 -0800)
commit633e1af28006aac5394eb7ed5ed6e29ea855a577
treeb6aa9aa305b813527b1701f4e71887778e764696
parent8b3ddbacb3391cbd756a1a32a7c5793f6007fba6
bnxt_en: Set default completion ring for async events.

Orabug: 25645429

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>
(cherry picked from commit 486b5c22ea1d35e00e90dd79a32a9ee530b18915)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/broadcom/bnxt/bnxt.c