]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnxt_en: Re-arrange bnxt_hwrm_func_qcaps().
authorMichael Chan <michael.chan@broadcom.com>
Mon, 19 Sep 2016 07:58:05 +0000 (03:58 -0400)
committerDhaval Giani <dhaval.giani@oracle.com>
Fri, 20 Jan 2017 18:07:40 +0000 (13:07 -0500)
commit418bb50950efdeb39b0e84210b2d36ca9fa27197
tree0a16c76151dd02faf0ec0c7164a6f0e3e229d454
parentcfe776c3ecd2e600e3bf093bebd7993300e5b216
bnxt_en: Re-arrange bnxt_hwrm_func_qcaps().

Orabug: 24567991

Re-arrange the code so that the generation of the random MAC address for
the VF is at the end of the function.  The next patch will add one more step
to call bnxt_approve_mac() to get the firmware to approve the random MAC
address.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 7cc5a20e38fcaf395ac59e7ed6c3decb575a0dc7)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>
drivers/net/ethernet/broadcom/bnxt/bnxt.c