ethdev: new link speeds
For i40e support, new link speeds are needed. Signed-off-by: Helin Zhang <helin.zhang@intel.com> Signed-off-by: Jing Chen <jing.d.chen@intel.com> Acked-by: Cunming Liang <cunming.liang@intel.com> Acked-by: Jijiang Liu <jijiang.liu@intel.com> Acked-by: Jingjing Wu <jingjing.wu@intel.com> Acked-by: Heqing Zhu <heqing.zhu@intel.com> Tested-by: Waterman Cao <waterman.cao@intel.com>
This commit is contained in:
parent
8a387fa85f
commit
287597000f
@ -233,6 +233,9 @@ struct rte_eth_link {
|
|||||||
#define ETH_LINK_SPEED_100 100 /**< 100 megabits/second. */
|
#define ETH_LINK_SPEED_100 100 /**< 100 megabits/second. */
|
||||||
#define ETH_LINK_SPEED_1000 1000 /**< 1 gigabits/second. */
|
#define ETH_LINK_SPEED_1000 1000 /**< 1 gigabits/second. */
|
||||||
#define ETH_LINK_SPEED_10000 10000 /**< 10 gigabits/second. */
|
#define ETH_LINK_SPEED_10000 10000 /**< 10 gigabits/second. */
|
||||||
|
#define ETH_LINK_SPEED_10G 10000 /**< alias of 10 gigabits/second. */
|
||||||
|
#define ETH_LINK_SPEED_20G 20000 /**< 20 gigabits/second. */
|
||||||
|
#define ETH_LINK_SPEED_40G 40000 /**< 40 gigabits/second. */
|
||||||
|
|
||||||
#define ETH_LINK_AUTONEG_DUPLEX 0 /**< Auto-negotiate duplex. */
|
#define ETH_LINK_AUTONEG_DUPLEX 0 /**< Auto-negotiate duplex. */
|
||||||
#define ETH_LINK_HALF_DUPLEX 1 /**< Half-duplex connection. */
|
#define ETH_LINK_HALF_DUPLEX 1 /**< Half-duplex connection. */
|
||||||
|
Loading…
Reference in New Issue
Block a user