[dpdk-dev] [PATCH v3] app/testpmd: support the query of link flow ctrl info

Ferruh Yigit ferruh.yigit at intel.com
Wed Apr 21 13:41:25 CEST 2021


On 4/21/2021 12:36 PM, Ferruh Yigit wrote:
> On 4/21/2021 12:12 PM, Kevin Traynor wrote:
>> On 21/04/2021 10:41, Min Hu (Connor) wrote:
>>> From: Huisong Li <lihuisong at huawei.com>
>>>
>>> This patch supports the query of the link flow control parameter
>>> on a port.
>>>
>>> The command format is as follows:
>>> show port <port_id> flow_ctrl
>>>
>>> Signed-off-by: Huisong Li <lihuisong at huawei.com>
>>> Signed-off-by: Min Hu (Connor) <humin29 at huawei.com>
>>
>> Thanks Connor,
>> Acked-by: Kevin Traynor <ktraynor at redhat.com>
>>
> 
> Carrying Xiaoyun's ack from previous version:
> Acked-by: Xiaoyun Li <xiaoyun.li at intel.com>
> 
> Applied to dpdk-next-net/main, thanks.
> 
> 
>>> @@ -1524,6 +1524,13 @@ Where:
>>>   * ``autoneg``: Change the auto-negotiation parameter.
>>> +show flow ctrl
>>> +~~~~~~~~~~~~~~
>>> +
> 
> Expanded to "show flow control" while merging.
> 
> 
> 

Ahh, it seems the release notes update is missing, adding following while merging:

  diff --git a/doc/guides/rel_notes/release_21_05.rst 
b/doc/guides/rel_notes/release_21_05.rst
  index b13c76124169..b36c120e5e1d 100644
  --- a/doc/guides/rel_notes/release_21_05.rst
  +++ b/doc/guides/rel_notes/release_21_05.rst
  @@ -233,6 +233,8 @@ New Features
       item matching.
     * Added command to cleanup a Tx queue's mbuf on a port.
       ``port cleanup (port_id) txq (queue_id) (free_cnt)``
  +  * Added command to show link flow control info.
  +    ``show port (port_id) flow_ctrl``

   * **Updated ipsec-secgw sample application.**


More information about the dev mailing list