[dpdk-dev] [PATCH v2 7/9] net/hns3: support start and stop Tx or Rx queue

Ferruh Yigit ferruh.yigit at intel.com
Thu Oct 1 00:54:00 CEST 2020


On 9/30/2020 11:49 PM, Ferruh Yigit wrote:
> On 9/29/2020 1:01 PM, Wei Hu (Xavier) wrote:
>> From: Chengchang Tang <tangchengchang at huawei.com>
>>
>> The new generation hns3 network engine supports independent enabling and
>> disabling of a single Tx/Rx queue. So, it can support the queue start and
>> stop feature. In addition, when different numbers of Tx and Rx queues need
>> to be enabled in some applications, hns3 pmd does not need to create fake
>> queues to enable these scenarios.
>>
>> This patch Add queue start and stop feature for the new generation hns3
>> networking engine. Cancel the creation of fake queue on the new generation
>> network engine. And the previously improperly named queue related function
>> was renamed to improve readability.
>>
>> Signed-off-by: Chengchang Tang <tangchengchang at huawei.com>
>> Signed-off-by: Wei Hu (Xavier) <xavier.huwei at huawei.com>
> 
> <...>
> 
>> @@ -5626,6 +5666,10 @@ static const struct eth_dev_ops hns3_eth_dev_ops = {
>>       .tx_queue_setup         = hns3_tx_queue_setup,
>>       .rx_queue_release       = hns3_dev_rx_queue_release,
>>       .tx_queue_release       = hns3_dev_tx_queue_release,
>> +    .rx_queue_start         = hns3_dev_rx_queue_start,
>> +    .rx_queue_stop          = hns3_dev_rx_queue_stop,
>> +    .tx_queue_start         = hns3_dev_tx_queue_start,
>> +    .tx_queue_stop          = hns3_dev_tx_queue_stop,
>>       .rx_queue_intr_enable   = hns3_dev_rx_queue_intr_enable,
>>       .rx_queue_intr_disable  = hns3_dev_rx_queue_intr_disable,
>>       .rxq_info_get           = hns3_rxq_info_get,
> 
> 
> Can you please update feature files ('hns3.ini' & 'hns3_vf.ini') to announce 
> "Queue start/stop" feature?
> 

This looks like only comment, I will add them while merging, please double check 
after merge.



More information about the dev mailing list