[dpdk-dev] [PATCH v5 0/2] add Rx buffer size for rxq info structure

Ferruh Yigit ferruh.yigit at intel.com
Mon Sep 21 16:19:03 CEST 2020


On 9/21/2020 2:22 PM, Chengchang Tang wrote:
> In common practice, PMD configure the Rx buffer size which indicate the
> buffer length could be used for HW in receiving packets according to the
> data room size of the object in mempool. But in fact, the final value is
> related to the specifications of HW, and its values will affect the number
> of fragments in receiving packets when scatter is enabled. By the way,
> some PMDs may force to enable scatter when the MTU is bigger than the HW
> Rx buffer size.
> 
> At present, we have no way to expose relevant information to upper layer
> users. So, add a field named rx_buf_size in rte_eth_rxq_info to indicate
> the buffer size used in receiving packets for HW. And this field is
> optional, so there is no need to forcibly update all PMDs.
> 
> This patchset also update testpmd, proc-info tools and add hns3 PMD
> implementation.
> 
> v5:
>    - squash oneline app patches and deprecation remove with ethdev patch
> 
> Chengchang Tang (2):
>    ethdev: add a field for rxq info structure
>    net/hns3: add Rx buffer size to Rx qinfo query
> 

Series applied to dpdk-next-net/main, thanks.


More information about the dev mailing list