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 7A13B42C8D for ; Sun, 11 Jun 2023 20:18:39 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4C547400D5; Sun, 11 Jun 2023 20:18:39 +0200 (CEST) Received: from mail-yw1-f228.google.com (mail-yw1-f228.google.com [209.85.128.228]) by mails.dpdk.org (Postfix) with ESMTP id EFA64400D5 for ; Sun, 11 Jun 2023 20:18:37 +0200 (CEST) Received: by mail-yw1-f228.google.com with SMTP id 00721157ae682-56d047c92a8so12314847b3.2 for ; Sun, 11 Jun 2023 11:18:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1686507517; x=1689099517; h=cc:to:from:subject:message-id:date:from:to:cc:subject:date :message-id:reply-to; bh=efjK7QQ+QaPp9cW7Vlxevq3U7w0/xxaRyWw+WXTa7zM=; b=i0w/Da4iveeYiW2VyK88hkYC7lCR9aVxbrKGKt2HY0I43fwGjZMkS22ViNrMLPvWQT P7PH0TrZ5IHtGXrZrsh5AUddxUPts1qT7LjJUG8nnGM8eYphhSwk+jSj6CqTFIsfz1RK Hc3PsRydCUads4M4kAgf5K8mZN/iEvGxgGB0U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686507517; x=1689099517; h=cc:to:from:subject:message-id:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=efjK7QQ+QaPp9cW7Vlxevq3U7w0/xxaRyWw+WXTa7zM=; b=Bye1EwadHFw6vDVGtsNrKeuTYnjNj06KQ0FExXSjCHTvNdei4B5n2MZe9LTUORHiL6 Kb7LW9FOiYMPCB7JqDw5Oh7ZIZyblE9lkTctKOzlPmnNrP/ysHPP8UNSs+uIa8BWndcQ oFzGNVl5zP7BIrn9pHpLjhvGpIJgWc1KjEFBAZlceUlt1jgRB1mAzv5pWfmgO+CrvDa3 B8L2A+b0w91/cua1+ovsn/fyL4YPmjt2vMn9mEoGc0iu0ld0QvKAVzkkQ/ChDOm9s5o+ GfO7o6UUZAqyuDLIwmS/epHU2gmCj0QUcoWNAfDOauNEUguiPNjEZOqBC4uxwXEGRvUq kj4Q== X-Gm-Message-State: AC+VfDyuY4k9pU7SI4zTqCJGWQI4NKBq6qk9I8Zh03aKw8QAXbOABMV1 fn1RzhBAoJw2oRvULW3QGkGlOZkxKuq7VHKAmzmnZUZwitzjI/P4b16g9A== X-Google-Smtp-Source: ACHHUZ6lf0ewRQFGi7xhh89flGupGTgkylCawgdCgp4PUI5C6FFAiN9b+40mu2SF339WQs6cLLDC+vlOXRQe X-Received: by 2002:a0d:ce45:0:b0:568:f2c:ee40 with SMTP id q66-20020a0dce45000000b005680f2cee40mr6919649ywd.3.1686507517301; Sun, 11 Jun 2023 11:18:37 -0700 (PDT) Received: from postal.iol.unh.edu (postal.iol.unh.edu. [132.177.123.84]) by smtp-relay.gmail.com with ESMTPS id f62-20020a0ddc41000000b005691699e3b2sm1066809ywe.51.2023.06.11.11.18.37 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 11 Jun 2023 11:18:37 -0700 (PDT) X-Relaying-Domain: iol.unh.edu Date: Sun, 11 Jun 2023 11:18:37 -0700 (PDT) Message-ID: <64860ffd.0d0a0220.234e.a3bcSMTPIN_ADDED_MISSING@mx.google.com> Received: from [172.17.0.2] (unknown [172.18.0.217]) by postal.iol.unh.edu (Postfix) with ESMTP id D6233605246B; Sun, 11 Jun 2023 14:18:36 -0400 (EDT) Subject: |WARNING| pw127803-127805 [PATCH] [3/3] net/sfc: support VLAN stripping offload From: dpdklab@iol.unh.edu To: test-report@dpdk.org Cc: dpdk-test-reports@iol.unh.edu Content-Type: text/plain X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: test-report-bounces@dpdk.org Test-Label: iol-testing Test-Status: WARNING http://dpdk.org/patch/127803 _apply patch failure_ Submitter: Artemii Morozov Date: Wednesday, May 31 2023 13:41:22 Applied on: CommitID:c9df59bcc9bec67783de98486879594e52bdc418 Apply patch set 127803-127805 failed: Checking patch drivers/common/sfc_efx/base/ef10_nic.c... Hunk #1 succeeded at 1227 (offset -89 lines). Checking patch drivers/common/sfc_efx/base/efx.h... Hunk #1 succeeded at 1638 (offset -12 lines). Checking patch drivers/common/sfc_efx/base/siena_nic.c... error: while searching for: encp->enc_rx_include_fcs_supported = B_FALSE; encp->enc_rx_es_super_buffer_supported = B_FALSE; encp->enc_fw_subvariant_no_tx_csum_supported = B_FALSE; /* Siena supports two 10G ports, and 8 lanes of PCIe Gen2 */ encp->enc_required_pcie_bandwidth_mbps = 2 * 10000; error: patch failed: drivers/common/sfc_efx/base/siena_nic.c:190 Applied patch drivers/common/sfc_efx/base/ef10_nic.c cleanly. Applied patch drivers/common/sfc_efx/base/efx.h cleanly. Applying patch drivers/common/sfc_efx/base/siena_nic.c with 1 reject... Rejected hunk #1. hint: Use 'git am --show-current-patch' to see the failed patch diff a/drivers/common/sfc_efx/base/siena_nic.c b/drivers/common/sfc_efx/base/siena_nic.c (rejected hunks) @@ -190,6 +190,7 @@ siena_board_cfg( encp->enc_rx_include_fcs_supported = B_FALSE; encp->enc_rx_es_super_buffer_supported = B_FALSE; encp->enc_fw_subvariant_no_tx_csum_supported = B_FALSE; + encp->enc_rx_vlan_stripping = B_FALSE; /* Siena supports two 10G ports, and 8 lanes of PCIe Gen2 */ encp->enc_required_pcie_bandwidth_mbps = 2 * 10000; Checking patch drivers/common/sfc_efx/base/ef10_filter.c... error: while searching for: FILTER_OP_V3_IN_MATCH_SET_FLAG, 1); } efx_mcdi_execute(enp, &req); if (req.emr_rc != 0) { error: patch failed: drivers/common/sfc_efx/base/ef10_filter.c:338 Hunk #2 succeeded at 852 (offset -5 lines). Hunk #3 succeeded at 2020 (offset -5 lines). Hunk #4 succeeded at 2155 (offset -5 lines). Hunk #5 succeeded at 2168 (offset -5 lines). Checking patch drivers/common/sfc_efx/base/ef10_impl.h... Checking patch drivers/common/sfc_efx/base/efx.h... error: drivers/common/sfc_efx/base/efx.h: does not match index Checking patch drivers/common/sfc_efx/base/efx_filter.c... Checking patch drivers/common/sfc_efx/base/efx_impl.h... Hunk #1 succeeded at 1045 (offset -1 lines). Checking patch drivers/common/sfc_efx/base/efx_rx.c... error: while searching for: } } enp->en_rx_qcount++; *erpp = erp; return (0); fail5: EFSYS_PROBE(fail5); error: patch failed: drivers/common/sfc_efx/base/efx_rx.c:943 Checking patch drivers/common/sfc_efx/base/rhead_rx.c... Applying patch drivers/common/sfc_efx/base/ef10_filter.c with 1 reject... Rejected hunk #1. Hunk #2 applied cleanly. Hunk #3 applied cleanly. Hunk #4 applied cleanly. Hunk #5 applied cleanly. Applied patch drivers/common/sfc_efx/base/ef10_impl.h cleanly. Applied patch drivers/common/sfc_efx/base/efx_filter.c cleanly. Applied patch drivers/common/sfc_efx/base/efx_impl.h cleanly. Applying patch drivers/common/sfc_efx/base/efx_rx.c with 1 reject... Hunk #1 applied cleanly. Rejected hunk #2. Applied patch drivers/common/sfc_efx/base/rhead_rx.c cleanly. hint: Use 'git am --show-current-patch' to see the failed patch diff a/drivers/common/sfc_efx/base/ef10_filter.c b/drivers/common/sfc_efx/base/ef10_filter.c (rejected hunks) @@ -338,6 +338,11 @@ efx_mcdi_filter_op_add( FILTER_OP_V3_IN_MATCH_SET_FLAG, 1); } + if (spec->efs_flags & EFX_FILTER_FLAG_VLAN_STRIP) { + MCDI_IN_SET_DWORD_FIELD(req, FILTER_OP_V3_IN_MATCH_ACTION_FLAGS, + FILTER_OP_V3_IN_MATCH_STRIP_VLAN, 1); + } + efx_mcdi_execute(enp, &req); if (req.emr_rc != 0) { diff a/drivers/common/sfc_efx/base/efx_rx.c b/drivers/common/sfc_efx/base/efx_rx.c (rejected hunks) @@ -943,11 +944,27 @@ efx_rx_qcreate_internal( } } + if (flags & EFX_RXQ_FLAG_VLAN_STRIP) { + const efx_rx_prefix_layout_t *erplp = &erp->er_prefix_layout; + const efx_rx_prefix_field_info_t *vlan_tci_field; + + vlan_tci_field = + &erplp->erpl_fields[EFX_RX_PREFIX_FIELD_VLAN_STRIP_TCI]; + if (vlan_tci_field->erpfi_width_bits == 0) { + rc = ENOTSUP; + goto fail6; + } + + erp->er_flags |= EFX_RXQ_FLAG_VLAN_STRIP; + } + enp->en_rx_qcount++; *erpp = erp; return (0); +fail6: + EFSYS_PROBE(fail6); fail5: EFSYS_PROBE(fail5); Checking patch doc/guides/nics/sfc_efx.rst... Hunk #1 succeeded at 118 (offset 38 lines). Hunk #2 succeeded at 134 (offset 40 lines). Checking patch drivers/net/sfc/sfc_ef100_rx.c... Checking patch drivers/net/sfc/sfc_rx.c... error: while searching for: if (encp->enc_rx_include_fcs_supported == 0) no_caps |= RTE_ETH_RX_OFFLOAD_KEEP_CRC; return ~no_caps; } error: patch failed: drivers/net/sfc/sfc_rx.c:942 Hunk #2 succeeded at 1186 (offset -7 lines). Hunk #3 succeeded at 1698 (offset -7 lines). Applied patch doc/guides/nics/sfc_efx.rst cleanly. Applied patch drivers/net/sfc/sfc_ef100_rx.c cleanly. Applying patch drivers/net/sfc/sfc_rx.c with 1 reject... Rejected hunk #1. Hunk #2 applied cleanly. Hunk #3 applied cleanly. hint: Use 'git am --show-current-patch' to see the failed patch diff a/drivers/net/sfc/sfc_rx.c b/drivers/net/sfc/sfc_rx.c (rejected hunks) @@ -942,6 +942,9 @@ sfc_rx_get_offload_mask(struct sfc_adapter *sa) if (encp->enc_rx_include_fcs_supported == 0) no_caps |= RTE_ETH_RX_OFFLOAD_KEEP_CRC; + if (encp->enc_rx_vlan_stripping == 0) + no_caps |= RTE_ETH_RX_OFFLOAD_VLAN_STRIP; + return ~no_caps; } https://lab.dpdk.org/results/dashboard/patchsets/26474/ UNH-IOL DPDK Community Lab