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.
- Re: [PATCH v7 00/29] net/hinic3: add PMD features and fi... Stephen Hemminger
- Re: [PATCH v7 00/29] net/hinic3: add PMD features a... jiachengye_123
- [PATCH v8 00/28] net/hinic3: add PMD features and fixes Jiacheng Ye
- [PATCH v8 01/28] net/hinic3: fix SP230 VF PCI devic... Jiacheng Ye
- [PATCH v8 03/28] net/hinic3: fix TCAM index leak on... Jiacheng Ye
- [PATCH v8 02/28] net/hinic3: fix double removal in ... Jiacheng Ye
- [PATCH v8 04/28] net/hinic3: fix VXLAN VNI spec and... Jiacheng Ye
- [PATCH v8 05/28] net/hinic3: fix vport enable null ... Jiacheng Ye
- [PATCH v8 08/28] net/hinic3: fix per-queue start/st... Jiacheng Ye
- Re: [PATCH v8 08/28] net/hinic3: fix per-queue ... Stephen Hemminger
- Re: [PATCH v8 08/28] net/hinic3: fix per-queue ... jiachengye_123
- [PATCH v8 06/28] net/hinic3: clear stale Rx hardwar... Jiacheng Ye
- [PATCH v8 07/28] net/hinic3: attach ethdev and set ... Jiacheng Ye
- [PATCH v8 09/28] net/hinic3: fix pseudo-header chec... Jiacheng Ye
- [PATCH v8 14/28] net/hinic3: add mbox message recor... Jiacheng Ye
- [PATCH v8 11/28] net/hinic3: fix offload and cmdq/c... Jiacheng Ye
- [PATCH v8 10/28] net/hinic3: add SP230 Rx queue int... Jiacheng Ye
- [PATCH v8 13/28] net/hinic3: add FEC mode get/set a... Jiacheng Ye
- [PATCH v8 16/28] net/hinic3: add VF link state and ... Jiacheng Ye
- [PATCH v8 12/28] net/hinic3: add vport statistics a... Jiacheng Ye
- [PATCH v8 19/28] net/hinic3: refactor flow rule par... Jiacheng Ye

