Subject: Re: [PATCH net-next 4/6] net: hns3: support IP and tunnel VNI dissectors for tc flow

From: Jakub Kicinski <[email-masked]>
Date: Tue, 19 May 2026 18:48:39 -0700

On Mon, 18 May 2026 17:35:24 +0800 Jijie Shao wrote:
> Currently, the driver does not support FLOW_DISSECTOR_KEY_IP and
> FLOW_DISSECTOR_KEY_ENC_KEYID. But the hardware supports
> ip_tos (FLOW_DISSECTOR_KEY_IP) and
> outer_tun_vni (FLOW_DISSECTOR_KEY_ENC_KEYID).
> 
> This patch adds support for FLOW_DISSECTOR_KEY_IP and
> FLOW_DISSECTOR_KEY_ENC_KEYID.
> 
> Additionally, since tc flow cannot effectively support
> l2_user_def, l3_user_def, and l4_user_def,
> this patch explicitly sets them to not be used.

drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c:5771:37: warning: restricted __le32 degrades to integer
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c:5773:37: warning: restricted __le32 degrades to integer
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c:7369:31: warning: restricted __be32 degrades to integer
-- 
pw-bot: cr