From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 87CFA43689 for ; Wed, 6 Dec 2023 13:55:27 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 41ACF42E79; Wed, 6 Dec 2023 13:55:27 +0100 (CET) Received: from mail-yb1-f178.google.com (mail-yb1-f178.google.com [209.85.219.178]) by mails.dpdk.org (Postfix) with ESMTP id 7C20940ED1 for ; Wed, 6 Dec 2023 03:31:30 +0100 (CET) Received: by mail-yb1-f178.google.com with SMTP id 3f1490d57ef6-db981947bf9so412752276.0 for ; Tue, 05 Dec 2023 18:31:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701829889; x=1702434689; darn=dpdk.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=IMqlK9RQX4344p/zducBGcFbOSAH48LnzdXUGIRyB9k=; b=eERArqUgXM4iWhtZ5xxEs2jfJItf6gAt3seC1YLYjY6vx0jvKZ7OWZR6i5583ClO98 rDnwzY/QiXmaZHsfbMuUXevEX/Mi63MJkQta54yb8iwwmnzwj5SYGhKYJFzE2cwDOF0u G8Xyu+/v83P8O70d4wDUIKAKZ3HS8imErvi4/FHPCg/QfEfWjNpu9R3+DN7TAlSy1S4t SjHBKxNviJXKL+sbHU6ZFXkihzil6jxK3x7kgY1VDxde4LpSOx9fkx1Bkz46RlPWSASV v9EnbwFiz7uN19EGcVe+HfApH4RzBS0D9LuA/OaOHq87DEIyLUOHTlFdsYDgBM07jTQX iobQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701829889; x=1702434689; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=IMqlK9RQX4344p/zducBGcFbOSAH48LnzdXUGIRyB9k=; b=adTez9VA+qzqVBinrvaK7H6+4vmaJPp5bT3fHUyltYHY1KR9z05zcuQ7djoXICuMjo +viHEjhEZTAMTsrJO2nRlTtw3CH/4fsoXbtsUMgRGYJbfitkfdKnZrGFy7v2zTpyS6Tg lec9AVhzCnzVTpztziG8Wwdfht69D0/URLzJV/HPbLu8jmlWxqkxwleiaLq3DZh56XYW 9Hwg5WCV5eVepDLHT2pfYTbs8PEzOkw1o1oJCsOurZFrAr1rswUianoqJ+aK+RW/GwzB 5L9YTsRH863S1EnlDyvWuXwjlgNAI+1w6z0SXFKLyRWHZXL4zo3768JzrXdNsxkki24T 4/hA== X-Gm-Message-State: AOJu0YxHywxCQQmYiiZMDnj51U9noO9ZZiHIXM45Rr4ohcFs20DVonlL OONLhd9pMhp/zkJFoGS3YPqungEUkG37q3PfiFbxhyvR4kY= X-Google-Smtp-Source: AGHT+IF0ZGOz2ze8ehnDkm+kDHJkpWPfDrWCad9mFp/Tmk3/rc/DAIASfKK8zh7Bu9f6bOlShYBccR0eeqFbXhjMeQ4= X-Received: by 2002:a25:da0b:0:b0:db5:4692:3ab4 with SMTP id n11-20020a25da0b000000b00db546923ab4mr157367ybf.3.1701829889396; Tue, 05 Dec 2023 18:31:29 -0800 (PST) MIME-Version: 1.0 From: James B Date: Tue, 5 Dec 2023 18:31:18 -0800 Message-ID: Subject: Can not set inner/outer tpid for qinq filtering on VF (-95 error). To: users@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Mailman-Approved-At: Wed, 06 Dec 2023 13:55:25 +0100 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Hello, I would like to set up a vf with qinq filtering. My setup is this: I have an E810 NIC (which uses the ice driver), which I create a child VF for. The VF is bound to the vfio-pci driver. I am using testpmd to test/evaluate my setup. Here are the steps I'm following for setup: https://edc.intel.com/content/www/us/en/design/products/ethernet/config-guide-e810-dpdk/q-in-q-support The issue is, once I get to the step where you set the tpid, it fails: testpmd> vlan set filter on 0 testpmd> vlan set extend on 0 testpmd> vlan set inner tpid 0x8100 0 tx_vlan_tpid_set(port_pi=0, vlan_type=1, tpid=33024) failed diag=-95 testpmd> vlan set outer tpid 0x8100 0 tx_vlan_tpid_set(port_pi=0, vlan_type=2, tpid=33024) failed diag=-95 testpmd> Here is some additional information about my setup: Network card: Intel E832-L Linux kernel: 5.15 Ice driver version: Tried 1.11.14, 1.11.17, and 1.12.7 DPDK version: Tried both 23.03 and 22.11 Ethtool settings: ethtool -k eno1 Features for eno1: rx-checksumming: on tx-checksumming: on tx-checksum-ipv4: on tx-checksum-ip-generic: off [fixed] tx-checksum-ipv6: on tx-checksum-fcoe-crc: off [fixed] tx-checksum-sctp: on scatter-gather: on tx-scatter-gather: on tx-scatter-gather-fraglist: off [fixed] tcp-segmentation-offload: on tx-tcp-segmentation: on tx-tcp-ecn-segmentation: on tx-tcp-mangleid-segmentation: off tx-tcp6-segmentation: on generic-segmentation-offload: on generic-receive-offload: on large-receive-offload: off [fixed] rx-vlan-offload: on tx-vlan-offload: on ntuple-filters: on receive-hashing: on highdma: on rx-vlan-filter: on vlan-challenged: off [fixed] tx-lockless: off [fixed] netns-local: off [fixed] tx-gso-robust: off [fixed] tx-fcoe-segmentation: off [fixed] tx-gre-segmentation: on tx-gre-csum-segmentation: on tx-ipxip4-segmentation: on tx-ipxip6-segmentation: on tx-udp_tnl-segmentation: on tx-udp_tnl-csum-segmentation: on tx-gso-partial: on tx-tunnel-remcsum-segmentation: off [fixed] tx-sctp-segmentation: off [fixed] tx-esp-segmentation: off [fixed] tx-udp-segmentation: on tx-gso-list: off [fixed] fcoe-mtu: off [fixed] tx-nocache-copy: off loopback: off [fixed] rx-fcs: off rx-all: off [fixed] tx-vlan-stag-hw-insert: off rx-vlan-stag-hw-parse: off rx-vlan-stag-filter: on l2-fwd-offload: off hw-tc-offload: off esp-hw-offload: off [fixed] esp-tx-csum-hw-offload: off [fixed] rx-udp_tunnel-port-offload: on tls-hw-tx-offload: off [fixed] tls-hw-rx-offload: off [fixed] rx-gro-hw: off [fixed] tls-hw-record: off [fixed] rx-gro-list: off macsec-hw-offload: off [fixed] rx-udp-gro-forwarding: off hsr-tag-ins-offload: off [fixed] hsr-tag-rm-offload: off [fixed] hsr-fwd-offload: off [fixed] hsr-dup-offload: off [fixed] Ethtool private flags: ethtool --show-priv-flags eno1 Private flags for eno1: link-down-on-close : off fw-lldp-agent : off channel-inline-fd-mark : off channel-pkt-inspect-optimize : on channel-pkt-clean-bp-stop : off channel-pkt-clean-bp-stop-cfg: off vf-true-promisc-support : on mdd-auto-reset-vf : off vf-vlan-pruning : off legacy-rx : off cgu_fast_lock : off dpll_monitor : off extts_filter : off itu_g8262_filter_used : off allow-no-fec-modules-in-auto : off link information: ip link show eno1 6: eno1: mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000 link/ether 00:e0:4b:78:65:24 brd ff:ff:ff:ff:ff:ff vf 0 link/ether 00:11:22:33:44:11 brd ff:ff:ff:ff:ff:ff, spoof checking off, link-state auto, trust on altname enp244s0f0 Has anyone encountered this error before? I'm hoping that I'm just missing some configuration setting. Given that I've tried multiple ice drivers and multiple dpdk versions, I'm starting to fear this is a hardware limitation, despite this not being mentioned in the intel guide. Thank you for your help, James