[dpdk-stable] [dpdk-dev] [PATCH v3 1/2] net/mlx5: optimize inline mbuf freeing

Ferruh Yigit ferruh.yigit at intel.com
Wed Jan 27 13:48:06 CET 2021


On 1/27/2021 12:44 PM, Ferruh Yigit wrote:
> On 1/22/2021 5:12 PM, Viacheslav Ovsiienko wrote:
>> The mlx5 PMD supports packet data inlining by pushing data
>> to the transmit descriptor. If packet is short enough and all
>> data are inline, the mbuf is not needed for data send anymore
>> and can be freed.
>>
>> The mbuf free was performed in the most inner loop building
>> the transmit descriptors. This patch postpones the mbuf free
>> transaction to the tx_burst routine exit, optimizing the loop
>> and allowing the bulk freeing for the multiple mbufs in single
>> pool API call.
>>
>> Cc: stable at dpdk.org
>>
> 
> Hi Slava,
> 
> This patch is optimization for inline mbufs, right, it is not a fix, should it 
> be backported?
> 
> cc'ed LTS maintainers.
> 

cc'ed now.

> I am dropping the stable to for now in the next-net, can add it later based on 
> discussion result.
> 
>> Signed-off-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>
> 



More information about the stable mailing list