[PATCH v4 15/35] net/iavf: use common scalar Tx function
Bruce Richardson
bruce.richardson at intel.com
Tue Feb 10 19:31:51 CET 2026
On Tue, Feb 10, 2026 at 02:27:18PM +0100, Burakov, Anatoly wrote:
> On 2/9/2026 5:45 PM, Bruce Richardson wrote:
> > Now that the common scalar Tx function has all necessary hooks for the
> > features supported by the iavf driver, use the common function to avoid
> > duplicated code.
> >
> > Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> > ---
>
>
> > + }
> > - return;
> > + /* TSO segmentation field */
> > + tlen = iavf_fill_ctx_desc_segmentation_field(&cd_type_cmd,
> > + mbuf, ipsec_md);
> > + (void)tlen; /* Suppress unused variable warning */
>
> RTE_SET_USED?
>
> Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>
>
since tlen is a local variable and is only used for the return value here,
I can just get rid of it, saving having to pretend it's actually being used..
More information about the dev
mailing list