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 199EF42C72 for ; Fri, 9 Jun 2023 23:58:59 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 19DA9410D1; Fri, 9 Jun 2023 23:58:59 +0200 (CEST) Received: from mail-pg1-f226.google.com (mail-pg1-f226.google.com [209.85.215.226]) by mails.dpdk.org (Postfix) with ESMTP id 4282D40A84 for ; Fri, 9 Jun 2023 23:58:54 +0200 (CEST) Received: by mail-pg1-f226.google.com with SMTP id 41be03b00d2f7-543ae6ce8d1so1142999a12.2 for ; Fri, 09 Jun 2023 14:58:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1686347933; x=1688939933; h=cc:to:from:subject:message-id:date:from:to:cc:subject:date :message-id:reply-to; bh=h8uFABsy7iNsxJp3DrXR0uusWeSWZ1T/DpfW015oNVw=; b=FDjrLhAp0D/u7fXCus3GnPWn6p6++76VlNI4D7K18TBCewvFsQquTBGSsOSJdla40h z/CEtn+d4N/Gf6snzWVt9TtdzeU1g8mkZgNwxTpm5fUHU+pN63lpWigs4ycINozmnzi2 xHtG0HppEX3PxsgpT63qqhEgbvCce1vI3S/VQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686347933; x=1688939933; h=cc:to:from:subject:message-id:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=h8uFABsy7iNsxJp3DrXR0uusWeSWZ1T/DpfW015oNVw=; b=Y5YbahrjaNdq4tlHUJbrAYIFv7uGVu8+lMSHGHOH5X2U9rNquD6rEGRmKSGEUcINdt L/SfXbn1768mEXGTEDPP7H7Ap5RTAG90+V+Jh458ZwPX0LX+8uD9Z4H5PSR2VTxF9wiI X39ebX48UUMAdEcOTtjlKABEqg1wd7tnbprr5pLKR3+q0cRk0ugaXlf7pV7XGiJvSeut QUNJHjAsCJJLPpv1b2LwAYbLlzfVD9TAPeB6KMusmfVf5Hzfhh6tKD4WM/0njCQfOisx DziJ2N2U+NqyZhXZfjrx+jxjyQcE9yGgZQj0WsHDBDRZzOD1wFGED6N55PYuhm2oiVqa aVBA== X-Gm-Message-State: AC+VfDx/wzknkdH2XnBc3vp+tvib7BxmP4V7Ld385P+BGovsJBLFw7ba nrqOz3YiqIM8wQ6o8nmtZHo9wQPh0+bt15+gMUTklEiO1f0tWfhG56IFEA== X-Google-Smtp-Source: ACHHUZ5JvtfoxfwBWPN0wKp/D3Ny9IwlPvzCj8MNR9/UaYLZqzg4OpQB7Lpx07G2iyHbj3zvvavXRx/umr7D X-Received: by 2002:a17:90b:4d83:b0:253:30e1:7d68 with SMTP id oj3-20020a17090b4d8300b0025330e17d68mr2427378pjb.0.1686347933449; Fri, 09 Jun 2023 14:58:53 -0700 (PDT) Received: from postal.iol.unh.edu (postal.iol.unh.edu. [132.177.123.84]) by smtp-relay.gmail.com with ESMTPS id q8-20020a170902788800b001ae507af1e9sm284044pll.130.2023.06.09.14.58.53 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Jun 2023 14:58:53 -0700 (PDT) X-Relaying-Domain: iol.unh.edu Date: Fri, 09 Jun 2023 14:58:53 -0700 (PDT) Message-ID: <6483a09d.170a0220.df27e.60e4SMTPIN_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 A2811605246B; Fri, 9 Jun 2023 17:58:52 -0400 (EDT) Subject: |WARNING| pw128101 [PATCH] net/octeon_ep: rework transmit routine 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/128101 _apply patch failure_ Submitter: Vamsi Attunuru Date: Monday, June 05 2023 09:26:22 Applied on: CommitID:abaa473297cf21cb81e5348185a7694ae2f221e7 Apply patch set 128101 failed: Checking patch drivers/net/octeon_ep/otx_ep_common.h... Hunk #1 succeeded at 30 (offset -7 lines). Hunk #2 succeeded at 127 (offset -10 lines). error: while searching for: unsigned int socket_id); int otx_ep_delete_oqs(struct otx_ep_device *otx_ep, uint32_t oq_no); struct otx_ep_sg_entry { /** The first 64 bit gives the size of data in each dptr. */ union { uint16_t size[4]; uint64_t size64; } u; /** The 4 dptr pointers for this entry. */ uint64_t ptr[4]; }; #define OTX_EP_SG_ENTRY_SIZE (sizeof(struct otx_ep_sg_entry)) /** Structure of a node in list of gather components maintained by * driver for each network device. */ struct otx_ep_gather { /** number of gather entries. */ int num_sg; /** Gather component that can accommodate max sized fragment list * received from the IP layer. */ struct otx_ep_sg_entry *sg; }; struct otx_ep_buf_free_info { struct rte_mbuf *mbuf; struct otx_ep_gather g; }; #define OTX_EP_MAX_PKT_SZ 65498U #define OTX_EP_MAX_MAC_ADDRS 1 #define OTX_EP_SG_ALIGN 8 error: patch failed: drivers/net/octeon_ep/otx_ep_common.h:516 Checking patch drivers/net/octeon_ep/otx_ep_rxtx.c... Hunk #1 succeeded at 48 (offset -1 lines). Hunk #2 succeeded at 56 (offset -1 lines). error: while searching for: { const struct otx_ep_config *conf; struct otx_ep_instr_queue *iq; uint32_t q_size; int ret; conf = otx_ep->conf; error: patch failed: drivers/net/octeon_ep/otx_ep_rxtx.c:81 Hunk #4 succeeded at 125 (offset -3 lines). Hunk #5 succeeded at 382 (offset -8 lines). Hunk #6 succeeded at 402 (offset -8 lines). Hunk #7 succeeded at 518 (offset -25 lines). Hunk #8 succeeded at 594 (offset -25 lines). Hunk #9 succeeded at 631 (offset -25 lines). Hunk #10 succeeded at 651 (offset -25 lines). Hunk #11 succeeded at 674 (offset -25 lines). Hunk #12 succeeded at 710 (offset -25 lines). Checking patch drivers/net/octeon_ep/otx_ep_rxtx.h... Applying patch drivers/net/octeon_ep/otx_ep_common.h with 1 reject... Hunk #1 applied cleanly. Hunk #2 applied cleanly. Rejected hunk #3. Applying patch drivers/net/octeon_ep/otx_ep_rxtx.c with 1 reject... Hunk #1 applied cleanly. Hunk #2 applied cleanly. Rejected hunk #3. Hunk #4 applied cleanly. Hunk #5 applied cleanly. Hunk #6 applied cleanly. Hunk #7 applied cleanly. Hunk #8 applied cleanly. Hunk #9 applied cleanly. Hunk #10 applied cleanly. Hunk #11 applied cleanly. Hunk #12 applied cleanly. Applied patch drivers/net/octeon_ep/otx_ep_rxtx.h cleanly. hint: Use 'git am --show-current-patch' to see the failed patch diff a/drivers/net/octeon_ep/otx_ep_common.h b/drivers/net/octeon_ep/otx_ep_common.h (rejected hunks) @@ -516,37 +549,6 @@ int otx_ep_setup_oqs(struct otx_ep_device *otx_ep, int oq_no, int num_descs, unsigned int socket_id); int otx_ep_delete_oqs(struct otx_ep_device *otx_ep, uint32_t oq_no); -struct otx_ep_sg_entry { - /** The first 64 bit gives the size of data in each dptr. */ - union { - uint16_t size[4]; - uint64_t size64; - } u; - - /** The 4 dptr pointers for this entry. */ - uint64_t ptr[4]; -}; - -#define OTX_EP_SG_ENTRY_SIZE (sizeof(struct otx_ep_sg_entry)) - -/** Structure of a node in list of gather components maintained by - * driver for each network device. - */ -struct otx_ep_gather { - /** number of gather entries. */ - int num_sg; - - /** Gather component that can accommodate max sized fragment list - * received from the IP layer. - */ - struct otx_ep_sg_entry *sg; -}; - -struct otx_ep_buf_free_info { - struct rte_mbuf *mbuf; - struct otx_ep_gather g; -}; - #define OTX_EP_MAX_PKT_SZ 65498U #define OTX_EP_MAX_MAC_ADDRS 1 #define OTX_EP_SG_ALIGN 8 diff a/drivers/net/octeon_ep/otx_ep_rxtx.c b/drivers/net/octeon_ep/otx_ep_rxtx.c (rejected hunks) @@ -81,7 +87,8 @@ otx_ep_init_instr_queue(struct otx_ep_device *otx_ep, int iq_no, int num_descs, { const struct otx_ep_config *conf; struct otx_ep_instr_queue *iq; - uint32_t q_size; + struct otx_ep_sg_entry *sg; + uint32_t i, q_size; int ret; conf = otx_ep->conf; https://lab.dpdk.org/results/dashboard/patchsets/26532/ UNH-IOL DPDK Community Lab