summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHanoh Haim <hhaim@cisco.com>2016-11-13 14:06:36 +0200
committerHanoh Haim <hhaim@cisco.com>2016-11-13 15:03:21 +0200
commit235aac5097b60d0b1b3e2358613e82e4de2e5875 (patch)
tree60c0e850902b51d39a5efb3cd9d398a4ab0b8227 /src
parentac40e1ffe04b80de45d37e89810d2db8b1e41fe6 (diff)
enic add speed capability
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
Diffstat (limited to 'src')
-rw-r--r--src/dpdk/drivers/net/enic/enic_ethdev.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dpdk/drivers/net/enic/enic_ethdev.c b/src/dpdk/drivers/net/enic/enic_ethdev.c
index ecda8355..a4af14d3 100644
--- a/src/dpdk/drivers/net/enic/enic_ethdev.c
+++ b/src/dpdk/drivers/net/enic/enic_ethdev.c
@@ -461,6 +461,8 @@ static void enicpmd_dev_info_get(struct rte_eth_dev *eth_dev,
device_info->default_rxconf = (struct rte_eth_rxconf) {
.rx_free_thresh = ENIC_DEFAULT_RX_FREE_THRESH
};
+
+ device_info->speed_capa = ETH_LINK_SPEED_40G;
}
static const uint32_t *enicpmd_dev_supported_ptypes_get(struct rte_eth_dev *dev)