]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
hinic3: Add .ndo_features_check
authorFan Gong <gongfan1@huawei.com>
Wed, 14 Jan 2026 08:38:24 +0000 (16:38 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 20 Jan 2026 09:34:31 +0000 (10:34 +0100)
commit2467a0466028f23c9ee173ddd160ef766a838e8d
treecb88b549e2f9a8183a4a84c1ac2a26ed165342c3
parent721df7639c83f008dc15669268be315f2a205c34
hinic3: Add .ndo_features_check

As we cannot solve packets with multiple stacked vlan, so we use
.ndo_features_check to check for these packets and return a smaller
feature without offload features.

Co-developed-by: Zhu Yikai <zhuyikai1@h-partners.com>
Signed-off-by: Zhu Yikai <zhuyikai1@h-partners.com>
Signed-off-by: Fan Gong <gongfan1@huawei.com>
Link: https://patch.msgid.link/3879b20b7ffa20106a3f8f56dbf2d5eb389f260a.1768375903.git.zhuyikai1@h-partners.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/huawei/hinic3/hinic3_netdev_ops.c