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/hns3: support link speed autoneg for PF
[dpdk.git]
/
drivers
/
net
/
hns3
/
hns3_ethdev.h
diff --git
a/drivers/net/hns3/hns3_ethdev.h
b/drivers/net/hns3/hns3_ethdev.h
index
df37f05
..
7b7d359
100644
(file)
--- a/
drivers/net/hns3/hns3_ethdev.h
+++ b/
drivers/net/hns3/hns3_ethdev.h
@@
-165,6
+165,12
@@
struct hns3_cfg {
uint16_t umv_space;
};
+struct hns3_set_link_speed_cfg {
+ uint32_t speed;
+ uint8_t duplex : 1;
+ uint8_t autoneg : 1;
+};
+
/* mac media type */
enum hns3_media_type {
HNS3_MEDIA_TYPE_UNKNOWN,