At 2026-11-23 02:03:57, "Stephen Hemminger" <[email protected]> wrote:
>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)?
[Jiacheng] Yes. The two fixes are currently in one patch, which makes
their stable applicability unclear. The first one should go to both
25.11 and 26.11: b247199927a1 has Cc: stable and its Fixes: target is in
25.11, so the -EINVAL it introduces will be backported there too. The
second one applies to 26.11 but not 25.11: b20dc78b286a first appeared in
26.03 and is not in 25.11. I'll send v9 with the two fixes as separate
commits, and add Cc: [email protected] to the first commit's commit
message.

Reply via email to