On Sat, 21 Nov 2026 00:34:33 +0800
Jiacheng Ye <[email protected]> wrote:
> On a device without HTN FDIR, rx_queue_start() and rx_queue_stop() return
> -EINVAL whenever the queue has no TCAM rule:
> hinic3_enable_rxq_fdir_filter() reports -EINVAL in that case and both
> callers treat it as fatal. Such a queue has nothing to update, so return
> success.
>
> hinic3_start_rq() gates the RQ enable command on NIC_F_FDIR, but the
> intended flag is NIC_F_HTN_FDIR, as the stop path already uses. Fix the
> check so an STN device is not sent a command it rejects.
>
> Fixes: b247199927a1 ("net/hinic3: fix return value of FDIR enabling")
> Fixes: b20dc78b286a ("net/hinic3: support Compact CQE in Rx")
> Signed-off-by: Jiacheng Ye <[email protected]>
> ---
Should any of these be backported to stable (ie 26.11)?