]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnxt_en: Refactor bnxt_close_nic().
authorMichael Chan <michael.chan@broadcom.com>
Wed, 17 Jan 2018 08:21:04 +0000 (03:21 -0500)
committerJack Vogel <jack.vogel@oracle.com>
Fri, 9 Mar 2018 05:04:22 +0000 (21:04 -0800)
commitd108f8b4fce4c76b00a0cb4f8f54749e6d306dfb
treefbb867a6e06e59c9e31b30476b578f26c42c8508
parente73298c03ad8aed429184d96c97aa407b23ceda3
bnxt_en: Refactor bnxt_close_nic().

Orabug: 2764835527648339

Add a new __bnxt_close_nic() function to do all the work previously done
in bnxt_close_nic() except waiting for SRIOV configuration.  The new
function will be used in the next patch as part of SRIOV cleanup.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 86e953db0114f396f916344395160aa267bf2627)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Reviewed-by: Jack Vogel <jack.vogel@oracle.com>
Conflicts:
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.c