From: Ido Barnea Date: Thu, 2 Feb 2017 12:08:22 +0000 (+0000) Subject: net/vmxnet3: add speed capability X-Git-Tag: spdx-start~4521 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=ac94e3bf12392dd6bfdce61e3841fe4c5fd5bfc0;p=dpdk.git net/vmxnet3: add speed capability Signed-off-by: Ido Barnea Acked-by: Yong Wang --- diff --git a/drivers/net/vmxnet3/vmxnet3_ethdev.c b/drivers/net/vmxnet3/vmxnet3_ethdev.c index 2a52f0493d..b7b5377a89 100644 --- a/drivers/net/vmxnet3/vmxnet3_ethdev.c +++ b/drivers/net/vmxnet3/vmxnet3_ethdev.c @@ -720,6 +720,7 @@ vmxnet3_dev_info_get(struct rte_eth_dev *dev, dev_info->max_tx_queues = VMXNET3_MAX_TX_QUEUES; dev_info->min_rx_bufsize = 1518 + RTE_PKTMBUF_HEADROOM; dev_info->max_rx_pktlen = 16384; /* includes CRC, cf MAXFRS register */ + dev_info->speed_capa = ETH_LINK_SPEED_10G; dev_info->max_mac_addrs = VMXNET3_MAX_MAC_ADDRS; dev_info->default_txconf.txq_flags = ETH_TXQ_FLAGS_NOXSUMSCTP;