Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/44067/?format=api
https://patches.dpdk.org/api/patches/44067/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20180831085337.21419-1-adrien.mazarguil@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": "<20180831085337.21419-1-adrien.mazarguil@6wind.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20180831085337.21419-1-adrien.mazarguil@6wind.com", "date": "2018-08-31T09:00:57", "name": "[v3,0/7] ethdev: add flow API object converter", "commit_ref": null, "pull_url": null, "state": null, "archived": false, "hash": null, "submitter": { "id": 165, "url": "https://patches.dpdk.org/api/people/165/?format=api", "name": "Adrien Mazarguil", "email": "adrien.mazarguil@6wind.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20180831085337.21419-1-adrien.mazarguil@6wind.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/44067/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/44067/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 6C4DB2C55;\n\tFri, 31 Aug 2018 11:01:16 +0200 (CEST)", "from mail-wm0-f67.google.com (mail-wm0-f67.google.com\n\t[74.125.82.67]) by dpdk.org (Postfix) with ESMTP id 600EF2B92\n\tfor <dev@dpdk.org>; Fri, 31 Aug 2018 11:01:15 +0200 (CEST)", "by mail-wm0-f67.google.com with SMTP id t25-v6so4568111wmi.3\n\tfor <dev@dpdk.org>; Fri, 31 Aug 2018 02:01:15 -0700 (PDT)", "from 6wind.com (host.78.145.23.62.rev.coltfrance.com.\n\t[62.23.145.78]) by smtp.gmail.com with ESMTPSA id\n\t60-v6sm10800869wre.82.2018.08.31.02.01.13\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tFri, 31 Aug 2018 02:01:13 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=6wind-com.20150623.gappssmtp.com; s=20150623;\n\th=date:from:to:cc:subject:message-id:references:mime-version\n\t:content-disposition:in-reply-to;\n\tbh=fitlgmdUUhqBjoRYXn0BkvtW6E6TtCKUUzNZ/+cyUdc=;\n\tb=C8EJlrrWSUan2XhALjnxoTpWArC+nseawZcVbM+qveXJmSt6d1kkwRuMGIdS6UsS01\n\tf0CTYHSy7n23MlJKjhU8R0oVnmcal9dMykQgWHquSM1T1HBd46FGKTI/t3No+r80k05V\n\t3m8HNqU2NvuCp2hV3q+FBRn1qX6L2+mn8ZDl0Y1Xl8M4uS6EAQYTbPCG+XY9J094Govb\n\tcMwG32X8BrpdhjIn4F619jSNhfySuBmwUbk3/eqKtUfDoUxSqT6Dq1ac43IFluMGB0vd\n\tgMO9xn3XxRZWr7AgggWXqnpG5uA/KxX4S1+REO/tXVYI0ebfKFQEb7fo7nz6WOmC7F7E\n\tHlEQ==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:date:from:to:cc:subject:message-id:references\n\t:mime-version:content-disposition:in-reply-to;\n\tbh=fitlgmdUUhqBjoRYXn0BkvtW6E6TtCKUUzNZ/+cyUdc=;\n\tb=X4KHASiPgZ2M/j3y2eouO/1v8GU1MxKjIy9MrEb1plHbXnmc9Enig6nXt3hccBRXCR\n\t7jJrfUAyWgHjjf8477lEt5p9b0ZPVKW3Rt8VYAHdNX47QNH5HCbmO6tGFpWcLP7zkslP\n\tXlQCxhPDH7iW5mVlXE9Xd4K/0Sf4DsJJqwEzKuD9EbElvbuo7hNDKJVXeJCsFov/AxTw\n\t85fGGWVBBIeK72LSRZFeohCHJnPVNkHowpdBMeuEKp23hXFQqHEoU/erFx0f2PR6XoCw\n\t8fcP/BD1ZMNwiOgqTgtsNharMlIPQFHsZ2AoQdiTOkTatM0U5u6o7DNL7ULprZMue4ed\n\t9pMQ==", "X-Gm-Message-State": "APzg51Bfgg66T3jVjqgYyK+6plpZPu2W5bgFq506KOKc3mIOE3zKIHxu\n\tw+1fYuvvm55NpHFk8p9NLB/IRw==", "X-Google-Smtp-Source": "ANB0VdaKnEdQB3Kt+b7JLx+RxVmNUpjInNgstvCZnKjNMvZruucDFJJf/IT0rTZJ0b9OgBEGws+RTA==", "X-Received": "by 2002:a1c:9692:: with SMTP id\n\ty140-v6mr4021030wmd.82.1535706075060; \n\tFri, 31 Aug 2018 02:01:15 -0700 (PDT)", "Date": "Fri, 31 Aug 2018 11:00:57 +0200", "From": "Adrien Mazarguil <adrien.mazarguil@6wind.com>", "To": "Ferruh Yigit <ferruh.yigit@intel.com>", "Cc": "dev@dpdk.org", "Message-ID": "<20180831085337.21419-1-adrien.mazarguil@6wind.com>", "References": "<20180803132032.29038-1-adrien.mazarguil@6wind.com>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=us-ascii", "Content-Disposition": "inline", "In-Reply-To": "<20180803132032.29038-1-adrien.mazarguil@6wind.com>", "X-Mailer": "git-send-email 2.11.0", "Subject": "[dpdk-dev] [PATCH v3 0/7] ethdev: add flow API object converter", "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 is a follow up to the \"Flow API helpers enhancements\" series submitted\nalmost a year ago [1]. The new title is due to the reduced scope of this\nversion.\n\nrte_flow_conv() is a flexible replacement to rte_flow_copy(), itself a\ntemporary solution pending something better [2]. It replaces a lot of\nduplicated code found in testpmd and removes some of the maintenance burden\nthat developers tend to forget (me included) when modifying pattern\nitems or actions (updating app/test-pmd/config.c to be clear).\n\nThis series was unearthed in order to complete the implementation of\nRTE_FLOW_ACTION_TYPE_ENCAP_(VXLAN|NVGRE) in testpmd [3] without having to\nduplicate existing code once again.\n\nSee individual patches for specific changes in this version.\n\nv3 changes:\n\n- Marked rte_flow_conv() as experimental, modified net/bonding accordingly.\n- Fixed compilation issue on ARM.\n- Removed deprecation notice.\n\nv2 changes:\n\n- rte_flow_copy() is kept, albeit deprecated, no API/ABI impact.\n- Updated bonding PMD.\n- No more automatic generation of rte_flow_conv.h.\n\n[1] https://mails.dpdk.org/archives/dev/2017-October/077551.html\n[2] https://mails.dpdk.org/archives/dev/2017-July/070492.html\n[3] Currently the command-line parser (cmdline_flow.c) is aware of these\n actions, however config.c isn't. Flow rules with such actions cannot\n be created and cannot be validated with PMDs that implement them.\n\nAdrien Mazarguil (7):\n ethdev: add flow API object converter\n ethdev: add flow API item/action name conversion\n app/testpmd: rely on flow API conversion function\n net/failsafe: switch to flow API object conversion function\n net/bonding: switch to flow API object conversion function\n ethdev: add missing items/actions to flow object converter\n ethdev: deprecate rte_flow_copy function\n\n app/test-pmd/config.c | 407 +++------------\n app/test-pmd/testpmd.h | 7 +-\n doc/guides/prog_guide/rte_flow.rst | 20 +\n doc/guides/rel_notes/deprecation.rst | 7 -\n drivers/net/bonding/Makefile | 1 +\n drivers/net/bonding/meson.build | 1 +\n drivers/net/bonding/rte_eth_bond_api.c | 6 +-\n drivers/net/bonding/rte_eth_bond_flow.c | 31 +-\n drivers/net/bonding/rte_eth_bond_private.h | 5 +-\n drivers/net/failsafe/failsafe_ether.c | 6 +-\n drivers/net/failsafe/failsafe_flow.c | 31 +-\n drivers/net/failsafe/failsafe_private.h | 5 +-\n lib/librte_ethdev/rte_ethdev_version.map | 1 +\n lib/librte_ethdev/rte_flow.c | 666 ++++++++++++++++++------\n lib/librte_ethdev/rte_flow.h | 231 +++++++-\n 15 files changed, 886 insertions(+), 539 deletions(-)", "diff": null, "prefixes": [ "v3", "0/7" ] }{ "id": 44067, "url": "