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 3AC18429DB for ; Mon, 24 Apr 2023 15:20:53 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3549C40FAE; Mon, 24 Apr 2023 15:20:53 +0200 (CEST) Received: from mail-io1-f100.google.com (mail-io1-f100.google.com [209.85.166.100]) by mails.dpdk.org (Postfix) with ESMTP id 18B4540FAE for ; Mon, 24 Apr 2023 15:20:52 +0200 (CEST) Received: by mail-io1-f100.google.com with SMTP id ca18e2360f4ac-763c9805ff5so18151839f.3 for ; Mon, 24 Apr 2023 06:20:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1682342451; x=1684934451; h=cc:to:from:subject:message-id:date:from:to:cc:subject:date :message-id:reply-to; bh=wWmZcUfTq0C/8ifcDOISew0IIVp/EDEK2rZaE1qYYAQ=; b=KOsiDlHbyOu93rhMxvBixUcx4/9SkEqeXZfNsjN0p8q710Mnmw+T6YlpmTASZ3NxyN jY54nZ46pWYQIQnaPJMWP6eSeHz5PECr1MWsKzvY9KKORkOUC0Q1PNnGbFDfazQUT3nC kHCQJPm0L0JVLV09RFLuAL5PLY+euEYbayX2A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682342451; x=1684934451; h=cc:to:from:subject:message-id:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wWmZcUfTq0C/8ifcDOISew0IIVp/EDEK2rZaE1qYYAQ=; b=hUlBwu4jC3xIO5qSYTvgaN6MQ0/liUiYk270OS2Tzq5XcsptiZ9udqcbRnlhf8GsSp 52zCfHNTmnJHz+iMlyJlhiwqEDnJmtXHgINpG2k4m8PLE13dMcA4PovoGAk8nrdmT6d/ Rb7tEO+GiK/KAnPy4zvlLqyb3Revxfr4ZP/lr2A6VbgWB1BQs1+a3EdtK6IT4zF3dEMh ubcfraZlmseRHDnret7Ya/jZQLDxpKlNwkpglWMCXmIByMyR9XUHr+0qE4L3AD4j7iFS h/zsKV+eYY2cnV8PwIfaXWiQR3wrCsetOn4g8H7tfKvZtsI1gPlEpn9CMgJvtivGnZoH GXNw== X-Gm-Message-State: AAQBX9cdREDh2pLn0j6j+kjIJ6v2wwZ58ewUQ/HH2EY+dpGPVMfkFLP/ FeAxjzO0sXEgA5vKbvPHq/pe1DC0+/nrKaGE49Lz413mz94Kgdv3kIiCPXQIVRTSHiFvBegYCA= = X-Google-Smtp-Source: AKy350bHZTlrGV4gpXd7OydWBkxqIgmvOERql9tHfsUJEuJw9PnPPBiaFwzukC4DM6SmRjzQzkMnpit2NWtO X-Received: by 2002:a92:c947:0:b0:32b:68e9:9ea7 with SMTP id i7-20020a92c947000000b0032b68e99ea7mr5095542ilq.11.1682342451384; Mon, 24 Apr 2023 06:20:51 -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 z15-20020a056638214f00b0040f91b347d9sm905205jaj.59.2023.04.24.06.20.51 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Apr 2023 06:20:51 -0700 (PDT) X-Relaying-Domain: iol.unh.edu Date: Mon, 24 Apr 2023 06:20:51 -0700 (PDT) Message-ID: <64468233.050a0220.ee460.182cSMTPIN_ADDED_MISSING@mx.google.com> Received: from [172.17.0.4] (unknown [172.18.0.34]) by postal.iol.unh.edu (Postfix) with ESMTP id F0CBE605246B; Mon, 24 Apr 2023 09:20:50 -0400 (EDT) Subject: |WARNING| pw126467-126468 [PATCH] [v3, 11/11] net/octeon_ep: set secondary process dev ops 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/126467 _apply patch failure_ Submitter: Sathesh Edara Date: Monday, April 24 2023 12:55:11 Applied on: CommitID:70cc4e1fed665712e68f2f45d98dda4abc6accda Apply patch set 126467-126468 failed: Checking patch doc/guides/nics/features/octeon_ep.ini... error: while searching for: Basic stats = Y Link status = Y MTU update = Y Usage doc = Y error: patch failed: doc/guides/nics/features/octeon_ep.ini:11 Checking patch drivers/net/octeon_ep/otx_ep_ethdev.c... error: while searching for: static int otx_ep_dev_close(struct rte_eth_dev *eth_dev) { struct otx_ep_device *otx_epvf = OTX_EP_DEV(eth_dev); uint32_t num_queues, q_no; otx_ep_mbox_send_dev_exit(eth_dev); otx_epvf->fn_list.disable_io_queues(otx_epvf); num_queues = otx_epvf->nb_rx_queues; error: patch failed: drivers/net/octeon_ep/otx_ep_ethdev.c:527 Hunk #2 succeeded at 466 (offset -135 lines). error: while searching for: struct rte_ether_addr vf_mac_addr; /* Single process support */ if (rte_eal_process_type() != RTE_PROC_PRIMARY) return 0; rte_eth_copy_pci_info(eth_dev, pdev); otx_epvf->eth_dev = eth_dev; error: patch failed: drivers/net/octeon_ep/otx_ep_ethdev.c:642 Applying patch doc/guides/nics/features/octeon_ep.ini with 1 reject... Rejected hunk #1. Applying patch drivers/net/octeon_ep/otx_ep_ethdev.c with 2 rejects... Rejected hunk #1. Hunk #2 applied cleanly. Rejected hunk #3. hint: Use 'git am --show-current-patch' to see the failed patch diff a/doc/guides/nics/features/octeon_ep.ini b/doc/guides/nics/features/octeon_ep.ini (rejected hunks) @@ -11,4 +11,5 @@ x86-64 = Y Basic stats = Y Link status = Y MTU update = Y +Multiprocess aware = Y Usage doc = Y diff a/drivers/net/octeon_ep/otx_ep_ethdev.c b/drivers/net/octeon_ep/otx_ep_ethdev.c (rejected hunks) @@ -527,9 +527,17 @@ otx_ep_dev_stats_get(struct rte_eth_dev *eth_dev, static int otx_ep_dev_close(struct rte_eth_dev *eth_dev) { - struct otx_ep_device *otx_epvf = OTX_EP_DEV(eth_dev); + struct otx_ep_device *otx_epvf; uint32_t num_queues, q_no; + if (rte_eal_process_type() != RTE_PROC_PRIMARY) { + eth_dev->dev_ops = NULL; + eth_dev->rx_pkt_burst = NULL; + eth_dev->tx_pkt_burst = NULL; + return 0; + } + + otx_epvf = OTX_EP_DEV(eth_dev); otx_ep_mbox_send_dev_exit(eth_dev); otx_epvf->fn_list.disable_io_queues(otx_epvf); num_queues = otx_epvf->nb_rx_queues; @@ -642,8 +654,12 @@ otx_ep_eth_dev_init(struct rte_eth_dev *eth_dev) struct rte_ether_addr vf_mac_addr; /* Single process support */ - if (rte_eal_process_type() != RTE_PROC_PRIMARY) + if (rte_eal_process_type() != RTE_PROC_PRIMARY) { + eth_dev->dev_ops = &otx_ep_eth_dev_ops; + eth_dev->rx_pkt_burst = &otx_ep_recv_pkts; + eth_dev->tx_pkt_burst = &otx2_ep_xmit_pkts; return 0; + } rte_eth_copy_pci_info(eth_dev, pdev); otx_epvf->eth_dev = eth_dev; https://lab.dpdk.org/results/dashboard/patchsets/26107/ UNH-IOL DPDK Community Lab