[PATCH] ethdev: Reject conflicting TX offloads configuration

Andrew Rybchenko andrew.rybchenko at oktetlabs.ru
Thu Jul 31 12:07:56 CEST 2025


On 7/31/25 12:24, Bruce Richardson wrote:
> On Thu, Jul 31, 2025 at 09:07:31AM +0000, Morten Brørup wrote:
>> When an ethdev port is configured for fast mbuf release, the driver can
>> use a TX burst function relying on the fast mbuf release preconditions.
>> Thus, also configuring this port or a queue on the port for transmitting
>> segmented packets is prohibited.
>> Checks for these conflicting configurations have been added to the ethdev
>> library, so the drivers don't have to implement them.
>>
>> Also, the descriptions of the RX and TX offloads have been improved, to
>> reflect that they are not only for device capability reporting, but also
>> for device and queue configuration purposes.
>>
>> Signed-off-by: Morten Brørup <mb at smartsharesystems.com>
>> ---
> 
> Maybe split into two patches, so the offload descriptions are separate from
> the conflict checks.

+1

> Acked-by: Bruce Richardson <bruce.richardson at intel.com>

Acked-by: Andrew Rybchenko <andrew.rybchenko at oktetlabs.ru>




More information about the dev mailing list