Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/57825/?format=api
http://patches.dpdk.org/api/patches/57825/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20190822160717.13584-1-mdr@ashroe.eu/", "project": { "id": 1, "url": "http://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": "<20190822160717.13584-1-mdr@ashroe.eu>", "list_archive_url": "https://inbox.dpdk.org/dev/20190822160717.13584-1-mdr@ashroe.eu", "date": "2019-08-22T16:07:15", "name": "[v2,0/2] add abi version testing to app/test", "commit_ref": null, "pull_url": null, "state": null, "archived": false, "hash": null, "submitter": { "id": 1310, "url": "http://patches.dpdk.org/api/people/1310/?format=api", "name": "Ray Kinsella", "email": "mdr@ashroe.eu" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20190822160717.13584-1-mdr@ashroe.eu/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/57825/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/57825/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 [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id BD8641BF84;\n\tThu, 22 Aug 2019 18:08:03 +0200 (CEST)", "from qrelay9.mxroute.com (qrelay9.mxroute.com [172.82.139.9])\n\tby dpdk.org (Postfix) with ESMTP id 284C31BF83\n\tfor <dev@dpdk.org>; Thu, 22 Aug 2019 18:08:02 +0200 (CEST)", "from filter002.mxroute.com (unknown [116.203.155.46])\n\tby qrelay9.mxroute.com (Postfix) with ESMTP id 2307B8023E;\n\tThu, 22 Aug 2019 12:08:01 -0400 (EDT)", "from galaxy.mxroute.com (unknown [23.92.70.113])\n\tby filter002.mxroute.com (Postfix) with ESMTPS id 5E78B3F0C2;\n\tThu, 22 Aug 2019 16:07:55 +0000 (UTC)", "from [192.198.151.43] (helo=localhost)\n\tby galaxy.mxroute.com with esmtpsa\n\t(TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)\n\t(Exim 4.91) (envelope-from <mdr@ashroe.eu>)\n\tid 1i0pWr-0001Td-Ou; Thu, 22 Aug 2019 12:01:37 -0400" ], "From": "Ray Kinsella <mdr@ashroe.eu>", "To": "dev@dpdk.org", "Cc": "mdr@ashroe.eu, bruce.richardson@intel.com, vladimir.medvedkin@intel.com, \n\tjohn.mcnamara@intel.com, marko.kovacevic@intel.com", "Date": "Thu, 22 Aug 2019 17:07:15 +0100", "Message-Id": "<20190822160717.13584-1-mdr@ashroe.eu>", "X-Mailer": "git-send-email 2.17.1", "X-AuthUser": "mdr@ashroe.eu", "Subject": "[dpdk-dev] [PATCH v2 0/2] add abi version testing to app/test", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "This patchset adds ABI version testing to the app/test unit test framework,\naddressing two issues previously raised during ML conversations on ABI\nstability;\n\n1. How do we unit test still supported previous ABI versions?\n2. How to we unit test inline functions from still supported previous ABI\nversions?\n\nStarting with rte_lpm, I did the following:-\n\n* I reproduced mostly unmodified unit tests for the v2.0 ABI, taken from DPDK\n 2.2 and 17.02.\n* I reproduced the rte_lpm interface header from v2.0, including the inline\n functions and remapping symbols to their appropriate versions.\n* I added support for multiple abi versions to the app/test unit test framework\n to allow users to switch between abi versions (set_abi_version), without\n further polluting the already long list of unit tests available in app/test.\n\nThe intention here is that in future as developers need to deprecate APIs, the\nassociated unit tests may move into the ABI version testing mechanism of the\napp/test instead of being replaced by the latest set of unit tests as would be\nthe case today.\n\nv2:\n\n* Added LPM IPv6 test cases for the v2.0 ABI.\n* Fixed a number of checkpatch errors, stop short of substantially reworking\n the test code from the v2.0 ABI. \n* Removed duplicating test cases published in the original v1 patch.\n\nRay Kinsella (2):\n app/test: add abi version testing functionality\n app/test: lpm abi version testing\n\n app/test/Makefile | 12 +-\n app/test/commands.c | 131 +-\n app/test/meson.build | 6 +\n app/test/test.c | 2 +\n app/test/test.h | 48 +-\n app/test/test_lpm.c | 3 +-\n app/test/test_lpm6.c | 2 +-\n app/test/test_lpm_perf.c | 293 +---\n app/test/test_lpm_routes.c | 287 ++++\n app/test/test_lpm_routes.h | 25 +\n app/test/v2.0/dcompat.h | 30 +\n app/test/v2.0/rte_lpm.h | 451 +++++\n app/test/v2.0/rte_lpm6.h | 198 +++\n app/test/v2.0/test_lpm.c | 1139 +++++++++++++\n app/test/v2.0/test_lpm6.c | 1748 ++++++++++++++++++++\n app/test/v2.0/test_lpm6_perf.c | 179 ++\n app/test/v2.0/test_lpm_perf.c | 212 +++\n app/test/v2.0/test_v20.c | 14 +\n doc/guides/contributing/versioning.rst | 4 +\n lib/librte_eal/common/include/rte_compat.h | 7 +\n 20 files changed, 4471 insertions(+), 320 deletions(-)\n create mode 100644 app/test/test_lpm_routes.c\n create mode 100644 app/test/test_lpm_routes.h\n create mode 100644 app/test/v2.0/dcompat.h\n create mode 100644 app/test/v2.0/rte_lpm.h\n create mode 100644 app/test/v2.0/rte_lpm6.h\n create mode 100644 app/test/v2.0/test_lpm.c\n create mode 100644 app/test/v2.0/test_lpm6.c\n create mode 100644 app/test/v2.0/test_lpm6_perf.c\n create mode 100644 app/test/v2.0/test_lpm_perf.c\n create mode 100644 app/test/v2.0/test_v20.c", "diff": null, "prefixes": [ "v2", "0/2" ] }{ "id": 57825, "url": "