net/nfp: extend speed capabilities advertised
NFP supports more speeds than just 40 and 100GB, which were what was advertised before. Signed-off-by: Alejandro Lucero <alejandro.lucero@netronome.com>
This commit is contained in:
parent
8245355acb
commit
011411586e
@ -4,6 +4,7 @@
|
||||
; Refer to default.ini for the full list of available PMD features.
|
||||
;
|
||||
[Features]
|
||||
Speed capabilities = Y
|
||||
Link status = Y
|
||||
Link status event = Y
|
||||
Queue start/stop = Y
|
||||
|
@ -1081,7 +1081,9 @@ nfp_net_infos_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)
|
||||
dev_info->reta_size = NFP_NET_CFG_RSS_ITBL_SZ;
|
||||
dev_info->hash_key_size = NFP_NET_CFG_RSS_KEY_SZ;
|
||||
|
||||
dev_info->speed_capa = ETH_LINK_SPEED_40G | ETH_LINK_SPEED_100G;
|
||||
dev_info->speed_capa = ETH_SPEED_NUM_1G | ETH_LINK_SPEED_10G |
|
||||
ETH_SPEED_NUM_25G | ETH_SPEED_NUM_40G |
|
||||
ETH_SPEED_NUM_50G | ETH_LINK_SPEED_100G;
|
||||
}
|
||||
|
||||
static const uint32_t *
|
||||
|
Loading…
Reference in New Issue
Block a user