]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/hns3/hns3_ethdev.h
net/hns3: support PF device with copper PHYs
[dpdk.git] / drivers / net / hns3 / hns3_ethdev.h
index 5299dd8433698da9a1f9bf5de8039ff7ccbc6235..c495802a5a42ec45b02d9454eac6df74339cbe7b 100644 (file)
@@ -180,6 +180,11 @@ struct hns3_mac {
        uint8_t link_autoneg : 1; /* ETH_LINK_[AUTONEG/FIXED] */
        uint8_t link_status  : 1; /* ETH_LINK_[DOWN/UP] */
        uint32_t link_speed;      /* ETH_SPEED_NUM_ */
+       uint32_t supported_capa;  /* supported capability for current media */
+       uint32_t advertising;     /* advertised capability in the local part */
+       /* advertised capability in the link partner */
+       uint32_t lp_advertising;
+       uint8_t support_autoneg;
 };
 
 struct hns3_fake_queue_data {