Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/14511/?format=api
https://patches.dpdk.org/api/patches/14511/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1467594845-3487-6-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": "<1467594845-3487-6-git-send-email-thomas.monjalon@6wind.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1467594845-3487-6-git-send-email-thomas.monjalon@6wind.com", "date": "2016-07-04T01:14:03", "name": "[dpdk-dev,v9,5/7] mk: link infos generated by pmdinfogen", "commit_ref": null, "pull_url": null, "state": "rejected", "archived": true, "hash": "f008d1552f45be2e1b03c0b47df5c6703c2ed4aa", "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/1467594845-3487-6-git-send-email-thomas.monjalon@6wind.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/14511/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/14511/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 CD16A5582;\n\tMon, 4 Jul 2016 03:14:20 +0200 (CEST)", "from mail-wm0-f41.google.com (mail-wm0-f41.google.com\n\t[74.125.82.41]) by dpdk.org (Postfix) with ESMTP id 353F44A65\n\tfor <dev@dpdk.org>; Mon, 4 Jul 2016 03:14:19 +0200 (CEST)", "by mail-wm0-f41.google.com with SMTP id r201so95816534wme.1\n\tfor <dev@dpdk.org>; Sun, 03 Jul 2016 18:14:19 -0700 (PDT)", "from XPS13.localdomain (184.203.134.77.rev.sfr.net.\n\t[77.134.203.184]) by smtp.gmail.com with ESMTPSA id\n\tl4sm5527127wjk.18.2016.07.03.18.14.18\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tSun, 03 Jul 2016 18:14:18 -0700 (PDT)" ], "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=UEV6hBJgOX7xyJRKOW/nKqwW+6WithfQCB5gC6k5okQ=;\n\tb=2JxFo4q+iF+vuQvwky5+AFTlSzAEOwCQU33Ir396oDt6C7X94txGula7U4k/3Xunfz\n\tNaAi+jabsL1dmCwnBM8WPVepMaItnza2vGrppbNEDsUV+Mus02n/Jko3goh7zHpnm2dJ\n\tZrkeUOHzpLdn6a6pmimZVQWMOMQB53ZCgUOmGsFtOYTFWnqmTon544uuDlzDL5YE8TO0\n\tHV7+4GQ2tvHUzkLtns8ye9xxhg1KGkOVNhQH97KFDm5mwoImpaH7Jc1mzl2Mi3FyiUob\n\t8f0dL8BmF6riteNmEH/jdzjmyHE0iCDZZ7N2s3OHtqJAttTN793Hs7xeLZqhhR8S5OYD\n\tTp1A==", "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=UEV6hBJgOX7xyJRKOW/nKqwW+6WithfQCB5gC6k5okQ=;\n\tb=BWV90L3JOiGgPJWIr7yrBiNct5u3k5FkJ6G6/c2n2ZS9nPfyWNHan5IGy16Q3fYvc0\n\tocz+l7VAhqRgsQiRaQoquJX+45eu8qiuD69n2QSt81N/l6Fq9noEjK0gcyfqxAdWGN/C\n\to7L92exEBtGntrKwSBq2bJrilJrWiddOjXVELjHJ3+XxFubQst3kUQpUnBHbhqc6fAbr\n\tYjuznYYIp9CT+W3HicHx8s9LylY+jRmz4PHaxdJsY1FoFeZq6TV0k30ix7uCIIdMw7cP\n\t0aM5O+v9Xceng0A61SIQwu5/vPDdIu2q0R0bnBR8Yr2xLc+91RxpeGVTccv2NqCKqASQ\n\tJbLw==", "X-Gm-Message-State": "ALyK8tKuH3Xj9yQxHE8u64+64HVo2CSaRwFJAZf3zGCDOtrGrwr8mIXw+FZhp4oJEczw3XhL", "X-Received": "by 10.194.117.227 with SMTP id kh3mr7806159wjb.28.1467594859035; \n\tSun, 03 Jul 2016 18:14:19 -0700 (PDT)", "From": "Thomas Monjalon <thomas.monjalon@6wind.com>", "To": "Neil Horman <nhorman@tuxdriver.com>", "Cc": "dev@dpdk.org,\n\tPanu Matilainen <pmatilai@redhat.com>", "Date": "Mon, 4 Jul 2016 03:14:03 +0200", "Message-Id": "<1467594845-3487-6-git-send-email-thomas.monjalon@6wind.com>", "X-Mailer": "git-send-email 2.7.0", "In-Reply-To": "<1467594845-3487-1-git-send-email-thomas.monjalon@6wind.com>", "References": "<1466189185-21952-1-git-send-email-nhorman@tuxdriver.com>\n\t<1467594845-3487-1-git-send-email-thomas.monjalon@6wind.com>", "Subject": "[dpdk-dev] [PATCH v9 5/7] mk: link infos generated by pmdinfogen", "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": "Generate informations to export from objects which register a driver.\nThe C code generated by dpdk-pmdinfogen is compiled and linked into the\noriginal object file.\nThis effectively just adds the JSON string into the string table of the\nobject that defines the PMD to the outside world.\n\nSigned-off-by: Neil Horman <nhorman@tuxdriver.com>\nAcked-by: Panu Matilainen <pmatilai@redhat.com>\nAcked-by: Remy Horton <remy.horton@intel.com>\nSigned-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>\n---\n mk/internal/rte.compile-pre.mk | 12 ++++++++++++\n mk/rte.sdkbuild.mk | 1 +\n 2 files changed, 13 insertions(+)", "diff": "diff --git a/mk/internal/rte.compile-pre.mk b/mk/internal/rte.compile-pre.mk\nindex b9bff4a..3967390 100644\n--- a/mk/internal/rte.compile-pre.mk\n+++ b/mk/internal/rte.compile-pre.mk\n@@ -84,10 +84,22 @@ C_TO_O = $(CC) -Wp,-MD,$(call obj2dep,$(@)).tmp $(CFLAGS) \\\n C_TO_O_STR = $(subst ','\\'',$(C_TO_O)) #'# fix syntax highlight\n C_TO_O_DISP = $(if $(V),\"$(C_TO_O_STR)\",\" CC $(@)\")\n endif\n+PMDINFO_GEN = $(RTE_SDK_BIN)/buildtools/dpdk-pmdinfogen $@ $@.pmd.c\n+PMDINFO_CC = $(CC) $(CFLAGS) -c -o $@.pmd.o $@.pmd.c\n+PMDINFO_LD = $(CROSS)ld $(LDFLAGS) -r -o $@.o $@.pmd.o $@\n+PMDINFO_TO_O = if grep -q 'RTE_REGISTER_DRIVER(.*)' $<; then \\\n+\techo \"$(if $V,$(PMDINFO_GEN), PMDINFO $@.pmd.c)\" && \\\n+\t$(PMDINFO_GEN) && \\\n+\techo \"$(if $V,$(PMDINFO_CC), CC $@.pmd.o)\" && \\\n+\t$(PMDINFO_CC) && \\\n+\techo \"$(if $V,$(PMDINFO_LD), LD $@)\" && \\\n+\t$(PMDINFO_LD) && \\\n+\tmv -f $@.o $@; fi\n C_TO_O_CMD = 'cmd_$@ = $(C_TO_O_STR)'\n C_TO_O_DO = @set -e; \\\n \techo $(C_TO_O_DISP); \\\n \t$(C_TO_O) && \\\n+\t$(PMDINFO_TO_O) && \\\n \techo $(C_TO_O_CMD) > $(call obj2cmd,$(@)) && \\\n \tsed 's,'$@':,dep_'$@' =,' $(call obj2dep,$(@)).tmp > $(call obj2dep,$(@)) && \\\n \trm -f $(call obj2dep,$(@)).tmp\ndiff --git a/mk/rte.sdkbuild.mk b/mk/rte.sdkbuild.mk\nindex 5edbf50..b6b66bf 100644\n--- a/mk/rte.sdkbuild.mk\n+++ b/mk/rte.sdkbuild.mk\n@@ -49,6 +49,7 @@ $(1): $(sort $(LOCAL_DEPDIRS-$(1)))\n endef\n \n $(foreach d,$(ROOTDIRS-y),$(eval $(call depdirs_rule,$(d))))\n+drivers: | buildtools\n \n #\n # build and clean targets\n", "prefixes": [ "dpdk-dev", "v9", "5/7" ] }{ "id": 14511, "url": "