[PATCH] net/hns3: don't support QinQ insert for VF
Ferruh Yigit
ferruh.yigit at amd.com
Mon Jan 8 19:07:25 CET 2024
On 12/28/2023 12:14 PM, Jie Hai wrote:
> From: Chengwen Feng <fengchengwen at huawei.com>
>
> In the HIP08 platform, the PF driver will notify VF driver to update
> the PVID state [1], and VF will declare support QinQ insert when PVID
> is disabled.
>
> In the later platform (e.g. HIP09), the hardware has been improved,
> so the PF driver will NOT notify VF driver to update the PVID state.
>
> However, the later platform still have constraint: PVID and QinQ insert
> cannot be enabled at the same time, otherwise, the hardware discards
> packets and reports an error interrupt.
>
> Plus, as far as we known, VF driver's users don't use the QinQ insert.
>
> Therefore, we declare that the VF driver don't support QinQ insert.
>
> [1] commit b4e4d7ac9f09 ("net/hns3: support setting VF PVID by PF driver")
>
> Cc: stable at dpdk.org
>
> Signed-off-by: Chengwen Feng <fengchengwen at huawei.com>
> Signed-off-by: Jie Hai <haijie1 at huawei.com>
>
Applied to dpdk-next-net/main, thanks.
More information about the dev
mailing list