get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 90089,
    "url": "http://patchwork.dpdk.org/api/patches/90089/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20210330082212.707-9-pbhagavatula@marvell.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<20210330082212.707-9-pbhagavatula@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210330082212.707-9-pbhagavatula@marvell.com",
    "date": "2021-03-30T08:22:11",
    "name": "[v21.11,v9,8/8] eventdev: simplify Rx adapter event vector config",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "fb18973edef05cc0e827421115fbc2c6810185d9",
    "submitter": {
        "id": 1183,
        "url": "http://patchwork.dpdk.org/api/people/1183/?format=api",
        "name": "Pavan Nikhilesh Bhagavatula",
        "email": "pbhagavatula@marvell.com"
    },
    "delegate": {
        "id": 310,
        "url": "http://patchwork.dpdk.org/api/users/310/?format=api",
        "username": "jerin",
        "first_name": "Jerin",
        "last_name": "Jacob",
        "email": "jerinj@marvell.com"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20210330082212.707-9-pbhagavatula@marvell.com/mbox/",
    "series": [
        {
            "id": 15971,
            "url": "http://patchwork.dpdk.org/api/series/15971/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=15971",
            "date": "2021-03-30T08:22:03",
            "name": "Introduce event vectorization",
            "version": 9,
            "mbox": "http://patchwork.dpdk.org/series/15971/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/90089/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/90089/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 244BFA034F;\n\tTue, 30 Mar 2021 10:23:26 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 624E7140DA1;\n\tTue, 30 Mar 2021 10:23:13 +0200 (CEST)",
            "from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com\n [67.231.148.174])\n by mails.dpdk.org (Postfix) with ESMTP id A3FED140DA1\n for <dev@dpdk.org>; Tue, 30 Mar 2021 10:23:11 +0200 (CEST)",
            "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n by mx0a-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id\n 12U8KglF025696; Tue, 30 Mar 2021 01:23:08 -0700",
            "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0a-0016f401.pphosted.com with ESMTP id 37k63bcnp2-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Tue, 30 Mar 2021 01:23:08 -0700",
            "from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.2;\n Tue, 30 Mar 2021 01:23:07 -0700",
            "from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.2 via Frontend\n Transport; Tue, 30 Mar 2021 01:23:07 -0700",
            "from BG-LT7430.marvell.com (BG-LT7430.marvell.com [10.28.177.176])\n by maili.marvell.com (Postfix) with ESMTP id EA3B63F7088;\n Tue, 30 Mar 2021 01:23:02 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : in-reply-to : references : mime-version :\n content-transfer-encoding : content-type; s=pfpt0220;\n bh=QHZZIyLy1lMApKCvlnynv2sqnQ1sIJzok7i66bjZUNM=;\n b=YJsO1ro+gI0RRxs+Qtwb5ZjBoIrVm5McvoDoMlbAWUS2Hh0ExXDDSEJA0LeBbrygFYub\n UxxfOra4wHnyOwSCvlTRm3fw3l9XIVW7O1QURN16quYjhyDnOf858Wk3JQm671646sil\n 6FOT/xNGpXVDG22vymF0yzd365xmycDPDnYE1qYI2htJbGjvvRH5HFXUQZSQm3DdKYjk\n XmsG0b2wD+OBfkxLnIOcxvT+17HG03kn7y3dxDsD+GKj6ntv5Bw+Dg46D8FRGGv8WsW7\n TS+lVxx4jW15Xkyq1N3W0exCPdduoO9Ngg51ZM020ZkpfscYOPF+L2G0K1/emGpT10dc sQ==",
        "From": "<pbhagavatula@marvell.com>",
        "To": "<jerinj@marvell.com>, <jay.jayatheerthan@intel.com>,\n <erik.g.carrillo@intel.com>, <abhinandan.gujjar@intel.com>,\n <timothy.mcdaniel@intel.com>, <hemant.agrawal@nxp.com>,\n <harry.van.haaren@intel.com>, <mattias.ronnblom@ericsson.com>,\n <liang.j.ma@intel.com>, Ray Kinsella <mdr@ashroe.eu>, Neil Horman\n <nhorman@tuxdriver.com>",
        "CC": "<dev@dpdk.org>, Pavan Nikhilesh <pbhagavatula@marvell.com>",
        "Date": "Tue, 30 Mar 2021 13:52:11 +0530",
        "Message-ID": "<20210330082212.707-9-pbhagavatula@marvell.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20210330082212.707-1-pbhagavatula@marvell.com>",
        "References": "<20210326140850.7332-1-pbhagavatula@marvell.com>\n <20210330082212.707-1-pbhagavatula@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Proofpoint-ORIG-GUID": "I5vvCnAaWUTbvxHem6BxCF1Tn302OC8_",
        "X-Proofpoint-GUID": "I5vvCnAaWUTbvxHem6BxCF1Tn302OC8_",
        "X-Proofpoint-Virus-Version": "vendor=fsecure engine=2.50.10434:6.0.369, 18.0.761\n definitions=2021-03-30_02:2021-03-26,\n 2021-03-30 signatures=0",
        "Subject": "[dpdk-dev] [dpdk-dev v21.11] [PATCH v9 8/8] eventdev: simplify Rx\n adapter event vector config",
        "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",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "From: Pavan Nikhilesh <pbhagavatula@marvell.com>\n\nInclude vector configuration into the structure\n``rte_event_eth_rx_adapter_queue_conf`` used when configuring rest\nof the Rx adapter ethernet device Rx queue parameters.\nThis simplifies event vector configuration as it avoids splitting\nconfiguration per Rx queue.\n\nSigned-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>\n---\n app/test-eventdev/test_pipeline_common.c      |  16 +-\n lib/librte_eventdev/eventdev_pmd.h            |  29 ---\n .../rte_event_eth_rx_adapter.c                | 179 ++++++------------\n .../rte_event_eth_rx_adapter.h                |  27 ---\n lib/librte_eventdev/version.map               |   1 -\n 5 files changed, 63 insertions(+), 189 deletions(-)\n\n--\n2.17.1",
    "diff": "diff --git a/app/test-eventdev/test_pipeline_common.c b/app/test-eventdev/test_pipeline_common.c\nindex d5ef90500..76aee254b 100644\n--- a/app/test-eventdev/test_pipeline_common.c\n+++ b/app/test-eventdev/test_pipeline_common.c\n@@ -331,7 +331,6 @@ pipeline_event_rx_adapter_setup(struct evt_options *opt, uint8_t stride,\n \tuint16_t prod;\n \tstruct rte_mempool *vector_pool = NULL;\n \tstruct rte_event_eth_rx_adapter_queue_conf queue_conf;\n-\tstruct rte_event_eth_rx_adapter_event_vector_config vec_conf;\n\n \tmemset(&queue_conf, 0,\n \t\t\tsizeof(struct rte_event_eth_rx_adapter_queue_conf));\n@@ -397,8 +396,12 @@ pipeline_event_rx_adapter_setup(struct evt_options *opt, uint8_t stride,\n \t\t\t}\n\n \t\t\tif (cap & RTE_EVENT_ETH_RX_ADAPTER_CAP_EVENT_VECTOR) {\n+\t\t\t\tqueue_conf.vector_sz = opt->vector_size;\n+\t\t\t\tqueue_conf.vector_timeout_ns =\n+\t\t\t\t\topt->vector_tmo_nsec;\n \t\t\t\tqueue_conf.rx_queue_flags |=\n \t\t\t\tRTE_EVENT_ETH_RX_ADAPTER_QUEUE_EVENT_VECTOR;\n+\t\t\t\tqueue_conf.vector_mp = vector_pool;\n \t\t\t} else {\n \t\t\t\tevt_err(\"Rx adapter doesn't support event vector\");\n \t\t\t\treturn -EINVAL;\n@@ -418,17 +421,6 @@ pipeline_event_rx_adapter_setup(struct evt_options *opt, uint8_t stride,\n \t\t\treturn ret;\n \t\t}\n\n-\t\tif (opt->ena_vector) {\n-\t\t\tvec_conf.vector_sz = opt->vector_size;\n-\t\t\tvec_conf.vector_timeout_ns = opt->vector_tmo_nsec;\n-\t\t\tvec_conf.vector_mp = vector_pool;\n-\t\t\tif (rte_event_eth_rx_adapter_queue_event_vector_config(\n-\t\t\t\t    prod, prod, -1, &vec_conf) < 0) {\n-\t\t\t\tevt_err(\"Failed to configure event vectorization for Rx adapter\");\n-\t\t\t\treturn -EINVAL;\n-\t\t\t}\n-\t\t}\n-\n \t\tif (!(cap & RTE_EVENT_ETH_RX_ADAPTER_CAP_INTERNAL_PORT)) {\n \t\t\tuint32_t service_id = -1U;\n\ndiff --git a/lib/librte_eventdev/eventdev_pmd.h b/lib/librte_eventdev/eventdev_pmd.h\nindex 0f724ac85..63b3bc4b5 100644\n--- a/lib/librte_eventdev/eventdev_pmd.h\n+++ b/lib/librte_eventdev/eventdev_pmd.h\n@@ -667,32 +667,6 @@ typedef int (*eventdev_eth_rx_adapter_vector_limits_get_t)(\n \tconst struct rte_eventdev *dev, const struct rte_eth_dev *eth_dev,\n \tstruct rte_event_eth_rx_adapter_vector_limits *limits);\n\n-struct rte_event_eth_rx_adapter_event_vector_config;\n-/**\n- * Enable event vector on an given Rx queue of a ethernet devices belonging to\n- * the Rx adapter.\n- *\n- * @param dev\n- *   Event device pointer\n- *\n- * @param eth_dev\n- *   Ethernet device pointer\n- *\n- * @param rx_queue_id\n- *   The Rx queue identifier\n- *\n- * @param config\n- *   Pointer to the event vector configuration structure.\n- *\n- * @return\n- *   - 0: Success.\n- *   - <0: Error code returned by the driver function.\n- */\n-typedef int (*eventdev_eth_rx_adapter_event_vector_config_t)(\n-\tconst struct rte_eventdev *dev, const struct rte_eth_dev *eth_dev,\n-\tint32_t rx_queue_id,\n-\tconst struct rte_event_eth_rx_adapter_event_vector_config *config);\n-\n typedef uint32_t rte_event_pmd_selftest_seqn_t;\n extern int rte_event_pmd_selftest_seqn_dynfield_offset;\n\n@@ -1118,9 +1092,6 @@ struct rte_eventdev_ops {\n \teventdev_eth_rx_adapter_vector_limits_get_t\n \t\teth_rx_adapter_vector_limits_get;\n \t/**< Get event vector limits for the Rx adapter */\n-\teventdev_eth_rx_adapter_event_vector_config_t\n-\t\teth_rx_adapter_event_vector_config;\n-\t/**< Configure Rx adapter with event vector */\n\n \teventdev_timer_adapter_caps_get_t timer_adapter_caps_get;\n \t/**< Get timer adapter capabilities */\ndiff --git a/lib/librte_eventdev/rte_event_eth_rx_adapter.c b/lib/librte_eventdev/rte_event_eth_rx_adapter.c\nindex e273b3acf..5cdb3c3cb 100644\n--- a/lib/librte_eventdev/rte_event_eth_rx_adapter.c\n+++ b/lib/librte_eventdev/rte_event_eth_rx_adapter.c\n@@ -1896,6 +1896,24 @@ rxa_add_queue(struct rte_event_eth_rx_adapter *rx_adapter,\n \t} else\n \t\tqi_ev->flow_id = 0;\n\n+\tif (conf->rx_queue_flags &\n+\t    RTE_EVENT_ETH_RX_ADAPTER_QUEUE_EVENT_VECTOR) {\n+\t\tqueue_info->ena_vector = 1;\n+\t\tqi_ev->event_type = RTE_EVENT_TYPE_ETH_RX_ADAPTER_VECTOR;\n+\t\trxa_set_vector_data(queue_info, conf->vector_sz,\n+\t\t\t\t    conf->vector_timeout_ns, conf->vector_mp,\n+\t\t\t\t    rx_queue_id, dev_info->dev->data->port_id);\n+\t\trx_adapter->ena_vector = 1;\n+\t\trx_adapter->vector_tmo_ticks =\n+\t\t\trx_adapter->vector_tmo_ticks ?\n+\t\t\t\t      RTE_MIN(queue_info->vector_data\n+\t\t\t\t\t\t\t.vector_timeout_ticks >>\n+\t\t\t\t\t\t1,\n+\t\t\t\t\trx_adapter->vector_tmo_ticks) :\n+\t\t\t\tqueue_info->vector_data.vector_timeout_ticks >>\n+\t\t\t\t\t1;\n+\t}\n+\n \trxa_update_queue(rx_adapter, dev_info, rx_queue_id, 1);\n \tif (rxa_polled_queue(dev_info, rx_queue_id)) {\n \t\trx_adapter->num_rx_polled += !pollq;\n@@ -1921,42 +1939,6 @@ rxa_add_queue(struct rte_event_eth_rx_adapter *rx_adapter,\n \t}\n }\n\n-static void\n-rxa_sw_event_vector_configure(\n-\tstruct rte_event_eth_rx_adapter *rx_adapter, uint16_t eth_dev_id,\n-\tint rx_queue_id,\n-\tconst struct rte_event_eth_rx_adapter_event_vector_config *config)\n-{\n-\tstruct eth_device_info *dev_info = &rx_adapter->eth_devices[eth_dev_id];\n-\tstruct eth_rx_queue_info *queue_info;\n-\tstruct rte_event *qi_ev;\n-\n-\tif (rx_queue_id == -1) {\n-\t\tuint16_t nb_rx_queues;\n-\t\tuint16_t i;\n-\n-\t\tnb_rx_queues = dev_info->dev->data->nb_rx_queues;\n-\t\tfor (i = 0; i < nb_rx_queues; i++)\n-\t\t\trxa_sw_event_vector_configure(rx_adapter, eth_dev_id, i,\n-\t\t\t\t\t\t      config);\n-\t\treturn;\n-\t}\n-\n-\tqueue_info = &dev_info->rx_queue[rx_queue_id];\n-\tqi_ev = (struct rte_event *)&queue_info->event;\n-\tqueue_info->ena_vector = 1;\n-\tqi_ev->event_type = RTE_EVENT_TYPE_ETH_RX_ADAPTER_VECTOR;\n-\trxa_set_vector_data(queue_info, config->vector_sz,\n-\t\t\t    config->vector_timeout_ns, config->vector_mp,\n-\t\t\t    rx_queue_id, dev_info->dev->data->port_id);\n-\trx_adapter->ena_vector = 1;\n-\trx_adapter->vector_tmo_ticks =\n-\t\trx_adapter->vector_tmo_ticks ?\n-\t\t\t      RTE_MIN(config->vector_timeout_ns >> 1,\n-\t\t\t\trx_adapter->vector_tmo_ticks) :\n-\t\t\t      config->vector_timeout_ns >> 1;\n-}\n-\n static int rxa_sw_add(struct rte_event_eth_rx_adapter *rx_adapter,\n \t\tuint16_t eth_dev_id,\n \t\tint rx_queue_id,\n@@ -2271,6 +2253,7 @@ rte_event_eth_rx_adapter_queue_add(uint8_t id,\n \tstruct rte_event_eth_rx_adapter *rx_adapter;\n \tstruct rte_eventdev *dev;\n \tstruct eth_device_info *dev_info;\n+\tstruct rte_event_eth_rx_adapter_vector_limits limits;\n\n \tRTE_EVENT_ETH_RX_ADAPTER_ID_VALID_OR_ERR_RET(id, -EINVAL);\n \tRTE_ETH_VALID_PORTID_OR_ERR_RET(eth_dev_id, -EINVAL);\n@@ -2298,13 +2281,46 @@ rte_event_eth_rx_adapter_queue_add(uint8_t id,\n \t\treturn -EINVAL;\n \t}\n\n-\tif ((cap & RTE_EVENT_ETH_RX_ADAPTER_CAP_EVENT_VECTOR) == 0 &&\n-\t    (queue_conf->rx_queue_flags &\n-\t     RTE_EVENT_ETH_RX_ADAPTER_QUEUE_EVENT_VECTOR)) {\n-\t\tRTE_EDEV_LOG_ERR(\"Event vectorization is not supported,\"\n-\t\t\t\t \" eth port: %\" PRIu16 \" adapter id: %\" PRIu8,\n-\t\t\t\t eth_dev_id, id);\n-\t\treturn -EINVAL;\n+\tif (queue_conf->rx_queue_flags &\n+\t    RTE_EVENT_ETH_RX_ADAPTER_QUEUE_EVENT_VECTOR) {\n+\n+\t\tif ((cap & RTE_EVENT_ETH_RX_ADAPTER_CAP_EVENT_VECTOR) == 0) {\n+\t\t\tRTE_EDEV_LOG_ERR(\"Event vectorization is not supported,\"\n+\t\t\t\t\t \" eth port: %\" PRIu16\n+\t\t\t\t\t \" adapter id: %\" PRIu8,\n+\t\t\t\t\t eth_dev_id, id);\n+\t\t\treturn -EINVAL;\n+\t\t}\n+\n+\t\tret = rte_event_eth_rx_adapter_vector_limits_get(\n+\t\t\trx_adapter->eventdev_id, eth_dev_id, &limits);\n+\t\tif (ret < 0) {\n+\t\t\tRTE_EDEV_LOG_ERR(\"Failed to get event device vector limits,\"\n+\t\t\t\t\t \" eth port: %\" PRIu16\n+\t\t\t\t\t \" adapter id: %\" PRIu8,\n+\t\t\t\t\t eth_dev_id, id);\n+\t\t\treturn -EINVAL;\n+\t\t}\n+\t\tif (queue_conf->vector_sz < limits.min_sz ||\n+\t\t    queue_conf->vector_sz > limits.max_sz ||\n+\t\t    queue_conf->vector_timeout_ns < limits.min_timeout_ns ||\n+\t\t    queue_conf->vector_timeout_ns > limits.max_timeout_ns ||\n+\t\t    queue_conf->vector_mp == NULL) {\n+\t\t\tRTE_EDEV_LOG_ERR(\"Invalid event vector configuration,\"\n+\t\t\t\t\t \" eth port: %\" PRIu16\n+\t\t\t\t\t \" adapter id: %\" PRIu8,\n+\t\t\t\t\t eth_dev_id, id);\n+\t\t\treturn -EINVAL;\n+\t\t}\n+\t\tif (queue_conf->vector_mp->elt_size <\n+\t\t    (sizeof(struct rte_event_vector) +\n+\t\t     (sizeof(uintptr_t) * queue_conf->vector_sz))) {\n+\t\t\tRTE_EDEV_LOG_ERR(\"Invalid event vector configuration,\"\n+\t\t\t\t\t \" eth port: %\" PRIu16\n+\t\t\t\t\t \" adapter id: %\" PRIu8,\n+\t\t\t\t\t eth_dev_id, id);\n+\t\t\treturn -EINVAL;\n+\t\t}\n \t}\n\n \tif ((cap & RTE_EVENT_ETH_RX_ADAPTER_CAP_MULTI_EVENTQ) == 0 &&\n@@ -2500,83 +2516,6 @@ rte_event_eth_rx_adapter_queue_del(uint8_t id, uint16_t eth_dev_id,\n \treturn ret;\n }\n\n-int\n-rte_event_eth_rx_adapter_queue_event_vector_config(\n-\tuint8_t id, uint16_t eth_dev_id, int32_t rx_queue_id,\n-\tstruct rte_event_eth_rx_adapter_event_vector_config *config)\n-{\n-\tstruct rte_event_eth_rx_adapter_vector_limits limits;\n-\tstruct rte_event_eth_rx_adapter *rx_adapter;\n-\tstruct rte_eventdev *dev;\n-\tuint32_t cap;\n-\tint ret;\n-\n-\tRTE_EVENT_ETH_RX_ADAPTER_ID_VALID_OR_ERR_RET(id, -EINVAL);\n-\tRTE_ETH_VALID_PORTID_OR_ERR_RET(eth_dev_id, -EINVAL);\n-\n-\trx_adapter = rxa_id_to_adapter(id);\n-\tif ((rx_adapter == NULL) || (config == NULL))\n-\t\treturn -EINVAL;\n-\n-\tdev = &rte_eventdevs[rx_adapter->eventdev_id];\n-\tret = rte_event_eth_rx_adapter_caps_get(rx_adapter->eventdev_id,\n-\t\t\t\t\t\teth_dev_id, &cap);\n-\tif (ret) {\n-\t\tRTE_EDEV_LOG_ERR(\"Failed to get adapter caps edev %\" PRIu8\n-\t\t\t\t \"eth port %\" PRIu16,\n-\t\t\t\t id, eth_dev_id);\n-\t\treturn ret;\n-\t}\n-\n-\tif (!(cap & RTE_EVENT_ETH_RX_ADAPTER_CAP_EVENT_VECTOR)) {\n-\t\tRTE_EDEV_LOG_ERR(\"Event vectorization is not supported,\"\n-\t\t\t\t \" eth port: %\" PRIu16 \" adapter id: %\" PRIu8,\n-\t\t\t\t eth_dev_id, id);\n-\t\treturn -EINVAL;\n-\t}\n-\n-\tret = rte_event_eth_rx_adapter_vector_limits_get(\n-\t\trx_adapter->eventdev_id, eth_dev_id, &limits);\n-\tif (ret) {\n-\t\tRTE_EDEV_LOG_ERR(\"Failed to get vector limits edev %\" PRIu8\n-\t\t\t\t \"eth port %\" PRIu16,\n-\t\t\t\t rx_adapter->eventdev_id, eth_dev_id);\n-\t\treturn ret;\n-\t}\n-\n-\tif (config->vector_sz < limits.min_sz ||\n-\t    config->vector_sz > limits.max_sz ||\n-\t    config->vector_timeout_ns < limits.min_timeout_ns ||\n-\t    config->vector_timeout_ns > limits.max_timeout_ns ||\n-\t    config->vector_mp == NULL) {\n-\t\tRTE_EDEV_LOG_ERR(\"Invalid event vector configuration,\"\n-\t\t\t\t \" eth port: %\" PRIu16 \" adapter id: %\" PRIu8,\n-\t\t\t\t eth_dev_id, id);\n-\t\treturn -EINVAL;\n-\t}\n-\tif (config->vector_mp->elt_size <\n-\t    (sizeof(struct rte_event_vector) +\n-\t     (sizeof(uintptr_t) * config->vector_sz))) {\n-\t\tRTE_EDEV_LOG_ERR(\"Invalid event vector configuration,\"\n-\t\t\t\t \" eth port: %\" PRIu16 \" adapter id: %\" PRIu8,\n-\t\t\t\t eth_dev_id, id);\n-\t\treturn -EINVAL;\n-\t}\n-\n-\tif (cap & RTE_EVENT_ETH_RX_ADAPTER_CAP_INTERNAL_PORT) {\n-\t\tRTE_FUNC_PTR_OR_ERR_RET(\n-\t\t\t*dev->dev_ops->eth_rx_adapter_event_vector_config,\n-\t\t\t-ENOTSUP);\n-\t\tret = dev->dev_ops->eth_rx_adapter_event_vector_config(\n-\t\t\tdev, &rte_eth_devices[eth_dev_id], rx_queue_id, config);\n-\t} else {\n-\t\trxa_sw_event_vector_configure(rx_adapter, eth_dev_id,\n-\t\t\t\t\t      rx_queue_id, config);\n-\t}\n-\n-\treturn ret;\n-}\n-\n int\n rte_event_eth_rx_adapter_vector_limits_get(\n \tuint8_t dev_id, uint16_t eth_port_id,\ndiff --git a/lib/librte_eventdev/rte_event_eth_rx_adapter.h b/lib/librte_eventdev/rte_event_eth_rx_adapter.h\nindex 7407cde00..3f8b36229 100644\n--- a/lib/librte_eventdev/rte_event_eth_rx_adapter.h\n+++ b/lib/librte_eventdev/rte_event_eth_rx_adapter.h\n@@ -171,9 +171,6 @@ struct rte_event_eth_rx_adapter_queue_conf {\n \t * The event adapter sets ev.event_type to RTE_EVENT_TYPE_ETHDEV in the\n \t * enqueued event.\n \t */\n-};\n-\n-struct rte_event_eth_rx_adapter_event_vector_config {\n \tuint16_t vector_sz;\n \t/**<\n \t * Indicates the maximum number for mbufs to combine and form a vector.\n@@ -548,30 +545,6 @@ int rte_event_eth_rx_adapter_vector_limits_get(\n \tuint8_t dev_id, uint16_t eth_port_id,\n \tstruct rte_event_eth_rx_adapter_vector_limits *limits);\n\n-/**\n- * Configure event vectorization for a given ethernet device queue, that has\n- * been added to a event eth Rx adapter.\n- *\n- * @param id\n- *  The identifier of the ethernet Rx event adapter.\n- *\n- * @param eth_dev_id\n- *  The identifier of the ethernet device.\n- *\n- * @param rx_queue_id\n- *  Ethernet device receive queue index.\n- *  If rx_queue_id is -1, then all Rx queues configured for the ethernet device\n- *  are configured with event vectorization.\n- *\n- * @return\n- *  - 0: Success, Receive queue configured correctly.\n- *  - <0: Error code on failure.\n- */\n-__rte_experimental\n-int rte_event_eth_rx_adapter_queue_event_vector_config(\n-\tuint8_t id, uint16_t eth_dev_id, int32_t rx_queue_id,\n-\tstruct rte_event_eth_rx_adapter_event_vector_config *config);\n-\n #ifdef __cplusplus\n }\n #endif\ndiff --git a/lib/librte_eventdev/version.map b/lib/librte_eventdev/version.map\nindex 902df0ae3..34c1c830e 100644\n--- a/lib/librte_eventdev/version.map\n+++ b/lib/librte_eventdev/version.map\n@@ -142,7 +142,6 @@ EXPERIMENTAL {\n \t#added in 21.05\n \trte_event_vector_pool_create;\n \trte_event_eth_rx_adapter_vector_limits_get;\n-\trte_event_eth_rx_adapter_queue_event_vector_config;\n };\n\n INTERNAL {\n",
    "prefixes": [
        "v21.11",
        "v9",
        "8/8"
    ]
}