Re: [PATCH v4 15/35] net/iavf: use common scalar Tx function

Bruce Richardson
2026-02-10T18:32:08Z

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@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@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..