Show a patch.

GET /api/patches/73556/
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 73556,
    "url": "https://patches.dpdk.org/api/patches/73556/",
    "web_url": "https://patches.dpdk.org/patch/73556/",
    "project": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/projects/1/",
        "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"
    },
    "msgid": "<20200708213946.30108-2-andreyv@mellanox.com>",
    "date": "2020-07-08T21:39:40",
    "name": "[v2,1/6] ethdev: add flow shared action API",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "4b44f7f7a35e5cd074383b96689407010fbc37f3",
    "submitter": {
        "id": 1809,
        "url": "https://patches.dpdk.org/api/people/1809/",
        "name": "Andrey Vesnovaty",
        "email": "andreyv@mellanox.com"
    },
    "delegate": {
        "id": 319,
        "url": "https://patches.dpdk.org/api/users/319/",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@intel.com"
    },
    "mbox": "https://patches.dpdk.org/patch/73556/mbox/",
    "series": [
        {
            "id": 10899,
            "url": "https://patches.dpdk.org/api/series/10899/",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=10899",
            "date": "2020-07-08T21:39:39",
            "name": "add flow shared action API + PMD",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/10899/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/73556/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/73556/checks/",
    "tags": {},
    "headers": {
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "Return-Path": "<dev-bounces@dpdk.org>",
        "Message-Id": "<20200708213946.30108-2-andreyv@mellanox.com>",
        "X-Mailer": "git-send-email 2.26.2",
        "To": "dev@dpdk.org",
        "Cc": "jer@marvell.com, jerinjacobk@gmail.com, thomas@monjalon.net,\n ferruh.yigit@intel.com, stephen@networkplumber.org,\n bruce.richardson@intel.com, orika@mellanox.com,\n viacheslavo@mellanox.com, andrey.vesnovaty@gmail.com,\n Ray Kinsella <mdr@ashroe.eu>, Neil Horman <nhorman@tuxdriver.com>,\n Andrew Rybchenko <arybchenko@solarflare.com>",
        "X-BeenThere": "dev@dpdk.org",
        "Received": [
            "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id C77A8A0526;\n\tWed,  8 Jul 2020 23:40:14 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 14A2F1E4BB;\n\tWed,  8 Jul 2020 23:40:02 +0200 (CEST)",
            "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n by dpdk.org (Postfix) with ESMTP id C78461DFE5\n for <dev@dpdk.org>; Wed,  8 Jul 2020 23:39:57 +0200 (CEST)",
            "from Internal Mail-Server by MTLPINE1 (envelope-from\n andreyv@mellanox.com) with SMTP; 9 Jul 2020 00:39:53 +0300",
            "from r-arch-host11.mtr.labs.mlnx. (r-arch-host11.mtr.labs.mlnx\n [10.213.43.60])\n by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 068LdrB2032740;\n Thu, 9 Jul 2020 00:39:53 +0300"
        ],
        "Subject": "[dpdk-dev] [PATCH v2 1/6] ethdev: add flow shared action API",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "In-Reply-To": "<20200708213946.30108-1-andreyv@mellanox.com>",
        "Precedence": "list",
        "From": "Andrey Vesnovaty <andreyv@mellanox.com>",
        "Content-Transfer-Encoding": "8bit",
        "MIME-Version": "1.0",
        "References": "<20200702120511.16315-1-andreyv@mellanox.com>\n <20200708213946.30108-1-andreyv@mellanox.com>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "Errors-To": "dev-bounces@dpdk.org",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Date": "Thu,  9 Jul 2020 00:39:40 +0300",
        "X-Mailman-Version": "2.1.15",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>"
    },
    "content": "From: Andrey Vesnovaty <andrey.vesnovaty@gmail.com>\n\nThis commit introduces extension of DPDK flow action API enabling\nsharing of single rte_flow_action in multiple flows. The API intended for\nPMDs where multiple HW offloaded flows can reuse the same HW\nessence/object representing flow action and modification of such an\nessence/object effects all the rules using it.\n\nMotivation and example\n===\nAdding or removing one or more queues to RSS used by multiple flow rules\nimposes per rule toll for current DPDK flow API; the scenario requires\nfor each flow sharing cloned RSS action:\n- call `rte_flow_destroy()`\n- call `rte_flow_create()` with modified RSS action\n\nAPI for sharing action and its in-place update benefits:\n- reduce the overhead of multiple RSS flow rules reconfiguration\n- optimize resource utilization by sharing action across of multiple\n  flows\n\nChange description\n===\n\nShared action\n===\nIn order to represent flow action shared by multiple flows new action\ntype RTE_FLOW_ACTION_TYPE_SHARED is introduced (see `enum\nrte_flow_action_type`).\nActually the introduced API decouples action from any specific flow and\nenables sharing of single action by its handle across multiple flows.\n\nShared action create/use/destroy\n===\nShared action may be reused by some or none flow rules at any given\nmoment, i.e. shared action reside outside of the context of any flow.\nShared action represent HW resources/objects used for action offloading\nimplementation.\nAPI for shared action create (see `rte_flow_shared_action_create()`):\n- should allocate HW resources and make related initializations required\n  for shared action implementation.\n- make necessary preparations to maintain shared access to\n  the action resources, configuration and state.\nAPI for shared action destroy (see `rte_flow_shared_action_destroy()`)\nshould release HW resources and make related cleanups required for shared\naction implementation.\n\nIn order to share some flow action reuse the handle of type\n`struct rte_flow_shared_action` returned by\nrte_flow_shared_action_create() as a `conf` field of\n`struct rte_flow_action` (see \"example\" section).\n\nIf some shared action not used by any flow rule all resources allocated\nby the shared action can be released by rte_flow_shared_action_destroy()\n(see \"example\" section). The shared action handle passed as argument to\ndestroy API should not be used any further i.e. result of the usage is\nundefined.\n\nShared action re-configuration\n===\nShared action behavior defined by its configuration can be updated via\nrte_flow_shared_action_update() (see \"example\" section). The shared\naction update operation modifies HW related resources/objects allocated\non the action creation. The number of operations performed by the update\noperation should not be dependent on number of flows sharing the related\naction. On return of shared action update API action behavior should be\naccording to updated configuration for all flows sharing the action.\n\nShared action query\n===\nProvide separate API to query shared action sate (see\nrte_flow_shared_action_update()). Taking a counter as an example: query\nreturns value aggregating all counter increments across all flow rules\nsharing the counter.\n\nPMD support\n===\nThe support of introduced API is pure PMD specific design and\nresponsibility for each action type (see struct rte_flow_ops).\n\ntestpmd\n===\nIn order to utilize introduced API testpmd cli may implement following\nextension\ncreate/update/destroy/query shared action accordingly\n\nflow shared_action create {port_id} [index] {action}\nflow shared_action update {port_id} {index} {action}\nflow shared_action destroy {port_id} {index}\nflow shared_action query {port_id} {index}\n\ntestpmd example\n===\n\nconfigure rss to queues 1 & 2\n\ntestpmd> flow shared_action create 0 100 rss 1 2\n\ncreate flow rule utilizing shared action\n\ntestpmd> flow create 0 ingress \\\n    pattern eth dst is 0c:42:a1:15:fd:ac / ipv6 / tcp / end \\\n  actions shared 100 end / end\n\nadd 2 more queues\n\ntestpmd> flow shared_action modify 0 100 rss 1 2 3 4\n\nexample\n===\n\nstruct rte_flow_action actions[2];\nstruct rte_flow_action action;\n/* skipped: initialize action */\nstruct rte_flow_shared_action *handle = rte_flow_shared_action_create(\n\t\t\t\t\tport_id, &action, &error);\nactions[0].type = RTE_FLOW_ACTION_TYPE_SHARED;\nactions[0].conf = handle;\nactions[1].type = RTE_FLOW_ACTION_TYPE_END;\n/* skipped: init attr0 & pattern0 args */\nstruct rte_flow *flow0 = rte_flow_create(port_id, &attr0, pattern0,\n\t\t\t\t\tactions, error);\n/* create more rules reusing shared action */\nstruct rte_flow *flow1 = rte_flow_create(port_id, &attr1, pattern1,\n\t\t\t\t\tactions, error);\n/* skipped: for flows 2 till N */\nstruct rte_flow *flowN = rte_flow_create(port_id, &attrN, patternN,\n\t\t\t\t\tactions, error);\n/* update shared action */\nstruct rte_flow_action updated_action;\n/*\n * skipped: initialize updated_action according to desired action\n * configuration change\n */\nrte_flow_shared_action_update(port_id, handle, &updated_action, error);\n/*\n * from now on all flows 1 till N will act according to configuration of\n * updated_action\n */\n/* skipped: destroy all flows 1 till N */\nrte_flow_shared_action_destroy(port_id, handle, error);\n\nSigned-off-by: Andrey Vesnovaty <andreyv@mellanox.com>\n---\n lib/librte_ethdev/rte_ethdev_version.map |   6 +\n lib/librte_ethdev/rte_flow.c             |  81 +++++++++++++\n lib/librte_ethdev/rte_flow.h             | 148 ++++++++++++++++++++++-\n lib/librte_ethdev/rte_flow_driver.h      |  22 ++++\n 4 files changed, 256 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/lib/librte_ethdev/rte_ethdev_version.map b/lib/librte_ethdev/rte_ethdev_version.map\nindex 7155056045..119d84976a 100644\n--- a/lib/librte_ethdev/rte_ethdev_version.map\n+++ b/lib/librte_ethdev/rte_ethdev_version.map\n@@ -241,4 +241,10 @@ EXPERIMENTAL {\n \t__rte_ethdev_trace_rx_burst;\n \t__rte_ethdev_trace_tx_burst;\n \trte_flow_get_aged_flows;\n+\n+\t# added in 20.08\n+\trte_flow_shared_action_create;\n+\trte_flow_shared_action_destroy;\n+\trte_flow_shared_action_update;\n+\trte_flow_shared_action_query;\n };\ndiff --git a/lib/librte_ethdev/rte_flow.c b/lib/librte_ethdev/rte_flow.c\nindex 1685be5f73..0ac4d31a13 100644\n--- a/lib/librte_ethdev/rte_flow.c\n+++ b/lib/librte_ethdev/rte_flow.c\n@@ -1250,3 +1250,84 @@ rte_flow_get_aged_flows(uint16_t port_id, void **contexts,\n \t\t\t\t  RTE_FLOW_ERROR_TYPE_UNSPECIFIED,\n \t\t\t\t  NULL, rte_strerror(ENOTSUP));\n }\n+\n+struct rte_flow_shared_action *\n+rte_flow_shared_action_create(uint16_t port_id,\n+\t\t\t      const struct rte_flow_action *action,\n+\t\t\t      struct rte_flow_error *error)\n+{\n+\tstruct rte_eth_dev *dev = &rte_eth_devices[port_id];\n+\tstruct rte_flow_shared_action *shared_action;\n+\tconst struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error);\n+\n+\tif (unlikely(!ops))\n+\t\treturn NULL;\n+\tif (likely(!!ops->shared_action_create)) {\n+\t\tshared_action = ops->shared_action_create(dev, action, error);\n+\t\tif (shared_action == NULL)\n+\t\t\tflow_err(port_id, -rte_errno, error);\n+\t\treturn shared_action;\n+\t}\n+\trte_flow_error_set(error, ENOSYS, RTE_FLOW_ERROR_TYPE_UNSPECIFIED,\n+\t\t\t   NULL, rte_strerror(ENOSYS));\n+\treturn NULL;\n+}\n+\n+int\n+rte_flow_shared_action_destroy(uint16_t port_id,\n+\t\t\t      struct rte_flow_shared_action *action,\n+\t\t\t      struct rte_flow_error *error)\n+{\n+\tstruct rte_eth_dev *dev = &rte_eth_devices[port_id];\n+\tconst struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error);\n+\n+\tif (unlikely(!ops))\n+\t\treturn -rte_errno;\n+\tif (likely(!!ops->shared_action_destroy))\n+\t\treturn flow_err(port_id,\n+\t\t\t\tops->shared_action_destroy(dev, action, error),\n+\t\t\t\terror);\n+\treturn rte_flow_error_set(error, ENOSYS,\n+\t\t\t\t  RTE_FLOW_ERROR_TYPE_UNSPECIFIED,\n+\t\t\t\t  NULL, rte_strerror(ENOSYS));\n+}\n+\n+int\n+rte_flow_shared_action_update(uint16_t port_id,\n+\t\t\t      struct rte_flow_shared_action *action,\n+\t\t\t      const struct rte_flow_action *update,\n+\t\t\t      struct rte_flow_error *error)\n+{\n+\tstruct rte_eth_dev *dev = &rte_eth_devices[port_id];\n+\tconst struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error);\n+\n+\tif (unlikely(!ops))\n+\t\treturn -rte_errno;\n+\tif (likely(!!ops->shared_action_update))\n+\t\treturn flow_err(port_id, ops->shared_action_update(dev, action,\n+\t\t\t\tupdate, error),\n+\t\t\terror);\n+\treturn rte_flow_error_set(error, ENOSYS,\n+\t\t\t\t  RTE_FLOW_ERROR_TYPE_UNSPECIFIED,\n+\t\t\t\t  NULL, rte_strerror(ENOSYS));\n+}\n+\n+int\n+rte_flow_shared_action_query(uint16_t port_id,\n+\t\t\t     const struct rte_flow_shared_action *action,\n+\t\t\t     void *data,\n+\t\t\t     struct rte_flow_error *error)\n+{\n+\tstruct rte_eth_dev *dev = &rte_eth_devices[port_id];\n+\tconst struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error);\n+\n+\tif (unlikely(!ops))\n+\t\treturn -rte_errno;\n+\tif (likely(!!ops->shared_action_query))\n+\t\treturn flow_err(port_id, ops->shared_action_query(dev, action,\n+\t\t\t\tdata, error),\n+\t\t\terror);\n+\treturn rte_flow_error_set(error, ENOSYS,\n+\t\t\t\t  RTE_FLOW_ERROR_TYPE_UNSPECIFIED,\n+\t\t\t\t  NULL, rte_strerror(ENOSYS));\n+}\ndiff --git a/lib/librte_ethdev/rte_flow.h b/lib/librte_ethdev/rte_flow.h\nindex b0e4199192..257456b14a 100644\n--- a/lib/librte_ethdev/rte_flow.h\n+++ b/lib/librte_ethdev/rte_flow.h\n@@ -1681,7 +1681,8 @@ enum rte_flow_action_type {\n \t/**\n \t * Enables counters for this flow rule.\n \t *\n-\t * These counters can be retrieved and reset through rte_flow_query(),\n+\t * These counters can be retrieved and reset through rte_flow_query() or\n+\t * rte_flow_shared_action_query() if the action provided via handle,\n \t * see struct rte_flow_query_count.\n \t *\n \t * See struct rte_flow_action_count.\n@@ -2099,6 +2100,14 @@ enum rte_flow_action_type {\n \t * see enum RTE_ETH_EVENT_FLOW_AGED\n \t */\n \tRTE_FLOW_ACTION_TYPE_AGE,\n+\n+\t/**\n+\t * Describes action shared a cross multiple flow rules.\n+\t *\n+\t * Enables multiple rules reference the same action by handle (see\n+\t * struct rte_flow_shared_action).\n+\t */\n+\tRTE_FLOW_ACTION_TYPE_SHARED,\n };\n \n /**\n@@ -2660,6 +2669,20 @@ struct rte_flow_action_set_dscp {\n \tuint8_t dscp;\n };\n \n+\n+/**\n+ * RTE_FLOW_ACTION_TYPE_SHARED\n+ *\n+ * Opaque type returned after successfully creating a shared action.\n+ *\n+ * This handle can be used to manage and query the related action:\n+ * - share it a cross multiple flow rules\n+ * - update action configuration\n+ * - query action data\n+ * - destroy action\n+ */\n+struct rte_flow_shared_action;\n+\n /* Mbuf dynamic field offset for metadata. */\n extern int32_t rte_flow_dynf_metadata_offs;\n \n@@ -3324,6 +3347,129 @@ int\n rte_flow_get_aged_flows(uint16_t port_id, void **contexts,\n \t\t\tuint32_t nb_contexts, struct rte_flow_error *error);\n \n+/**\n+ * @warning\n+ * @b EXPERIMENTAL: this API may change without prior notice.\n+ *\n+ * Create shared action for reuse in multiple flow rules.\n+ *\n+ * @param[in] port_id\n+ *    The port identifier of the Ethernet device.\n+ * @param[in] action\n+ *   Action configuration for shared action creation.\n+ * @param[out] error\n+ *   Perform verbose error reporting if not NULL. PMDs initialize this\n+ *   structure in case of error only.\n+ * @return\n+ *   A valid handle in case of success, NULL otherwise and rte_errno is set\n+ *   to one of the error codes defined:\n+ *   - (ENOSYS) if underlying device does not support this functionality.\n+ *   - (EIO) if underlying device is removed.\n+ *   - (EINVAL) if *action* invalid.\n+ *   - (ENOTSUP) if *action* valid but unsupported.\n+ */\n+__rte_experimental\n+struct rte_flow_shared_action *\n+rte_flow_shared_action_create(uint16_t port_id,\n+\t\t\t      const struct rte_flow_action *action,\n+\t\t\t      struct rte_flow_error *error);\n+\n+/**\n+ * @warning\n+ * @b EXPERIMENTAL: this API may change without prior notice.\n+ *\n+ * Destroys the shared action by handle.\n+ *\n+ * @param[in] port_id\n+ *    The port identifier of the Ethernet device.\n+ * @param[in] action\n+ *   Handle for the shared action to be destroyed.\n+ * @param[out] error\n+ *   Perform verbose error reporting if not NULL. PMDs initialize this\n+ *   structure in case of error only.\n+ * @return\n+ *   - (0) if success.\n+ *   - (-ENOSYS) if underlying device does not support this functionality.\n+ *   - (-EIO) if underlying device is removed.\n+ *   - (-ENOENT) if action pointed by *action* handle was not found.\n+ *   - (-ETOOMANYREFS) if action pointed by *action* handle still used by one or\n+ *     more rules\n+ *   rte_errno is also set.\n+ */\n+__rte_experimental\n+int\n+rte_flow_shared_action_destroy(uint16_t port_id,\n+\t\t\t      struct rte_flow_shared_action *action,\n+\t\t\t      struct rte_flow_error *error);\n+\n+/**\n+ * @warning\n+ * @b EXPERIMENTAL: this API may change without prior notice.\n+ *\n+ * Updates inplace the shared action configuration pointed by *action* handle\n+ * with the configuration provided as *update* argument.\n+ * The update of the shared action configuration effects all flow rules reusing\n+ * the action via handle.\n+ *\n+ * @param[in] port_id\n+ *    The port identifier of the Ethernet device.\n+ * @param[in] action\n+ *   Handle for the shared action to be updated.\n+ * @param[in] update\n+ *   Action specification used to modify the action pointed by handle.\n+ *   *update* should be of same type with the action pointed by the *action*\n+ *   handle argument, otherwise considered as invalid.\n+ * @param[out] error\n+ *   Perform verbose error reporting if not NULL. PMDs initialize this\n+ *   structure in case of error only.\n+ * @return\n+ *   - (0) if success.\n+ *   - (-ENOSYS) if underlying device does not support this functionality.\n+ *   - (-EIO) if underlying device is removed.\n+ *   - (-EINVAL) if *update* invalid.\n+ *   - (-ENOTSUP) if *update* valid but unsupported.\n+ *   - (-ENOENT) if action pointed by *ctx* was not found.\n+ *   rte_errno is also set.\n+ */\n+__rte_experimental\n+int\n+rte_flow_shared_action_update(uint16_t port_id,\n+\t\t\t      struct rte_flow_shared_action *action,\n+\t\t\t      const struct rte_flow_action *update,\n+\t\t\t      struct rte_flow_error *error);\n+\n+/**\n+ * @warning\n+ * @b EXPERIMENTAL: this API may change without prior notice.\n+ *\n+ * Query the shared action by handle.\n+ *\n+ * This function allows retrieving action-specific data such as counters.\n+ * Data is gathered by special action which may be present/referenced in\n+ * more than one flow rule definition.\n+ *\n+ * \\see RTE_FLOW_ACTION_TYPE_COUNT\n+ *\n+ * @param port_id\n+ *   Port identifier of Ethernet device.\n+ * @param[in] action\n+ *   Handle for the shared action to query.\n+ * @param[in, out] data\n+ *   Pointer to storage for the associated query data type.\n+ * @param[out] error\n+ *   Perform verbose error reporting if not NULL. PMDs initialize this\n+ *   structure in case of error only.\n+ *\n+ * @return\n+ *   0 on success, a negative errno value otherwise and rte_errno is set.\n+ */\n+__rte_experimental\n+int\n+rte_flow_shared_action_query(uint16_t port_id,\n+\t\t\t     const struct rte_flow_shared_action *action,\n+\t\t\t     void *data,\n+\t\t\t     struct rte_flow_error *error);\n+\n #ifdef __cplusplus\n }\n #endif\ndiff --git a/lib/librte_ethdev/rte_flow_driver.h b/lib/librte_ethdev/rte_flow_driver.h\nindex 881cc469b7..a2cae1b53c 100644\n--- a/lib/librte_ethdev/rte_flow_driver.h\n+++ b/lib/librte_ethdev/rte_flow_driver.h\n@@ -107,6 +107,28 @@ struct rte_flow_ops {\n \t\t void **context,\n \t\t uint32_t nb_contexts,\n \t\t struct rte_flow_error *err);\n+\t/** See rte_flow_shared_action_create() */\n+\tstruct rte_flow_shared_action *(*shared_action_create)\n+\t\t(struct rte_eth_dev *dev,\n+\t\tconst struct rte_flow_action *action,\n+\t\tstruct rte_flow_error *error);\n+\t/** See rte_flow_shared_action_destroy() */\n+\tint (*shared_action_destroy)\n+\t\t(struct rte_eth_dev *dev,\n+\t\t struct rte_flow_shared_action *shared_action,\n+\t\t struct rte_flow_error *error);\n+\t/** See rte_flow_shared_action_update() */\n+\tint (*shared_action_update)\n+\t\t(struct rte_eth_dev *dev,\n+\t\t struct rte_flow_shared_action *shared_action,\n+\t\t const struct rte_flow_action *update,\n+\t\t struct rte_flow_error *error);\n+\t/** See rte_flow_shared_action_query() */\n+\tint (*shared_action_query)\n+\t\t(struct rte_eth_dev *dev,\n+\t\t const struct rte_flow_shared_action *shared_action,\n+\t\t void *data,\n+\t\t struct rte_flow_error *error);\n };\n \n /**\n",
    "prefixes": [
        "v2",
        "1/6"
    ]
}