Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/110744/?format=api
https://patches.dpdk.org/api/patches/110744/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20220505173003.3242618-6-kda@semihalf.com/", "project": { "id": 1, "url": "https://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20220505173003.3242618-6-kda@semihalf.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20220505173003.3242618-6-kda@semihalf.com", "date": "2022-05-05T17:29:57", "name": "[05/11] net/memif: set memfd syscall ID on RISC-V", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "5a947efa6e3c7776e2dcfa3476ef73cb0694173e", "submitter": { "id": 2179, "url": "https://patches.dpdk.org/api/people/2179/?format=api", "name": "Stanislaw Kardach", "email": "kda@semihalf.com" }, "delegate": { "id": 1, "url": "https://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20220505173003.3242618-6-kda@semihalf.com/mbox/", "series": [ { "id": 22800, "url": "https://patches.dpdk.org/api/series/22800/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=22800", "date": "2022-05-05T17:29:52", "name": "Introduce support for RISC-V architecture", "version": 1, "mbox": "https://patches.dpdk.org/series/22800/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/110744/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/110744/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 25388A00C2;\n\tThu, 5 May 2022 19:31:04 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 2A68242842;\n\tThu, 5 May 2022 19:30:34 +0200 (CEST)", "from mail-lf1-f52.google.com (mail-lf1-f52.google.com\n [209.85.167.52]) by mails.dpdk.org (Postfix) with ESMTP id 295724282B\n for <dev@dpdk.org>; Thu, 5 May 2022 19:30:31 +0200 (CEST)", "by mail-lf1-f52.google.com with SMTP id bu29so8677287lfb.0\n for <dev@dpdk.org>; Thu, 05 May 2022 10:30:31 -0700 (PDT)", "from localhost.localdomain (89-73-146-138.dynamic.chello.pl.\n [89.73.146.138]) by smtp.gmail.com with ESMTPSA id\n z26-20020ac25dfa000000b0047255d21203sm289640lfq.306.2022.05.05.10.30.29\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 05 May 2022 10:30:30 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=semihalf-com.20210112.gappssmtp.com; s=20210112;\n h=from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding;\n bh=EBdI1LWmwlmztdZHTFS3GlDR4JFoY38ZJCnGBf0izmE=;\n b=l77uJ6vFFwbpu9ga/8ItiNohP08uxqqxHsUeZMYQI03S4xQ3pjCIIEUAm/z+axnJ4B\n nSO5tvas/WSegcLgEYTHMrgDfo4Rf9Wtk1YGA08jDkPyVpOEI+NAm2zi+CIk+YWRfUfe\n cpWXU2coNfuBWpAn5ELV7MkOD1nyhKbu1v8GNHUFoCC5fZ0RLK/vi+1jLliEvlnDlTdi\n bUS/XwB+7SpkhsEI2WHMHbPpRxN7V61HMT2czGs6Ki7t5zKNlvBkWHxt1KLaFl0gKWEW\n XlfmoJCdrwXnlsJpq26suAdVMzzbEGOk+Q70ZeNEiJTYgeSvJNVb9+tkvHFcC0eSeWrj\n 24pg==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20210112;\n h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n :references:mime-version:content-transfer-encoding;\n bh=EBdI1LWmwlmztdZHTFS3GlDR4JFoY38ZJCnGBf0izmE=;\n b=meMxdU8RG7S+kgxJb27qY6xH1pKZDhseJPpeHOXWxkogvFL7pXqTHNzuechYZd17KJ\n AlWrxbzxIu6shARYIgol0NvsnyNeDAr8SQJoVRVLy/rvmEiKVpuOfKMM4M4eI018CxM0\n cdpWVbX4eFU3+4lu2dmCmOwqsnTKEbO8/IKoKW73+XKxbkLQm2wf9LdmkX3RvEV1dUOS\n mHRmT6ZjCw5dkgWeBsndrmmoAC4yv1bg1yc+A9Qvx9FNNegLSo99z/SoQL02gUWTehB9\n YUQ35pL0gLGXXv4VuAJhq1j87ZJq+Nv/CVr+xXmrzcAoqvfNe/ABUtHbLd9sNI+hTTSw\n FaGA==", "X-Gm-Message-State": "AOAM531urpmXj1rwkCdCRUFKrCrhnwjgoCo3rHawKfde1pMXHuoHZ1L8\n MWAKP0Oh9H0B4ddVOa0DKBfjHA==", "X-Google-Smtp-Source": "\n ABdhPJyGPIxZEEezu6KT7XKQicncKjeOSdJwHL36dRbdwOom7w2bd6V3rSmhIQbB+0S1zjm452YqIw==", "X-Received": "by 2002:a05:6512:2203:b0:473:b472:98d4 with SMTP id\n h3-20020a056512220300b00473b47298d4mr8464713lfu.533.1651771830774;\n Thu, 05 May 2022 10:30:30 -0700 (PDT)", "From": "Stanislaw Kardach <kda@semihalf.com>", "To": "Jakub Grajciar <jgrajcia@cisco.com>", "Cc": "Stanislaw Kardach <kda@semihalf.com>, dev@dpdk.org,\n Frank Zhao <Frank.Zhao@starfivetech.com>, Sam Grove <sam.grove@sifive.com>,\n mw@semihalf.com, upstream@semihalf.com", "Subject": "[PATCH 05/11] net/memif: set memfd syscall ID on RISC-V", "Date": "Thu, 5 May 2022 19:29:57 +0200", "Message-Id": "<20220505173003.3242618-6-kda@semihalf.com>", "X-Mailer": "git-send-email 2.30.2", "In-Reply-To": "<20220505173003.3242618-1-kda@semihalf.com>", "References": "<20220505173003.3242618-1-kda@semihalf.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org" }, "content": "Define the missing __NR_memfd_create syscall id to enable the memif PMD.\n\nSigned-off-by: Stanislaw Kardach <kda@semihalf.com>\n---\n drivers/net/memif/meson.build | 5 -----\n drivers/net/memif/rte_eth_memif.h | 2 ++\n 2 files changed, 2 insertions(+), 5 deletions(-)", "diff": "diff --git a/drivers/net/memif/meson.build b/drivers/net/memif/meson.build\nindex 9afb495953..680bc8631c 100644\n--- a/drivers/net/memif/meson.build\n+++ b/drivers/net/memif/meson.build\n@@ -5,11 +5,6 @@ if not is_linux\n build = false\n reason = 'only supported on Linux'\n endif\n-if arch_subdir == 'riscv'\n-\t\tbuild = false\n-\t\treason = 'riscv arch not supported'\n-\t\tsubdir_done()\n-endif\n \n sources = files(\n 'memif_socket.c',\ndiff --git a/drivers/net/memif/rte_eth_memif.h b/drivers/net/memif/rte_eth_memif.h\nindex a5ee23d42e..81e7dceae0 100644\n--- a/drivers/net/memif/rte_eth_memif.h\n+++ b/drivers/net/memif/rte_eth_memif.h\n@@ -180,6 +180,8 @@ const char *memif_version(void);\n #define __NR_memfd_create 360\n #elif defined __i386__\n #define __NR_memfd_create 356\n+#elif defined __riscv\n+#define __NR_memfd_create 279\n #else\n #error \"__NR_memfd_create unknown for this architecture\"\n #endif\n", "prefixes": [ "05/11" ] }{ "id": 110744, "url": "