get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 114942,
    "url": "https://patches.dpdk.org/api/patches/114942/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20220812191827.3187441-11-ivan.malov@oktetlabs.ru/",
    "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": "<20220812191827.3187441-11-ivan.malov@oktetlabs.ru>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220812191827.3187441-11-ivan.malov@oktetlabs.ru",
    "date": "2022-08-12T19:18:24",
    "name": "[10/13] ethdev: remove deprecated flow item PF",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "c21dd1d9b80082af94b7b8e0d60915389ffe0c65",
    "submitter": {
        "id": 869,
        "url": "https://patches.dpdk.org/api/people/869/?format=api",
        "name": "Ivan Malov",
        "email": "Ivan.Malov@oktetlabs.ru"
    },
    "delegate": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20220812191827.3187441-11-ivan.malov@oktetlabs.ru/mbox/",
    "series": [
        {
            "id": 24302,
            "url": "https://patches.dpdk.org/api/series/24302/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=24302",
            "date": "2022-08-12T19:18:15",
            "name": "ethdev: proceed with flow subsystem rework",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/24302/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/114942/comments/",
    "check": "warning",
    "checks": "https://patches.dpdk.org/api/patches/114942/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id EA67FA0543;\n\tFri, 12 Aug 2022 21:19:30 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 9E1AE42C3E;\n\tFri, 12 Aug 2022 21:18:39 +0200 (CEST)",
            "from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113])\n by mails.dpdk.org (Postfix) with ESMTP id CB49840A7F\n for <dev@dpdk.org>; Fri, 12 Aug 2022 21:18:31 +0200 (CEST)",
            "from bree.oktetlabs.ru (bree.oktetlabs.ru [192.168.34.5])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n (No client certificate requested)\n by shelob.oktetlabs.ru (Postfix) with ESMTPS id 7C7B4C6;\n Fri, 12 Aug 2022 22:18:31 +0300 (MSK)"
        ],
        "DKIM-Filter": "OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru 7C7B4C6",
        "Authentication-Results": "shelob.oktetlabs.ru/7C7B4C6; dkim=none;\n dkim-atps=neutral",
        "From": "Ivan Malov <ivan.malov@oktetlabs.ru>",
        "To": "dev@dpdk.org",
        "Cc": "Ori Kam <orika@nvidia.com>, Eli Britstein <elibr@nvidia.com>,\n Ilya Maximets <i.maximets@ovn.org>, Thomas Monjalon <thomas@monjalon.net>,\n Stephen Hemminger <stephen@networkplumber.org>,\n Jerin Jacob <jerinj@marvell.com>,\n Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>,\n Aman Singh <aman.deep.singh@intel.com>,\n Yuying Zhang <yuying.zhang@intel.com>,\n Ajit Khaparde <ajit.khaparde@broadcom.com>,\n Somnath Kotur <somnath.kotur@broadcom.com>,\n Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>,\n Ferruh Yigit <ferruh.yigit@xilinx.com>",
        "Subject": "[PATCH 10/13] ethdev: remove deprecated flow item PF",
        "Date": "Fri, 12 Aug 2022 22:18:24 +0300",
        "Message-Id": "<20220812191827.3187441-11-ivan.malov@oktetlabs.ru>",
        "X-Mailer": "git-send-email 2.30.2",
        "In-Reply-To": "<20220812191827.3187441-1-ivan.malov@oktetlabs.ru>",
        "References": "<20220812191827.3187441-1-ivan.malov@oktetlabs.ru>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <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 <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org"
    },
    "content": "Such deprecation was commenced in DPDK 21.11.\nSince then, no parties have objected. Remove.\n\nThe patch breaks ABI.\n\nSigned-off-by: Ivan Malov <ivan.malov@oktetlabs.ru>\nReviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>\n---\n app/test-pmd/cmdline_flow.c                   |  9 ----\n doc/guides/nics/features/bnxt.ini             |  1 -\n doc/guides/nics/features/cxgbe.ini            |  1 -\n doc/guides/nics/features/default.ini          |  1 -\n doc/guides/nics/features/sfc.ini              |  1 -\n doc/guides/nics/sfc_efx.rst                   |  2 -\n doc/guides/prog_guide/rte_flow.rst            | 34 -------------\n .../prog_guide/switch_representation.rst      | 14 ------\n doc/guides/rel_notes/release_22_11.rst        |  5 ++\n doc/guides/testpmd_app_ug/testpmd_funcs.rst   |  2 -\n drivers/net/bnxt/tf_ulp/ulp_rte_handler_tbl.c |  4 --\n drivers/net/bnxt/tf_ulp/ulp_rte_parser.c      | 25 ----------\n drivers/net/bnxt/tf_ulp/ulp_rte_parser.h      |  5 --\n drivers/net/cxgbe/cxgbe_flow.c                | 21 --------\n drivers/net/sfc/sfc_mae.c                     | 48 -------------------\n lib/ethdev/rte_flow.c                         |  1 -\n lib/ethdev/rte_flow.h                         | 15 ------\n 17 files changed, 5 insertions(+), 184 deletions(-)",
    "diff": "diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c\nindex 23889f7ab1..2722d5a48d 100644\n--- a/app/test-pmd/cmdline_flow.c\n+++ b/app/test-pmd/cmdline_flow.c\n@@ -249,7 +249,6 @@ enum index {\n \tITEM_INVERT,\n \tITEM_ANY,\n \tITEM_ANY_NUM,\n-\tITEM_PF,\n \tITEM_VF,\n \tITEM_VF_ID,\n \tITEM_PHY_PORT,\n@@ -1278,7 +1277,6 @@ static const enum index next_item[] = {\n \tITEM_VOID,\n \tITEM_INVERT,\n \tITEM_ANY,\n-\tITEM_PF,\n \tITEM_VF,\n \tITEM_PHY_PORT,\n \tITEM_PORT_ID,\n@@ -3461,13 +3459,6 @@ static const struct token token_list[] = {\n \t\t.next = NEXT(item_any, NEXT_ENTRY(COMMON_UNSIGNED), item_param),\n \t\t.args = ARGS(ARGS_ENTRY(struct rte_flow_item_any, num)),\n \t},\n-\t[ITEM_PF] = {\n-\t\t.name = \"pf\",\n-\t\t.help = \"match traffic from/to the physical function\",\n-\t\t.priv = PRIV_ITEM(PF, 0),\n-\t\t.next = NEXT(NEXT_ENTRY(ITEM_NEXT)),\n-\t\t.call = parse_vc,\n-\t},\n \t[ITEM_VF] = {\n \t\t.name = \"vf\",\n \t\t.help = \"match traffic from/to a virtual function ID\",\ndiff --git a/doc/guides/nics/features/bnxt.ini b/doc/guides/nics/features/bnxt.ini\nindex afb5414b49..259480d1df 100644\n--- a/doc/guides/nics/features/bnxt.ini\n+++ b/doc/guides/nics/features/bnxt.ini\n@@ -63,7 +63,6 @@ ipv6                 = Y\n gre                  = Y\n icmp                 = Y\n icmp6                = Y\n-pf                   = Y\n phy_port             = Y\n port_id              = Y\n port_representor     = Y\ndiff --git a/doc/guides/nics/features/cxgbe.ini b/doc/guides/nics/features/cxgbe.ini\nindex f674803ec4..d869f2100f 100644\n--- a/doc/guides/nics/features/cxgbe.ini\n+++ b/doc/guides/nics/features/cxgbe.ini\n@@ -39,7 +39,6 @@ Usage doc            = Y\n eth                  = Y\n ipv4                 = Y\n ipv6                 = Y\n-pf                   = Y\n phy_port             = Y\n tcp                  = Y\n udp                  = Y\ndiff --git a/doc/guides/nics/features/default.ini b/doc/guides/nics/features/default.ini\nindex d1db0c256a..aff236134e 100644\n--- a/doc/guides/nics/features/default.ini\n+++ b/doc/guides/nics/features/default.ini\n@@ -121,7 +121,6 @@ meta                 =\n mpls                 =\n nsh                  =\n nvgre                =\n-pf                   =\n pfcp                 =\n phy_port             =\n port_id              =\ndiff --git a/doc/guides/nics/features/sfc.ini b/doc/guides/nics/features/sfc.ini\nindex 2e798b5ef5..355174d5c2 100644\n--- a/doc/guides/nics/features/sfc.ini\n+++ b/doc/guides/nics/features/sfc.ini\n@@ -47,7 +47,6 @@ ipv4                 = Y\n ipv6                 = Y\n mark                 = P\n nvgre                = Y\n-pf                   = Y\n phy_port             = Y\n port_id              = Y\n port_representor     = Y\ndiff --git a/doc/guides/nics/sfc_efx.rst b/doc/guides/nics/sfc_efx.rst\nindex 39c6e23d5b..2dbc59e8f7 100644\n--- a/doc/guides/nics/sfc_efx.rst\n+++ b/doc/guides/nics/sfc_efx.rst\n@@ -200,8 +200,6 @@ Supported pattern items (***transfer*** rules):\n \n - PHY_PORT (cannot repeat; conflicts with other traffic source items)\n \n-- PF (cannot repeat; conflicts with other traffic source items)\n-\n - VF (cannot repeat; conflicts with other traffic source items)\n \n - ETH\ndiff --git a/doc/guides/prog_guide/rte_flow.rst b/doc/guides/prog_guide/rte_flow.rst\nindex 588914b231..72f0c3d346 100644\n--- a/doc/guides/prog_guide/rte_flow.rst\n+++ b/doc/guides/prog_guide/rte_flow.rst\n@@ -535,37 +535,6 @@ Usage example, matching non-TCPv4 packets only:\n    | 4     | END      |\n    +-------+----------+\n \n-Item: ``PF``\n-^^^^^^^^^^^^\n-\n-This item is deprecated. Consider:\n- - `Item: PORT_REPRESENTOR`_\n- - `Item: REPRESENTED_PORT`_\n-\n-Matches traffic originating from (ingress) or going to (egress) the physical\n-function of the current device.\n-\n-If supported, should work even if the physical function is not managed by\n-the application and thus not associated with a DPDK port ID.\n-\n-- Can be combined with any number of `Item: VF`_ to match both PF and VF\n-  traffic.\n-- ``spec``, ``last`` and ``mask`` must not be set.\n-\n-.. _table_rte_flow_item_pf:\n-\n-.. table:: PF\n-\n-   +----------+-------+\n-   | Field    | Value |\n-   +==========+=======+\n-   | ``spec`` | unset |\n-   +----------+-------+\n-   | ``last`` | unset |\n-   +----------+-------+\n-   | ``mask`` | unset |\n-   +----------+-------+\n-\n Item: ``VF``\n ^^^^^^^^^^^^\n \n@@ -584,7 +553,6 @@ separate entities, should be addressed through their own DPDK port IDs.\n \n - Can be specified multiple times to match traffic addressed to several VF\n   IDs.\n-- Can be combined with a PF item to match both PF and VF traffic.\n - Default ``mask`` matches any VF ID.\n \n .. _table_rte_flow_item_vf:\n@@ -2074,8 +2042,6 @@ This action is deprecated. Consider:\n Directs matching traffic to the physical function (PF) of the current\n device.\n \n-See `Item: PF`_.\n-\n - No configurable properties.\n \n .. _table_rte_flow_action_pf:\ndiff --git a/doc/guides/prog_guide/switch_representation.rst b/doc/guides/prog_guide/switch_representation.rst\nindex 3da30fc779..6fd7b98bdc 100644\n--- a/doc/guides/prog_guide/switch_representation.rst\n+++ b/doc/guides/prog_guide/switch_representation.rst\n@@ -624,25 +624,11 @@ Same restrictions as `PORT_ID pattern item`_.\n \n - Targets **A**, **B** or **C** in `traffic steering`_.\n \n-PF Pattern Item\n-^^^^^^^^^^^^^^^\n-\n-Matches traffic originating from (ingress) or going to (egress) the physical\n-function of the current device.\n-\n-If supported, should work even if the physical function is not managed by\n-the application and thus not associated with a DPDK port ID. Its behavior is\n-otherwise similar to `PORT_ID pattern item`_ using PF port ID.\n-\n-- Matches **A** in `traffic steering`_.\n-\n PF Action\n ^^^^^^^^^\n \n Directs matching traffic to the physical function of the current device.\n \n-Same restrictions as `PF pattern item`_.\n-\n - Targets **A** in `traffic steering`_.\n \n VF Pattern Item\ndiff --git a/doc/guides/rel_notes/release_22_11.rst b/doc/guides/rel_notes/release_22_11.rst\nindex c4ce32daed..b7469708af 100644\n--- a/doc/guides/rel_notes/release_22_11.rst\n+++ b/doc/guides/rel_notes/release_22_11.rst\n@@ -76,6 +76,9 @@ Removed Items\n    Also, make sure to start the actual text at the margin.\n    =======================================================\n \n+* ethdev: removed ``RTE_FLOW_ITEM_TYPE_PF``;\n+  use ``RTE_FLOW_ITEM_TYPE_REPRESENTED_PORT``.\n+\n \n API Changes\n -----------\n@@ -122,6 +125,8 @@ ABI Changes\n    Also, make sure to start the actual text at the margin.\n    =======================================================\n \n+* ethdev: enum ``RTE_FLOW_ITEM`` was affected by deprecation procedure.\n+\n \n Known Issues\n ------------\ndiff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/doc/guides/testpmd_app_ug/testpmd_funcs.rst\nindex c105200fe7..4446560369 100644\n--- a/doc/guides/testpmd_app_ug/testpmd_funcs.rst\n+++ b/doc/guides/testpmd_app_ug/testpmd_funcs.rst\n@@ -3665,8 +3665,6 @@ This section lists supported pattern items and their attributes, if any.\n \n   - ``num {unsigned}``: number of layers covered.\n \n-- ``pf``: match traffic from/to the physical function.\n-\n - ``vf``: match traffic from/to a virtual function ID.\n \n   - ``id {unsigned}``: VF ID.\ndiff --git a/drivers/net/bnxt/tf_ulp/ulp_rte_handler_tbl.c b/drivers/net/bnxt/tf_ulp/ulp_rte_handler_tbl.c\nindex e9337ecd2c..17216426d8 100644\n--- a/drivers/net/bnxt/tf_ulp/ulp_rte_handler_tbl.c\n+++ b/drivers/net/bnxt/tf_ulp/ulp_rte_handler_tbl.c\n@@ -260,10 +260,6 @@ struct bnxt_ulp_rte_hdr_info ulp_hdr_info[] = {\n \t.hdr_type                = BNXT_ULP_HDR_TYPE_SUPPORTED,\n \t.proto_hdr_func          = ulp_rte_item_any_handler\n \t},\n-\t[RTE_FLOW_ITEM_TYPE_PF] = {\n-\t.hdr_type                = BNXT_ULP_HDR_TYPE_SUPPORTED,\n-\t.proto_hdr_func          = ulp_rte_pf_hdr_handler\n-\t},\n \t[RTE_FLOW_ITEM_TYPE_VF] = {\n \t.hdr_type                = BNXT_ULP_HDR_TYPE_SUPPORTED,\n \t.proto_hdr_func          = ulp_rte_vf_hdr_handler\ndiff --git a/drivers/net/bnxt/tf_ulp/ulp_rte_parser.c b/drivers/net/bnxt/tf_ulp/ulp_rte_parser.c\nindex 9edf3e8799..6a1d235f77 100644\n--- a/drivers/net/bnxt/tf_ulp/ulp_rte_parser.c\n+++ b/drivers/net/bnxt/tf_ulp/ulp_rte_parser.c\n@@ -507,31 +507,6 @@ ulp_rte_parser_implicit_act_port_process(struct ulp_rte_parser_params *params)\n \treturn BNXT_TF_RC_SUCCESS;\n }\n \n-/* Function to handle the parsing of RTE Flow item PF Header. */\n-int32_t\n-ulp_rte_pf_hdr_handler(const struct rte_flow_item *item __rte_unused,\n-\t\t       struct ulp_rte_parser_params *params)\n-{\n-\tuint16_t port_id = 0;\n-\tuint16_t svif_mask = 0xFFFF;\n-\tuint32_t ifindex;\n-\n-\t/* Get the implicit port id */\n-\tport_id = ULP_COMP_FLD_IDX_RD(params, BNXT_ULP_CF_IDX_INCOMING_IF);\n-\n-\t/* perform the conversion from dpdk port to bnxt ifindex */\n-\tif (ulp_port_db_dev_port_to_ulp_index(params->ulp_ctx,\n-\t\t\t\t\t      port_id,\n-\t\t\t\t\t      &ifindex)) {\n-\t\tBNXT_TF_DBG(ERR, \"ParseErr:Portid is not valid\\n\");\n-\t\treturn BNXT_TF_RC_ERROR;\n-\t}\n-\n-\t/* Update the SVIF details */\n-\treturn ulp_rte_parser_svif_set(params, ifindex, svif_mask,\n-\t\t\t\t       BNXT_ULP_DIR_INVALID);\n-}\n-\n /* Function to handle the parsing of RTE Flow item VF Header. */\n int32_t\n ulp_rte_vf_hdr_handler(const struct rte_flow_item *item,\ndiff --git a/drivers/net/bnxt/tf_ulp/ulp_rte_parser.h b/drivers/net/bnxt/tf_ulp/ulp_rte_parser.h\nindex e4225d00f8..94918f6b4a 100644\n--- a/drivers/net/bnxt/tf_ulp/ulp_rte_parser.h\n+++ b/drivers/net/bnxt/tf_ulp/ulp_rte_parser.h\n@@ -80,11 +80,6 @@ bnxt_ulp_rte_parser_act_parse(const struct rte_flow_action actions[],\n void\n bnxt_ulp_rte_parser_post_process(struct ulp_rte_parser_params *params);\n \n-/* Function to handle the parsing of RTE Flow item PF Header. */\n-int32_t\n-ulp_rte_pf_hdr_handler(const struct rte_flow_item *item,\n-\t\t       struct ulp_rte_parser_params *params);\n-\n /* Function to handle the parsing of RTE Flow item VF Header. */\n int32_t\n ulp_rte_vf_hdr_handler(const struct rte_flow_item *item,\ndiff --git a/drivers/net/cxgbe/cxgbe_flow.c b/drivers/net/cxgbe/cxgbe_flow.c\nindex 6e460dfe2e..e4f9c152b5 100644\n--- a/drivers/net/cxgbe/cxgbe_flow.c\n+++ b/drivers/net/cxgbe/cxgbe_flow.c\n@@ -288,22 +288,6 @@ ch_rte_parsetype_vlan(const void *dmask, const struct rte_flow_item *item,\n \treturn 0;\n }\n \n-static int\n-ch_rte_parsetype_pf(const void *dmask __rte_unused,\n-\t\t    const struct rte_flow_item *item __rte_unused,\n-\t\t    struct ch_filter_specification *fs,\n-\t\t    struct rte_flow_error *e __rte_unused)\n-{\n-\tstruct rte_flow *flow = (struct rte_flow *)fs->private;\n-\tstruct rte_eth_dev *dev = flow->dev;\n-\tstruct adapter *adap = ethdev2adap(dev);\n-\n-\tCXGBE_FILL_FS(1, 1, pfvf_vld);\n-\n-\tCXGBE_FILL_FS(adap->pf, 0x7, pf);\n-\treturn 0;\n-}\n-\n static int\n ch_rte_parsetype_vf(const void *dmask, const struct rte_flow_item *item,\n \t\t    struct ch_filter_specification *fs,\n@@ -1022,11 +1006,6 @@ static struct chrte_fparse parseitem[] = {\n \t\t.dmask = &rte_flow_item_tcp_mask,\n \t},\n \n-\t[RTE_FLOW_ITEM_TYPE_PF] = {\n-\t\t.fptr = ch_rte_parsetype_pf,\n-\t\t.dmask = NULL,\n-\t},\n-\n \t[RTE_FLOW_ITEM_TYPE_VF] = {\n \t\t.fptr = ch_rte_parsetype_vf,\n \t\t.dmask = &(const struct rte_flow_item_vf){\ndiff --git a/drivers/net/sfc/sfc_mae.c b/drivers/net/sfc/sfc_mae.c\nindex eb197fbdeb..e8da2d2a0d 100644\n--- a/drivers/net/sfc/sfc_mae.c\n+++ b/drivers/net/sfc/sfc_mae.c\n@@ -1685,42 +1685,6 @@ sfc_mae_rule_parse_item_phy_port(const struct rte_flow_item *item,\n \treturn 0;\n }\n \n-static int\n-sfc_mae_rule_parse_item_pf(const struct rte_flow_item *item,\n-\t\t\t   struct sfc_flow_parse_ctx *ctx,\n-\t\t\t   struct rte_flow_error *error)\n-{\n-\tstruct sfc_mae_parse_ctx *ctx_mae = ctx->mae;\n-\tconst efx_nic_cfg_t *encp = efx_nic_cfg_get(ctx_mae->sa->nic);\n-\tefx_mport_sel_t mport_v;\n-\tint rc;\n-\n-\tif (ctx_mae->match_mport_set) {\n-\t\treturn rte_flow_error_set(error, ENOTSUP,\n-\t\t\t\tRTE_FLOW_ERROR_TYPE_ITEM, item,\n-\t\t\t\t\"Can't handle multiple traffic source items\");\n-\t}\n-\n-\trc = efx_mae_mport_by_pcie_function(encp->enc_pf, EFX_PCI_VF_INVALID,\n-\t\t\t\t\t    &mport_v);\n-\tif (rc != 0) {\n-\t\treturn rte_flow_error_set(error, rc,\n-\t\t\t\tRTE_FLOW_ERROR_TYPE_ITEM, item,\n-\t\t\t\t\"Failed to convert the PF ID\");\n-\t}\n-\n-\trc = efx_mae_match_spec_mport_set(ctx_mae->match_spec, &mport_v, NULL);\n-\tif (rc != 0) {\n-\t\treturn rte_flow_error_set(error, rc,\n-\t\t\t\tRTE_FLOW_ERROR_TYPE_ITEM, item,\n-\t\t\t\t\"Failed to set MPORT for the PF\");\n-\t}\n-\n-\tctx_mae->match_mport_set = B_TRUE;\n-\n-\treturn 0;\n-}\n-\n static int\n sfc_mae_rule_parse_item_vf(const struct rte_flow_item *item,\n \t\t\t   struct sfc_flow_parse_ctx *ctx,\n@@ -2591,18 +2555,6 @@ static const struct sfc_flow_item sfc_flow_items[] = {\n \t\t.ctx_type = SFC_FLOW_PARSE_CTX_MAE,\n \t\t.parse = sfc_mae_rule_parse_item_phy_port,\n \t},\n-\t{\n-\t\t.type = RTE_FLOW_ITEM_TYPE_PF,\n-\t\t.name = \"PF\",\n-\t\t/*\n-\t\t * In terms of RTE flow, this item is a META one,\n-\t\t * and its position in the pattern is don't care.\n-\t\t */\n-\t\t.prev_layer = SFC_FLOW_ITEM_ANY_LAYER,\n-\t\t.layer = SFC_FLOW_ITEM_ANY_LAYER,\n-\t\t.ctx_type = SFC_FLOW_PARSE_CTX_MAE,\n-\t\t.parse = sfc_mae_rule_parse_item_pf,\n-\t},\n \t{\n \t\t.type = RTE_FLOW_ITEM_TYPE_VF,\n \t\t.name = \"VF\",\ndiff --git a/lib/ethdev/rte_flow.c b/lib/ethdev/rte_flow.c\nindex 501be9d602..6ece72bf36 100644\n--- a/lib/ethdev/rte_flow.c\n+++ b/lib/ethdev/rte_flow.c\n@@ -97,7 +97,6 @@ static const struct rte_flow_desc_data rte_flow_desc_item[] = {\n \tMK_FLOW_ITEM(VOID, 0),\n \tMK_FLOW_ITEM(INVERT, 0),\n \tMK_FLOW_ITEM(ANY, sizeof(struct rte_flow_item_any)),\n-\tMK_FLOW_ITEM(PF, 0),\n \tMK_FLOW_ITEM(VF, sizeof(struct rte_flow_item_vf)),\n \tMK_FLOW_ITEM(PHY_PORT, sizeof(struct rte_flow_item_phy_port)),\n \tMK_FLOW_ITEM(PORT_ID, sizeof(struct rte_flow_item_port_id)),\ndiff --git a/lib/ethdev/rte_flow.h b/lib/ethdev/rte_flow.h\nindex bc68fd5631..97de98e232 100644\n--- a/lib/ethdev/rte_flow.h\n+++ b/lib/ethdev/rte_flow.h\n@@ -188,20 +188,6 @@ enum rte_flow_item_type {\n \t */\n \tRTE_FLOW_ITEM_TYPE_ANY,\n \n-\t/**\n-\t * @deprecated\n-\t * @see RTE_FLOW_ITEM_TYPE_PORT_REPRESENTOR\n-\t * @see RTE_FLOW_ITEM_TYPE_REPRESENTED_PORT\n-\t *\n-\t * [META]\n-\t *\n-\t * Matches traffic originating from (ingress) or going to (egress)\n-\t * the physical function of the current device.\n-\t *\n-\t * No associated specification structure.\n-\t */\n-\tRTE_FLOW_ITEM_TYPE_PF,\n-\n \t/**\n \t * @deprecated\n \t * @see RTE_FLOW_ITEM_TYPE_PORT_REPRESENTOR\n@@ -732,7 +718,6 @@ static const struct rte_flow_item_any rte_flow_item_any_mask = {\n  *\n  * - Can be specified multiple times to match traffic addressed to several\n  *   VF IDs.\n- * - Can be combined with a PF item to match both PF and VF traffic.\n  *\n  * A zeroed mask can be used to match any VF ID.\n  */\n",
    "prefixes": [
        "10/13"
    ]
}