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
examples/qos_sched: fix build with gcc 10
[dpdk.git]
/
examples
/
ethtool
/
lib
/
rte_ethtool.h
diff --git
a/examples/ethtool/lib/rte_ethtool.h
b/examples/ethtool/lib/rte_ethtool.h
index
31cd5ae
..
f177096
100644
(file)
--- a/
examples/ethtool/lib/rte_ethtool.h
+++ b/
examples/ethtool/lib/rte_ethtool.h
@@
-260,7
+260,7
@@
int rte_ethtool_net_stop(uint16_t port_id);
* - (0) if successful.
* - (-ENODEV) if *port_id* invalid.
*/
* - (0) if successful.
* - (-ENODEV) if *port_id* invalid.
*/
-int rte_ethtool_net_get_mac_addr(uint16_t port_id, struct ether_addr *addr);
+int rte_ethtool_net_get_mac_addr(uint16_t port_id, struct
rte_
ether_addr *addr);
/**
* Setting the Ethernet device MAC address.
/**
* Setting the Ethernet device MAC address.
@@
-276,7
+276,7
@@
int rte_ethtool_net_get_mac_addr(uint16_t port_id, struct ether_addr *addr);
* - (-EINVAL) if parameters invalid.
* - others depends on the specific operations implementation.
*/
* - (-EINVAL) if parameters invalid.
* - others depends on the specific operations implementation.
*/
-int rte_ethtool_net_set_mac_addr(uint16_t port_id, struct ether_addr *addr);
+int rte_ethtool_net_set_mac_addr(uint16_t port_id, struct
rte_
ether_addr *addr);
/**
* Validate if the provided MAC address is valid unicast address
/**
* Validate if the provided MAC address is valid unicast address
@@
-292,7
+292,8
@@
int rte_ethtool_net_set_mac_addr(uint16_t port_id, struct ether_addr *addr);
* - (-EINVAL) if parameters invalid.
* - others depends on the specific operations implementation.
*/
* - (-EINVAL) if parameters invalid.
* - others depends on the specific operations implementation.
*/
-int rte_ethtool_net_validate_addr(uint16_t port_id, struct ether_addr *addr);
+int rte_ethtool_net_validate_addr(uint16_t port_id,
+ struct rte_ether_addr *addr);
/**
* Setting the Ethernet device maximum Tx unit.
/**
* Setting the Ethernet device maximum Tx unit.