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 C5A9442C8C for ; Sun, 11 Jun 2023 19:56:28 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A5662400D5; Sun, 11 Jun 2023 19:56:28 +0200 (CEST) Received: from mail-io1-f97.google.com (mail-io1-f97.google.com [209.85.166.97]) by mails.dpdk.org (Postfix) with ESMTP id C1126400D5 for ; Sun, 11 Jun 2023 19:56:27 +0200 (CEST) Received: by mail-io1-f97.google.com with SMTP id ca18e2360f4ac-77a62a84855so149726639f.1 for ; Sun, 11 Jun 2023 10:56:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1686506187; x=1689098187; h=cc:to:from:subject:message-id:date:from:to:cc:subject:date :message-id:reply-to; bh=LnDNqC0XnTGvifCPpt925WeazauN9qf771hlpWt8otQ=; b=SLHBWLb1Q0Mx0tkJSA/Ni/dm2LIRk0j8xb/x9O1BsHwdLlxuOBmdDYG1n8CZqLcQ0X AnMpG+0JOt/pw+vtk6e91eQP8iSz4cUuSl5/Wg5podnBExIHIn4E4TDD3RrYH46SecTj I4lvzdxPkPUjwsILprJpkv+CleRotcdbEjcVk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686506187; x=1689098187; h=cc:to:from:subject:message-id:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LnDNqC0XnTGvifCPpt925WeazauN9qf771hlpWt8otQ=; b=fgaCGnjEGn9lS7SCELgA8tlZcOldpzmtNnzuoM9B7MQvXO7D43L9VxlXrNdBupxqAF kPSlvUh9yPlu/cnuBmH8LrQtSF0cAb6D8TsZcpBlvHAD0j3oJJVeKzS74q0ooqGZkV6Q YElSoUaIk1PrG7oI+jkx5NzEObw7rsrWORRW6rCA2Vr5knQ9L5tygxprFug4iaYOuw1o zZ6H8GN+Z5e8Hd4zLTG6GQp49hodqo95lC+a+yNFLdspexwNguiXTx3ljqmyWCTvi3Gy j6wKHIrqwJUMMeSn4SQPTAfmJ59H46Rm4iFbm7UNsySdRSLIg8DcV27E3wBVa8xe4oCT 1jxw== X-Gm-Message-State: AC+VfDz+LbM6Oeg+3wUbknO3T6lns7UFWvnOYJr7xg8LOVWxBDOdMMXc qgUBq/rOROTt9dT5DJ3F+H6T4Bbh33YsVSU7uJSxX05m24Iw//gN8jOehfHonqp+CmTcybh75Q= = X-Google-Smtp-Source: ACHHUZ6hpe2UVZFOd4yRZshcC6hOAuZ2Klf9Clf2XyseDZ8K7+9TV1xo+FXsiR7rw04zUgVCMAvNgern6S65 X-Received: by 2002:a92:d901:0:b0:33e:7552:3fd5 with SMTP id s1-20020a92d901000000b0033e75523fd5mr5345432iln.4.1686506186991; Sun, 11 Jun 2023 10:56:26 -0700 (PDT) Received: from postal.iol.unh.edu (postal.iol.unh.edu. [2606:4100:3880:1234::84]) by smtp-relay.gmail.com with ESMTPS id a18-20020a92d592000000b0033517ab2f7esm441478iln.25.2023.06.11.10.56.26 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 11 Jun 2023 10:56:26 -0700 (PDT) X-Relaying-Domain: iol.unh.edu Date: Sun, 11 Jun 2023 10:56:26 -0700 (PDT) Message-ID: <64860aca.920a0220.12c3c.b485SMTPIN_ADDED_MISSING@mx.google.com> Received: from [172.17.0.4] (unknown [172.18.0.217]) by postal.iol.unh.edu (Postfix) with ESMTP id 410A3605246B; Sun, 11 Jun 2023 13:56:26 -0400 (EDT) Subject: |WARNING| pw127823-127825 [PATCH] [v2, 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/127823 _apply patch failure_ Submitter: Artemii Morozov Date: Thursday, June 01 2023 08:12:03 Applied on: CommitID:c9df59bcc9bec67783de98486879594e52bdc418 Apply patch set 127823-127825 failed: 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... Hunk #1 succeeded at 1286 (offset -1 lines). Checking patch drivers/common/sfc_efx/base/efx.h... Checking patch drivers/common/sfc_efx/base/efx_filter.c... Checking patch drivers/common/sfc_efx/base/efx_impl.h... 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.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... Checking patch drivers/net/sfc/sfc_ef100_rx.c... error: while searching for: else rxq->flags &= ~SFC_EF100_RXQ_USER_MARK; /* * At the moment, this feature is used only error: patch failed: drivers/net/sfc/sfc_ef100_rx.c:879 Hunk #5 succeeded at 1007 (offset -15 lines). Checking patch drivers/net/sfc/sfc_rx.c... Hunk #3 succeeded at 1701 (offset -3 lines). Applied patch doc/guides/nics/sfc_efx.rst cleanly. Applying patch drivers/net/sfc/sfc_ef100_rx.c with 1 reject... Hunk #1 applied cleanly. Hunk #2 applied cleanly. Hunk #3 applied cleanly. Rejected hunk #4. Hunk #5 applied cleanly. Applied patch drivers/net/sfc/sfc_rx.c cleanly. hint: Use 'git am --show-current-patch' to see the failed patch diff a/drivers/net/sfc/sfc_ef100_rx.c b/drivers/net/sfc/sfc_ef100_rx.c (rejected hunks) @@ -879,6 +892,11 @@ sfc_ef100_rx_qstart(struct sfc_dp_rxq *dp_rxq, unsigned int evq_read_ptr, else rxq->flags &= ~SFC_EF100_RXQ_USER_MARK; + if ((unsup_rx_prefix_fields & + (1U << EFX_RX_PREFIX_FIELD_VLAN_STRIP_TCI)) == 0) + rxq->flags |= SFC_EF100_RXQ_VLAN_STRIP; + else + rxq->flags &= ~SFC_EF100_RXQ_VLAN_STRIP; /* * At the moment, this feature is used only https://lab.dpdk.org/results/dashboard/patchsets/26483/ UNH-IOL DPDK Community Lab