Hello,

How can we enable runtime tx queue setup in XEON X552 eth device? Thanks indeed!
Now try to add queue in runtime in X552 VF, error will be reported.
"rte_eth_tx_quuee_setup: err=-16, port = 1"
Here -16 means EBUSY, because the eth device is already started, if configure 
this interface before start, it is fine.

If I try to add dev_capa in ixgbevf_dev_info_get() in DPDK code, then another 
error will be reported.
"Ethdev port_id=0 tx_queue_id=1, new added offloads 0x4000 must be within 
per-queue offload capabilities 0x0 in rte_eth_tx_queue_setup()"

While in X552 datasheet, it says it is supported.

In DPDK i40e driver, seems runtime tx queue setup is supported(setup TxQ when 
eth interface is running)
drivers/net/i40e/i40e_ethdev.c
                dev_info->dev_capa =
                                RTE_ETH_DEV_CAPA_RUNTIME_RX_QUEUE_SETUP |
                                RTE_ETH_DEV_CAPA_RUNTIME_TX_QUEUE_SETUP;

Best Regards,
Dave(Jianyue)

Reply via email to