summaryrefslogtreecommitdiff
path: root/drivers/net/bnx2x/bnx2x_vfpf.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/bnx2x/bnx2x_vfpf.c')
-rw-r--r--drivers/net/bnx2x/bnx2x_vfpf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/bnx2x/bnx2x_vfpf.c b/drivers/net/bnx2x/bnx2x_vfpf.c
index cd5522d..7cf738a 100644
--- a/drivers/net/bnx2x/bnx2x_vfpf.c
+++ b/drivers/net/bnx2x/bnx2x_vfpf.c
@@ -300,11 +300,11 @@ int bnx2x_vf_get_resources(struct bnx2x_softc *sc, uint8_t tx_count, uint8_t rx_
sc->igu_sb_cnt, sc->igu_base_sb);
strncpy(sc->fw_ver, sc_resp.fw_ver, sizeof(sc->fw_ver));
- if (is_valid_assigned_ether_addr(&sc_resp.resc.current_mac_addr))
- ether_addr_copy(&sc_resp.resc.current_mac_addr,
+ if (rte_is_valid_assigned_ether_addr(&sc_resp.resc.current_mac_addr))
+ rte_ether_addr_copy(&sc_resp.resc.current_mac_addr,
(struct rte_ether_addr *)sc->link_params.mac_addr);
else
- eth_random_addr(sc->link_params.mac_addr);
+ rte_eth_random_addr(sc->link_params.mac_addr);
out:
bnx2x_vf_finalize(sc, &acq->first_tlv);