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 B3F664260C for ; Tue, 19 Sep 2023 19:33:03 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AECBE40277; Tue, 19 Sep 2023 19:33:03 +0200 (CEST) Received: from mail-qv1-f97.google.com (mail-qv1-f97.google.com [209.85.219.97]) by mails.dpdk.org (Postfix) with ESMTP id 04EF540277 for ; Tue, 19 Sep 2023 19:33:02 +0200 (CEST) Received: by mail-qv1-f97.google.com with SMTP id 6a1803df08f44-658612f0b44so3644256d6.0 for ; Tue, 19 Sep 2023 10:33:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1695144780; x=1695749580; darn=dpdk.org; h=cc:to:from:subject:message-id:date:from:to:cc:subject:date :message-id:reply-to; bh=6z7xTRoXIqZq7R5vpMAPWUApNnaNfeArBHnbcH3pe4o=; b=fAjqWZLieGWywD6R9rIxGwK0EMiHf4dnM1ZiLGkJpQu+6EJJ5mwQhaIT+hT7NFXBF3 SY/+djL9U0s7FUswc1dB8p1cw7F1y99v3K7YkPDj/1fE7FDmWOm/5DQkCl/tE6U1CY+G 2YQBO62OMQlxWWC0xwnauESJhTyAtml+Wir2k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695144780; x=1695749580; h=cc:to:from:subject:message-id:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=6z7xTRoXIqZq7R5vpMAPWUApNnaNfeArBHnbcH3pe4o=; b=pH296v/sFBjP4G3Sbdhdxdq7wbqDQiqvYBhf6q29EZX0U2kt3+ttfd/UJlrbhdedbc 7Kam5Zix3p78vcS6s+9FHTwek4BNmms0SuDwEXhKqbYxice+oQlhWPulCw7kasfbd43+ b+yo6a/KTQWqNhw9iyOUPNPlLeeydKTVpZwf9gz6xSgyGya0Io/DWXbzK2ycgzY8QbYo Dkvxb7INYcw0JFVRn+//WSErHp6MpuCMmmuBTU8J7BO3NX199q7TNMy3xN4pIUZgDpdN oZyBE4p8CggrDaNgT8r8mKLgpj+qiFI4znBMxGjNSl1C1C2mVwsSe6EOZJj3Lso/97VM yMCw== X-Gm-Message-State: AOJu0YwPqdVpMSikzH2qAHdYVr9PuuLogJMrMWC78zbfU2+iN+bzKWUt X7d015soWh6opfino+0ttwzPB4WRtSjMO/YGYphsFQ99RsceZOat7glyJIXGLE+oD8ajDg/zLw= = X-Google-Smtp-Source: AGHT+IHNTNemvN2RAB3e3USC+oFLYQxVETeCTbEbe++orE5SoyjyW0CMcsDaU5/rl4t9RU0rtopVI61o8T0v X-Received: by 2002:a0c:ec51:0:b0:650:dbc4:2283 with SMTP id n17-20020a0cec51000000b00650dbc42283mr64293qvq.34.1695144780474; Tue, 19 Sep 2023 10:33:00 -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 jz14-20020a0562140e6e00b00656478ef866sm333712qvb.43.2023.09.19.10.33.00 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Sep 2023 10:33:00 -0700 (PDT) X-Relaying-Domain: iol.unh.edu Date: Tue, 19 Sep 2023 10:33:00 -0700 (PDT) Message-ID: <6509db4c.050a0220.ca073.d5e1SMTPIN_ADDED_MISSING@mx.google.com> Received: from [172.21.0.2] (unknown [172.18.0.240]) by postal.iol.unh.edu (Postfix) with ESMTP id 2E93B6052514; Tue, 19 Sep 2023 13:33:00 -0400 (EDT) Subject: |WARNING| pw131626-131632 [PATCH] [v1, 7/7] event/cnxk: support DMA event functions 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/131626 _apply patch failure_ Submitter: Amit Prakash Shukla Date: Tuesday, September 19 2023 13:42:22 Applied on: CommitID:d83fb967212efa19d272e7fa65d17c9ad94b17c1 Apply patch set 131626-131632 failed: Checking patch doc/api/doxy-api-index.md... Checking patch doc/guides/eventdevs/features/default.ini... Checking patch doc/guides/prog_guide/event_dma_adapter.rst... Checking patch doc/guides/prog_guide/eventdev.rst... Checking patch doc/guides/prog_guide/img/event_dma_adapter_op_forward.svg... Checking patch doc/guides/prog_guide/img/event_dma_adapter_op_new.svg... Checking patch doc/guides/prog_guide/index.rst... Checking patch lib/eventdev/eventdev_pmd.h... Checking patch lib/eventdev/eventdev_private.c... Checking patch lib/eventdev/rte_event_dma_adapter.h... Checking patch lib/eventdev/rte_eventdev.h... Checking patch lib/eventdev/rte_eventdev_core.h... error: while searching for: /**< PMD Tx adapter enqueue same destination function. */ event_crypto_adapter_enqueue_t ca_enqueue; /**< PMD Crypto adapter enqueue function. */ uintptr_t reserved[5]; } __rte_cache_aligned; extern struct rte_event_fp_ops rte_event_fp_ops[RTE_EVENT_MAX_DEVS]; error: patch failed: lib/eventdev/rte_eventdev_core.h:65 Checking patch lib/eventdev/version.map... error: while searching for: # added in 23.11 rte_event_eth_rx_adapter_create_ext_with_params; }; INTERNAL { error: patch failed: lib/eventdev/version.map:134 Applied patch doc/api/doxy-api-index.md cleanly. Applied patch doc/guides/eventdevs/features/default.ini cleanly. Applied patch doc/guides/prog_guide/event_dma_adapter.rst cleanly. Applied patch doc/guides/prog_guide/eventdev.rst cleanly. Applied patch doc/guides/prog_guide/img/event_dma_adapter_op_forward.svg cleanly. Applied patch doc/guides/prog_guide/img/event_dma_adapter_op_new.svg cleanly. Applied patch doc/guides/prog_guide/index.rst cleanly. Applied patch lib/eventdev/eventdev_pmd.h cleanly. Applied patch lib/eventdev/eventdev_private.c cleanly. Applied patch lib/eventdev/rte_event_dma_adapter.h cleanly. Applied patch lib/eventdev/rte_eventdev.h cleanly. Applying patch lib/eventdev/rte_eventdev_core.h with 1 reject... Hunk #1 applied cleanly. Rejected hunk #2. Applying patch lib/eventdev/version.map with 1 reject... Rejected hunk #1. hint: Use 'git am --show-current-patch' to see the failed patch diff a/lib/eventdev/rte_eventdev_core.h b/lib/eventdev/rte_eventdev_core.h (rejected hunks) @@ -65,7 +69,9 @@ struct rte_event_fp_ops { /**< PMD Tx adapter enqueue same destination function. */ event_crypto_adapter_enqueue_t ca_enqueue; /**< PMD Crypto adapter enqueue function. */ - uintptr_t reserved[5]; + event_dma_adapter_enqueue_t dma_enqueue; + /**< PMD DMA adapter enqueue function. */ + uintptr_t reserved[4]; } __rte_cache_aligned; extern struct rte_event_fp_ops rte_event_fp_ops[RTE_EVENT_MAX_DEVS]; diff a/lib/eventdev/version.map b/lib/eventdev/version.map (rejected hunks) @@ -134,6 +134,21 @@ EXPERIMENTAL { # added in 23.11 rte_event_eth_rx_adapter_create_ext_with_params; + rte_event_dma_adapter_create_ext; + rte_event_dma_adapter_create; + rte_event_dma_adapter_free; + rte_event_dma_adapter_event_port_get; + rte_event_dma_adapter_vchan_queue_add; + rte_event_dma_adapter_vchan_queue_del; + rte_event_dma_adapter_service_id_get; + rte_event_dma_adapter_start; + rte_event_dma_adapter_stop; + rte_event_dma_adapter_runtime_params_init; + rte_event_dma_adapter_runtime_params_set; + rte_event_dma_adapter_runtime_params_get; + rte_event_dma_adapter_stats_get; + rte_event_dma_adapter_stats_reset; + rte_event_dma_adapter_enqueue; }; INTERNAL { Checking patch lib/eventdev/meson.build... Checking patch lib/eventdev/rte_eventdev.c... Checking patch lib/eventdev/rte_eventdev.h... error: lib/eventdev/rte_eventdev.h: does not match index Checking patch lib/meson.build... Applied patch lib/eventdev/meson.build cleanly. Applied patch lib/eventdev/rte_eventdev.c cleanly. Applied patch lib/meson.build cleanly. hint: Use 'git am --show-current-patch' to see the failed patch Checking patch config/rte_config.h... Checking patch lib/eventdev/meson.build... error: lib/eventdev/meson.build: does not match index Checking patch lib/eventdev/rte_event_dma_adapter.c... Checking patch lib/eventdev/rte_event_dma_adapter.h... error: lib/eventdev/rte_event_dma_adapter.h: does not exist in index Applied patch config/rte_config.h cleanly. Applied patch lib/eventdev/rte_event_dma_adapter.c cleanly. hint: Use 'git am --show-current-patch' to see the failed patch Checking patch drivers/common/cnxk/roc_dpi.c... error: while searching for: mbox_msg.s.aura = aura; mbox_msg.s.sso_pf_func = idev_sso_pffunc_get(); mbox_msg.s.npa_pf_func = idev_npa_pffunc_get(); rc = send_msg_to_pf(&pci_dev->addr, (const char *)&mbox_msg, sizeof(dpi_mbox_msg_t)); error: patch failed: drivers/common/cnxk/roc_dpi.c:84 Hunk #2 succeeded at 147 (offset 50 lines). error: while searching for: vfid = ((pci_dev->addr.devid & 0x1F) << 3) | (pci_dev->addr.function & 0x7); vfid -= 1; roc_dpi->vfid = vfid; return 0; } error: patch failed: drivers/common/cnxk/roc_dpi.c:104 Checking patch drivers/common/cnxk/roc_dpi.h... error: while searching for: uint16_t vfid; } __plt_cache_aligned; int __roc_api roc_dpi_dev_init(struct roc_dpi *roc_dpi); int __roc_api roc_dpi_dev_fini(struct roc_dpi *roc_dpi); int __roc_api roc_dpi_configure(struct roc_dpi *dpi, uint32_t chunk_sz, uint64_t aura, error: patch failed: drivers/common/cnxk/roc_dpi.h:11 Checking patch drivers/common/cnxk/roc_dpi_priv.h... Hunk #1 succeeded at 34 (offset 3 lines). Checking patch drivers/common/cnxk/roc_idev.c... Checking patch drivers/common/cnxk/roc_idev_priv.h... Checking patch drivers/dma/cnxk/cnxk_dmadev.c... error: while searching for: static int cnxk_dmadev_probe(struct rte_pci_driver *pci_drv __rte_unused, struct rte_pci_device *pci_dev) { struct cnxk_dpi_vf_s *dpivf = NULL; char name[RTE_DEV_NAME_MAX_LEN]; struct rte_dma_dev *dmadev; error: patch failed: drivers/dma/cnxk/cnxk_dmadev.c:511 Hunk #2 succeeded at 678 (offset 121 lines). Checking patch drivers/dma/cnxk/cnxk_dmadev.h... Hunk #1 succeeded at 18 (offset -68 lines). Applying patch drivers/common/cnxk/roc_dpi.c with 2 rejects... Rejected hunk #1. Hunk #2 applied cleanly. Rejected hunk #3. Applying patch drivers/common/cnxk/roc_dpi.h with 1 reject... Rejected hunk #1. Applied patch drivers/common/cnxk/roc_dpi_priv.h cleanly. Applied patch drivers/common/cnxk/roc_idev.c cleanly. Applied patch drivers/common/cnxk/roc_idev_priv.h cleanly. Applying patch drivers/dma/cnxk/cnxk_dmadev.c with 1 reject... Rejected hunk #1. Hunk #2 applied cleanly. Applied patch drivers/dma/cnxk/cnxk_dmadev.h cleanly. hint: Use 'git am --show-current-patch' to see the failed patch diff a/drivers/common/cnxk/roc_dpi.c b/drivers/common/cnxk/roc_dpi.c (rejected hunks) @@ -84,6 +84,8 @@ roc_dpi_configure(struct roc_dpi *roc_dpi, uint32_t chunk_sz, uint64_t aura, uin mbox_msg.s.aura = aura; mbox_msg.s.sso_pf_func = idev_sso_pffunc_get(); mbox_msg.s.npa_pf_func = idev_npa_pffunc_get(); + mbox_msg.s.wqecs = 1; + mbox_msg.s.wqecsoff = idev_dma_cs_offset_get(); rc = send_msg_to_pf(&pci_dev->addr, (const char *)&mbox_msg, sizeof(dpi_mbox_msg_t)); @@ -104,6 +106,7 @@ roc_dpi_dev_init(struct roc_dpi *roc_dpi) vfid = ((pci_dev->addr.devid & 0x1F) << 3) | (pci_dev->addr.function & 0x7); vfid -= 1; roc_dpi->vfid = vfid; + idev_dma_cs_offset_set(offset); return 0; } diff a/drivers/common/cnxk/roc_dpi.h b/drivers/common/cnxk/roc_dpi.h (rejected hunks) @@ -11,7 +11,7 @@ struct roc_dpi { uint16_t vfid; } __plt_cache_aligned; -int __roc_api roc_dpi_dev_init(struct roc_dpi *roc_dpi); +int __roc_api roc_dpi_dev_init(struct roc_dpi *roc_dpi, uint8_t offset); int __roc_api roc_dpi_dev_fini(struct roc_dpi *roc_dpi); int __roc_api roc_dpi_configure(struct roc_dpi *dpi, uint32_t chunk_sz, uint64_t aura, diff a/drivers/dma/cnxk/cnxk_dmadev.c b/drivers/dma/cnxk/cnxk_dmadev.c (rejected hunks) @@ -511,6 +511,7 @@ static const struct rte_dma_dev_ops cnxk_dmadev_ops = { static int cnxk_dmadev_probe(struct rte_pci_driver *pci_drv __rte_unused, struct rte_pci_device *pci_dev) { + struct cnxk_dpi_compl_s *compl = NULL; struct cnxk_dpi_vf_s *dpivf = NULL; char name[RTE_DEV_NAME_MAX_LEN]; struct rte_dma_dev *dmadev; Checking patch drivers/dma/cnxk/cnxk_dma_event_dp.h... Checking patch drivers/dma/cnxk/cnxk_dmadev.h... error: drivers/dma/cnxk/cnxk_dmadev.h: does not match index Checking patch drivers/dma/cnxk/cnxk_dmadev_fp.c... error: drivers/dma/cnxk/cnxk_dmadev_fp.c: does not exist in index Checking patch drivers/dma/cnxk/meson.build... error: while searching for: endif endforeach deps += ['bus_pci', 'common_cnxk', 'dmadev'] sources = files('cnxk_dmadev.c', 'cnxk_dmadev_fp.c') require_iova_in_mbuf = false error: patch failed: drivers/dma/cnxk/meson.build:8 Checking patch drivers/dma/cnxk/version.map... Applied patch drivers/dma/cnxk/cnxk_dma_event_dp.h cleanly. Applying patch drivers/dma/cnxk/meson.build with 1 reject... Rejected hunk #1. Applied patch drivers/dma/cnxk/version.map cleanly. hint: Use 'git am --show-current-patch' to see the failed patch diff a/drivers/dma/cnxk/meson.build b/drivers/dma/cnxk/meson.build (rejected hunks) @@ -8,6 +8,10 @@ foreach flag: error_cflags endif endforeach -deps += ['bus_pci', 'common_cnxk', 'dmadev'] +driver_sdk_headers = files( + 'cnxk_dma_event_dp.h', +) + +deps += ['bus_pci', 'common_cnxk', 'dmadev', 'eventdev'] sources = files('cnxk_dmadev.c', 'cnxk_dmadev_fp.c') require_iova_in_mbuf = false https://lab.dpdk.org/results/dashboard/patchsets/27650/ UNH-IOL DPDK Community Lab