git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net/mlx5: add C++ include guard to public header
[dpdk.git]
/
drivers
/
net
/
nfp
/
nfp_common.c
diff --git
a/drivers/net/nfp/nfp_common.c
b/drivers/net/nfp/nfp_common.c
index
f8978e8
..
b26770d
100644
(file)
--- a/
drivers/net/nfp/nfp_common.c
+++ b/
drivers/net/nfp/nfp_common.c
@@
-280,10
+280,6
@@
nfp_set_mac_addr(struct rte_eth_dev *dev, struct rte_ether_addr *mac_addr)
return -EBUSY;
}
- if ((hw->ctrl & NFP_NET_CFG_CTRL_ENABLE) &&
- !(hw->cap & NFP_NET_CFG_CTRL_LIVE_ADDR))
- return -EBUSY;
-
/* Writing new MAC to the specific port BAR address */
nfp_net_write_mac(hw, (uint8_t *)mac_addr);