diff options
author | Michael Chan <michael.chan@broadcom.com> | 2017-08-24 02:34:05 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-24 08:42:43 +0300 |
commit | a22a6ac2ff8080c87e446e20592725c064229c71 (patch) | |
tree | b35c127b0f39b67f8e26ef42aac4a9d56c2eff40 /net/netfilter | |
parent | 146ed3c5b87d8c65ec31bc56df26f027fe624b8f (diff) | |
download | linux-a22a6ac2ff8080c87e446e20592725c064229c71.tar.xz |
bnxt_en: Do not setup MAC address in bnxt_hwrm_func_qcaps().
bnxt_hwrm_func_qcaps() is called during probe to get all device
resources and it also sets up the factory MAC address. The same function
is called when SRIOV is disabled to reclaim all resources. If
the MAC address has been overridden by a user administered MAC
address, calling this function will overwrite it.
Separate the logic that sets up the default MAC address into a new
function bnxt_init_mac_addr() that is only called during probe time.
Fixes: 4a21b49b34c0 ("bnxt_en: Improve VF resource accounting.")
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netfilter')
0 files changed, 0 insertions, 0 deletions