Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/9273/?format=api
https://patches.dpdk.org/api/patches/9273/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1449118929-19962-8-git-send-email-thomas.monjalon@6wind.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": "<1449118929-19962-8-git-send-email-thomas.monjalon@6wind.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1449118929-19962-8-git-send-email-thomas.monjalon@6wind.com", "date": "2015-12-03T05:02:04", "name": "[dpdk-dev,v2,07/12] mk: install kernel modules", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "35a1bbf71eafb434b416f54eac3375d9f9aaf0ef", "submitter": { "id": 1, "url": "https://patches.dpdk.org/api/people/1/?format=api", "name": "Thomas Monjalon", "email": "thomas.monjalon@6wind.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1449118929-19962-8-git-send-email-thomas.monjalon@6wind.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/9273/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/9273/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id A58618E8B;\n\tThu, 3 Dec 2015 06:03:37 +0100 (CET)", "from mail-wm0-f43.google.com (mail-wm0-f43.google.com\n\t[74.125.82.43]) by dpdk.org (Postfix) with ESMTP id 651988E72\n\tfor <dev@dpdk.org>; Thu, 3 Dec 2015 06:03:35 +0100 (CET)", "by wmec201 with SMTP id c201so6453545wme.1\n\tfor <dev@dpdk.org>; Wed, 02 Dec 2015 21:03:35 -0800 (PST)", "from XPS13.ibrowse.com ([93.158.46.55])\n\tby smtp.gmail.com with ESMTPSA id\n\tgl4sm5720379wjd.17.2015.12.02.21.03.33\n\t(version=TLSv1/SSLv3 cipher=OTHER);\n\tWed, 02 Dec 2015 21:03:34 -0800 (PST)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=6wind-com.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=hiG2DiOuFP8Ydrmc1HQCsc5MDtmz460owwzbIrCpT1s=;\n\tb=KNjaRXYUeSLMGttibQ3ORs9R7f5AtKFPt1YiOde7+ZePhqY5xpx5xjvPsl74HfcAvb\n\tM1ruLIFMjpV9rtv6OINv85oAgGX0k6uJY/z678vojE8XqOTYn4d28f5r9DU+2hHEZXIP\n\to75w4eqnJAS4DIgj8HqirVQNmyP8SCdmK2E54AacmZU24LPBy4sxoKJfxM20NY8Io9cZ\n\tptyj8V+4BMpSlpBHT6Ju4YEkzGmKYkrGzUACJ4RCuZmGQWZolYu11twquVfKjaFFfy85\n\tX59FHgSOnyhsPZ/c2nLZZYhWFYNfW4HruNibrsMxVybvTwlf/F4DGnrH41rm09chtUK8\n\tAbUQ==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=hiG2DiOuFP8Ydrmc1HQCsc5MDtmz460owwzbIrCpT1s=;\n\tb=YKG9eH5aqEgSCJMxnNvHNowP5tmOY4U3XZzuUKzdBGoMSxKOyK0dZPVvgG0xOXFvgF\n\t0R6ccrYQmpmHRZm1mUDvaOIMIF0cSC4r3WNkbAYHesXLPkUu0k7TPNv/z+AUNC5cCSXS\n\tA4g1+L6qvhv88pEq8sJdVE9etWRSSAW38jbYGjAomYnxsU6LIfTTZIdQXczj/4zEh76h\n\tOVMphqs3YbtADCcIDPkZO+xAFUNVByvapPPCUDt8dlWyMC2ct3zPXXj/KwmZzjGeRzBq\n\tLMA/bGgmiklKEJ6VbgrFFlHVCIQRRK9Zbn6Ai5OtJ+Rskojz/nnb7+M+lmYNcc5UIQi/\n\t6XuQ==", "X-Gm-Message-State": "ALoCoQkAv3HnMM31qq9jGY2IylY6eZmHupRFKJJzgAUkMtuq0maGFvqqS+VaPYx0tff/ZQYBjgF+", "X-Received": "by 10.28.228.138 with SMTP id b132mr51280080wmh.46.1449119015318;\n\tWed, 02 Dec 2015 21:03:35 -0800 (PST)", "From": "Thomas Monjalon <thomas.monjalon@6wind.com>", "To": "dev@dpdk.org", "Date": "Thu, 3 Dec 2015 06:02:04 +0100", "Message-Id": "<1449118929-19962-8-git-send-email-thomas.monjalon@6wind.com>", "X-Mailer": "git-send-email 2.5.2", "In-Reply-To": "<1449118929-19962-1-git-send-email-thomas.monjalon@6wind.com>", "References": "<1449028676-19232-1-git-send-email-thomas.monjalon@6wind.com>\n\t<1449118929-19962-1-git-send-email-thomas.monjalon@6wind.com>", "Subject": "[dpdk-dev] [PATCH v2 07/12] mk: install kernel modules", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "patches and discussions about DPDK <dev.dpdk.org>", "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://dpdk.org/ml/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Add kernel modules to \"make install\".\nNothing is done if there is no kernel module compiled.\n\nWhen using \"make install T=\", the default path is the same as before.\n\nThe Linux path is based on host kernel version.\n\nSuggested-by: Mario Carrillo <mario.alfredo.c.arevalo@intel.com>\nSigned-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>\n---\n mk/rte.sdkinstall.mk | 15 +++++++++++++++\n 1 file changed, 15 insertions(+)", "diff": "diff --git a/mk/rte.sdkinstall.mk b/mk/rte.sdkinstall.mk\nindex 509b50e..3daf241 100644\n--- a/mk/rte.sdkinstall.mk\n+++ b/mk/rte.sdkinstall.mk\n@@ -43,9 +43,17 @@ O ?= build\n BUILD_DIR := $O\n endif\n \n+include $(RTE_SDK)/mk/rte.vars.mk\n+\n ifdef T # defaults with T= will install an almost flat staging tree\n export prefix ?=\n+kerneldir ?= $(prefix)/kmod\n+else\n+ifeq ($(RTE_EXEC_ENV),linuxapp)\n+kerneldir ?= /lib/modules/$(shell uname -r)/extra/dpdk\n else\n+kerneldir ?= /boot/modules\n+endif\n prefix ?= /usr/local\n endif\n exec_prefix ?= $(prefix)\n@@ -94,6 +102,7 @@ ifeq ($(DESTDIR)$(if $T,,+),)\n else\n \t@echo ================== Installing $(DESTDIR)$(prefix)/\n \t$(Q)$(MAKE) O=$(BUILD_DIR) install-runtime\n+\t$(Q)$(MAKE) O=$(BUILD_DIR) install-kmod\n \t$(Q)$(MAKE) O=$(BUILD_DIR) install-sdk\n \t@echo Installation in $(DESTDIR)$(prefix)/ complete\n endif\n@@ -110,6 +119,12 @@ install-runtime:\n \t$(Q)$(call rte_mkdir, $(DESTDIR)$(datadir))\n \t$(Q)cp -a $(RTE_SDK)/tools $(DESTDIR)$(datadir)\n \n+install-kmod:\n+ifneq ($(wildcard $O/kmod/*),)\n+\t$(Q)$(call rte_mkdir, $(DESTDIR)$(kerneldir))\n+\t$(Q)cp -a $O/kmod/* $(DESTDIR)$(kerneldir)\n+endif\n+\n install-sdk:\n \t$(Q)$(call rte_mkdir, $(DESTDIR)$(includedir))\n \t$(Q)tar -chf - -C $O include | \\\n", "prefixes": [ "dpdk-dev", "v2", "07/12" ] }{ "id": 9273, "url": "