Cover Detail
Show a cover letter.
GET /api/covers/88270/?format=api
https://patches.dpdk.org/api/covers/88270/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/cover/20210228125353.2436562-1-thomas@monjalon.net/", "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": "<20210228125353.2436562-1-thomas@monjalon.net>", "list_archive_url": "https://inbox.dpdk.org/dev/20210228125353.2436562-1-thomas@monjalon.net", "date": "2021-02-28T12:53:35", "name": "[v6,00/17] Alpine/musl build support", "submitter": { "id": 685, "url": "https://patches.dpdk.org/api/people/685/?format=api", "name": "Thomas Monjalon", "email": "thomas@monjalon.net" }, "mbox": "https://patches.dpdk.org/project/dpdk/cover/20210228125353.2436562-1-thomas@monjalon.net/mbox/", "series": [ { "id": 15401, "url": "https://patches.dpdk.org/api/series/15401/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=15401", "date": "2021-02-28T12:53:35", "name": "Alpine/musl build support", "version": 6, "mbox": "https://patches.dpdk.org/series/15401/mbox/" } ], "comments": "https://patches.dpdk.org/api/covers/88270/comments/", "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 857BAA0548;\n\tSun, 28 Feb 2021 13:54:01 +0100 (CET)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 7134522A258;\n\tSun, 28 Feb 2021 13:54:01 +0100 (CET)", "from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com\n [64.147.123.19])\n by mails.dpdk.org (Postfix) with ESMTP id C9D1622A240\n for <dev@dpdk.org>; Sun, 28 Feb 2021 13:53:59 +0100 (CET)", "from compute2.internal (compute2.nyi.internal [10.202.2.42])\n by mailout.west.internal (Postfix) with ESMTP id B5325605;\n Sun, 28 Feb 2021 07:53:57 -0500 (EST)", "from mailfrontend2 ([10.202.2.163])\n by compute2.internal (MEProxy); Sun, 28 Feb 2021 07:53:57 -0500", "from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184])\n by mail.messagingengine.com (Postfix) with ESMTPA id E0B9D1080057;\n Sun, 28 Feb 2021 07:53:56 -0500 (EST)" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=\n from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-type:content-transfer-encoding; s=fm3; bh=\n UMl+XiiVZmkGg2Ui1kt7oLYBLt4JteluHSsX69aPyk8=; b=WqLXL2sbUuj6FZ9k\n MExDlDrTfyUfCM5mW+WxjeHwtD6xYnM847A941hoWUTMaQzNRrACcvyN1jybhBr3\n wH34kZNf4HYOkD9mEzoPi5GYpxsAaA6I/CBRA19KyLOCoSArYO8DVsqy4SZUAati\n qRoOPWBxocoASksI7Ia1Z4EbGewFZGusn2fVGTIdknh9TjjrTkkU83hfLiM/QMQ2\n kI/+5I+VR5EPiKFZEHr14ITg+Zh5DsQwF85aA4zo0CemmoVceSzXIxcAndf5Mq9z\n vN8GchoT0KjfS3f1SwYi2IVDlm3+1qxfdklBBw7HZB9WNXDvYUepNuaeiq0CYutF\n t0C56Q==", "v=1; a=rsa-sha256; c=relaxed/relaxed; d=\n messagingengine.com; h=cc:content-transfer-encoding:content-type\n :date:from:in-reply-to:message-id:mime-version:references\n :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender\n :x-sasl-enc; s=fm2; bh=UMl+XiiVZmkGg2Ui1kt7oLYBLt4JteluHSsX69aPy\n k8=; b=UmnubbXcY/e/Z7ZyNK0cR3qaINB4O4oFWxnoXib0xRpIYqi1B+bWfmLS/\n 9l5ypyUoLV/KQ7V2CsuGPc6/9wyft3LjFuiQvy4sWe8jMde6+Oft8TpzvXuj9IoW\n m9HaWxe3klSOpGiw1x+cKR/OCsVYLb0E4hFjRPASffOlVJm+xplPsREBscxP/3QV\n 3C9KI0b5M1YZuPT0iJh4boNVfmleRzfCAPLlU2yzlBvIRLxRCiA+94B/vN5iDHqq\n vlQKkDYWhIWHxg8+YSMmzVoCyTfFLc+vHrrqbq5tXkQ/yuD0SuUtSzN4IK9Np2ZR\n y+TvAATFdvy+6awpFDGD50f1c7vjA==" ], "X-ME-Sender": "<xms:ZZI7YDDrHIryWSdYCEr04PQQHtXHe-BTgD_OEiZdJz_ffn3MSqNNpQ>\n <xme:ZZI7YJhf04E8gDoc27m5a_jYhw2JGlswts66l4DrKGggH9CcT9a64ydyNNlNI4L-n\n d8cwNZl9XQcDYvtRA>", "X-ME-Proxy-Cause": "\n gggruggvucftvghtrhhoucdtuddrgeduledrleeigdegjecutefuodetggdotefrodftvf\n curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu\n uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfgggtgfesthekre\n dtredtjeenucfhrhhomhepvfhhohhmrghsucfoohhnjhgrlhhonhcuoehthhhomhgrshes\n mhhonhhjrghlohhnrdhnvghtqeenucggtffrrghtthgvrhhnpedvgeehffeuffehgeekfe\n ehheetudfggeefffekheekjefgueeuieehudegleefkeenucffohhmrghinhepghhithhh\n uhgsrdgtohhmpdguphgukhdrohhrghdptghonhhfrdhinhenucfkphepjeejrddufeegrd\n dvtdefrddukeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhf\n rhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth", "X-ME-Proxy": "<xmx:ZZI7YOmbYhZ4Pv4CeFgqoqzQ-aKWWxy3MlugeDXE-O40R5RV8qehqg>\n <xmx:ZZI7YFwkvy0_-zBifUIAI92OGrQRZbIrHT9LOWAPBo_yIe5lBu2d0Q>\n <xmx:ZZI7YITnIL5E-XrLT8Fgj_p0fzAWZEDNxTefLScMbHxe2ogv_neC5A>\n <xmx:ZZI7YHPtWq3ke1yS1VkhFUo8i_5sI-vpPWjJNNRp96ZprdywBy--eQ>", "From": "Thomas Monjalon <thomas@monjalon.net>", "To": "dev@dpdk.org", "Cc": "ncopa@alpinelinux.org", "Date": "Sun, 28 Feb 2021 13:53:35 +0100", "Message-Id": "<20210228125353.2436562-1-thomas@monjalon.net>", "X-Mailer": "git-send-email 2.30.1", "In-Reply-To": "<20190313170657.16688-1-ncopa@alpinelinux.org>", "References": "<20190313170657.16688-1-ncopa@alpinelinux.org>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v6 00/17] Alpine/musl build support", "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", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "These patches fix some build errors/warning for Alpine Linux,\nusing musl and busybox.\nFew improvements are added on the way.\n\nThe goal is to run a container with the following Dockerfile:\n8< ------------\nFROM alpine\n\n# DPDK prerequisites\nRUN apk --no-cache add \\\n gcc libc-dev bsd-compat-headers linux-headers \\\n python3 py3-elftools meson ninja \\\n libexecinfo-dev numactl-dev zlib-dev libpcap-dev libbpf-dev openssl-dev\n\n# mlx prerequisites\nRUN apk --no-cache add \\\n git cmake libnl3-dev\nRUN git clone https://github.com/linux-rdma/rdma-core.git\nWORKDIR /rdma-core/build\nRUN cmake -DNO_MAN_PAGES=1 -DNO_PYVERBS=1 -GNinja ..\nRUN ninja install\nWORKDIR /\n\n# download\nARG version\nRUN if [ \"$version\" = git ] ; then \\\n git clone http://dpdk.org/git/dpdk dpdk-$version ;\\\n else \\\n wget http://fast.dpdk.org/rel/dpdk-$version.tar.xz && \\\n tar xf dpdk-$version.tar.xz ;\\\n fi\n\n# build\nWORKDIR dpdk-$version/build\nRUN meson ..\nRUN ninja install\n8< ------------\n\n\nv6: do not set _GNU_SOURCE in pkg-config\n\n\nNatanael Copa (7):\n bus/pci: support I/O port operations with musl\n bus/dpaa: fix 64-bit arch detection\n bus/dpaa: fix build with musl\n common/dpaax/caamflib: fix build with musl\n common/dpaax/caamflib: simplify log macros\n net/cxgbe: remove use of uint type\n app/testpmd: fix build with musl\n\nThomas Monjalon (10):\n eal: fix comment of OS-specific header files\n buildtools: fix build with busybox\n build: detect execinfo library on Linux\n build: remove redundant _GNU_SOURCE definitions\n eal: fix build with musl\n drivers: fix header includes for musl\n drivers: replace page size definitions with function\n net/igc: remove use of uint type\n vdpa/mlx5: replace pthread functions unavailable in musl\n examples/bbdev: fix header include for musl\n\n app/meson.build | 4 -\n app/test-pmd/bpf_cmd.c | 2 +-\n app/test-pmd/config.c | 2 +-\n app/test-pmd/testpmd.h | 2 +-\n app/test/meson.build | 3 -\n buildtools/binutils-avx512-check.sh | 2 +-\n buildtools/check-symbols.sh | 2 +-\n buildtools/map-list-symbol.sh | 2 +-\n config/meson.build | 9 ++-\n doc/api/doxy-api.conf.in | 3 +-\n drivers/bus/dpaa/base/fman/netcfg_layer.c | 4 +-\n drivers/bus/dpaa/base/qbman/bman_driver.c | 13 +++-\n drivers/bus/dpaa/base/qbman/qman_driver.c | 17 +++--\n drivers/bus/dpaa/include/fsl_qman.h | 2 +-\n drivers/bus/dpaa/include/netcfg.h | 1 -\n drivers/bus/fslmc/qbman/include/compat.h | 3 -\n drivers/bus/pci/linux/pci_uio.c | 91 +++++++++++++++--------\n drivers/bus/pci/linux/pci_vfio.c | 9 +--\n drivers/bus/vmbus/linux/vmbus_uio.c | 4 +-\n drivers/bus/vmbus/private.h | 5 +-\n drivers/bus/vmbus/rte_vmbus_reg.h | 2 +-\n drivers/bus/vmbus/vmbus_common_uio.c | 4 +-\n drivers/common/dpaax/caamflib/compat.h | 40 +++++-----\n drivers/common/dpaax/compat.h | 5 --\n drivers/common/dpaax/meson.build | 1 -\n drivers/crypto/virtio/virtio_pci.h | 3 +-\n drivers/event/dlb/dlb.c | 9 ++-\n drivers/event/dlb/dlb_priv.h | 2 -\n drivers/event/dlb/pf/base/dlb_osdep.h | 2 +-\n drivers/event/dlb/pf/dlb_main.h | 5 +-\n drivers/event/dlb/pf/dlb_pf.c | 13 ++--\n drivers/event/dlb2/dlb2.c | 2 +-\n drivers/event/dlb2/dlb2_priv.h | 2 -\n drivers/event/dlb2/pf/base/dlb2_osdep.h | 2 +-\n drivers/event/dlb2/pf/dlb2_main.h | 5 +-\n drivers/event/dlb2/pf/dlb2_pf.c | 11 +--\n drivers/net/bnx2x/ecore_fw_defs.h | 18 +++--\n drivers/net/cxgbe/base/common.h | 18 ++---\n drivers/net/igc/igc_flow.c | 2 +-\n drivers/net/ionic/ionic_lif.c | 25 ++++---\n drivers/net/ionic/ionic_main.c | 3 +-\n drivers/net/ionic/ionic_osdep.h | 2 +-\n drivers/net/memif/rte_eth_memif.h | 4 -\n drivers/net/mlx5/linux/mlx5_socket.c | 4 -\n drivers/net/netvsc/hn_rndis.c | 12 +--\n drivers/net/netvsc/hn_rxtx.c | 10 ++-\n drivers/net/netvsc/hn_var.h | 9 +--\n drivers/net/virtio/virtio.h | 2 +-\n drivers/net/virtio/virtio_ethdev.c | 6 +-\n drivers/net/virtio/virtio_ethdev.h | 4 -\n drivers/vdpa/ifc/ifcvf_vdpa.c | 17 ++---\n drivers/vdpa/mlx5/mlx5_vdpa_event.c | 25 ++++---\n examples/bbdev_app/main.c | 2 +-\n examples/meson.build | 4 +-\n lib/librte_eal/freebsd/include/rte_os.h | 6 +-\n lib/librte_eal/include/rte_lcore.h | 4 +\n lib/librte_eal/include/rte_thread.h | 4 +\n lib/librte_eal/linux/include/rte_os.h | 8 +-\n lib/librte_eal/unix/eal_file.c | 1 +\n lib/librte_eal/windows/include/rte_os.h | 5 +-\n lib/librte_eal/windows/include/sched.h | 1 +\n lib/librte_telemetry/rte_telemetry.h | 4 +\n 62 files changed, 256 insertions(+), 232 deletions(-)" }{ "id": 88270, "url": "