[PATCH] ethdev: Reject conflicting TX offloads configuration

Morten Brørup mb at smartsharesystems.com
Thu Jul 31 11:34:13 CEST 2025


> From: Ivan Malov [mailto:ivan.malov at arknetworks.am]
> Sent: Thursday, 31 July 2025 11.28
> 
> Hi Morten,
> 
> On Thu, 31 Jul 2025, Morten Brørup wrote:
> 
> > +		RTE_ETHDEV_LOG_LINE(ERR,
> > +			"Ethdev port_id=%d Tx offload %s conflicts with Tx offload
> %s",
> 
> Is it required to spell 'Ethdev ' at start of the line? It was my impression
> that 'ethdev' would be printed anyway by [1] (the '# t' part). Am I wrong?
> 
> [1]
> https://github.com/DPDK/dpdk/blob/b222395561638f89562e4ef42e1eabf2d6db43dd/lib
> /log/rte_log.h#L334

You are right, but all the other RTE_ETHDEV_LOG_LINE() in rte_eth_dev_configure() do it, so I did it too.



More information about the dev mailing list