From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B713845906; Wed, 4 Sep 2024 23:05:10 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 80F814025C; Wed, 4 Sep 2024 23:05:10 +0200 (CEST) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2058.outbound.protection.outlook.com [40.107.92.58]) by mails.dpdk.org (Postfix) with ESMTP id E845740151 for ; Wed, 4 Sep 2024 23:05:08 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=yHHH5ZBGbVxWg8OY1WtCsHfnRrAotUHhdxYzXe8wnnTXh2njPgBB8c/uX7AXf3n3DlwFgS6ZzdfbaMu4bhytRorw1OZvSF/Z0fDwHncQ3uqXnZXVaprkkWgFBCh9TDECgjBWIf1uYJBDI1wheLnMEQ82e0QfolBfAL/4ohZ+VK1yon+ULysYQkDAQPbvI+nytRg1VeMBPiiLcBm2lZYaXUmjg0B0O5dGbpUaJE1SDsS3EFHZDFjo+rrP7YaWCfA+TLBhkG4yMKP6Vmb8cYi1DrN9jGCWrUhvYBbo+jkmQUPXYHmafcBYuwv/M2zwo0jvFAjZya/FCC0miWA6LdBXuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=0aPRwfI2uWBu+o8Wz1lINdFALSIvaqxBjZcdCBRJ7A8=; b=Q2tyV9DNUKDLXRc8xXw3gEwyd6ODB2szF1p9T8g+zVlYcRdSVxS8HRB4NzAKOqKdO9Tt3lQ2aE/ALvNKaN5RTqYyerTVW54PT8+xRxEcil2KvRB7DwwonhpUYh0AIjHEgD6KD4rv3isPZHQNvXixhG3nzj6kW9PbExvYDsT459IibY3ryyfA9fNEI4pPmScZl0Pdl5LCyVaMF/8wrWCX3GZZLy4Czf7j/yvdpHYK3mGjrR4qDgMfkuRJiWMUJnX9ce/TCbt9ZauMpKOvt3YvZEHPeHq6dM5PdFmroObhY6gGD1Xsy7pgUAZ+RLijGcjrr+3EIkJ2RWe5nIcpRc4xcg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0aPRwfI2uWBu+o8Wz1lINdFALSIvaqxBjZcdCBRJ7A8=; b=CaMEAjRfZponXvoSsZtAj6RqeRfBe0W4KG57WSzoI26pmd12WA4sNuZnTT07j7tbtvSQa24M3QxDlcYLGuWVJntICAzXIJ0QvJY6RR5YjchiXwPI6ghzTArhh1hgjSzp2OomTsh9n/ArWAG8KXmnVocIZkcfrFxqFpUJyvo+ixcR9jUl9vf1I+0oCAhXTSEyLqZE1MAwozf6G307FJ46Pb5hFw0H64JFLqAAwlyq3Bu5XjCtXBChJfVOcn9lNWlEh/OytHBjYz9ATpwt3RttzdcVDZPqGd8Sr2u52NmEDxXTuyA6GiZaTwvPK7Bt+hfhARNBNUrYuNLpLKPQTaVefw== Received: from SA1PR12MB8641.namprd12.prod.outlook.com (2603:10b6:806:388::18) by CH3PR12MB8482.namprd12.prod.outlook.com (2603:10b6:610:15b::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.25; Wed, 4 Sep 2024 21:05:06 +0000 Received: from SA1PR12MB8641.namprd12.prod.outlook.com ([fe80::9a57:92fa:9455:5bc0]) by SA1PR12MB8641.namprd12.prod.outlook.com ([fe80::9a57:92fa:9455:5bc0%3]) with mapi id 15.20.7918.020; Wed, 4 Sep 2024 21:05:06 +0000 From: Alexander Kozyrev To: Stephen Hemminger CC: "dev@dpdk.org" , Dariusz Sosnowski , Ori Kam , "NBU-Contact-Thomas Monjalon (EXTERNAL)" , Matan Azrad , "ferruh.yigit@amd.com" Subject: Re: [RFC] ethdev: jump to table support Thread-Topic: [RFC] ethdev: jump to table support Thread-Index: AQHa9NHhm1yBJmeGQ0uVd+wYO1rF4LIz5yaAgBRKgQo= Date: Wed, 4 Sep 2024 21:05:05 +0000 Message-ID: References: <20240822202753.3856703-1-akozyrev@nvidia.com> <20240822160953.3c7d3d52@hermes.local> In-Reply-To: <20240822160953.3c7d3d52@hermes.local> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SA1PR12MB8641:EE_|CH3PR12MB8482:EE_ x-ms-office365-filtering-correlation-id: b7651c10-2a8e-4776-4b8e-08dccd254087 x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|1800799024|376014|366016|38070700018; x-microsoft-antispam-message-info: =?Windows-1252?Q?wQxzU16YgI1zvee01yZmRPZcqg+RLujEhvbl+Mug/+CYSL3l7/DtNw0e?= =?Windows-1252?Q?QDju5XLDaQS4IJY07MR/eC+ELfonJnHvptTqBz0Qkl0HuFnN2Ds6B2qD?= =?Windows-1252?Q?ra6KlkLhVSoPuERbmGmp8kJxiwyxAWBwGSMbEnLZctzlESGngsdN90nV?= =?Windows-1252?Q?wau5oQishStQjh3h6KkVzmt7hzDUZfUO0EstCxqQdmyeL7zkACptLhxH?= =?Windows-1252?Q?stFNClMpI8sf7HA6HipvUt1vpasY83nqbM4lTSq9AYe/k0sgMjOlFHuf?= =?Windows-1252?Q?5YkkFPpy7uYaBTxn/NlQRSdJUMryv/RkVSF2p/uhXiui/KLlI2nS0ISh?= =?Windows-1252?Q?jzBijDOPj3sg1N4Homq45Gez4UZwuAj4DxPlJ4tVRci/+Fm+CIfOz7qu?= =?Windows-1252?Q?qv9Wv5P9LuN0vQLFubS8V0Mech3napSApqCf5r0WzmoYtWKITHFutZHl?= =?Windows-1252?Q?PD6tA9rbcO2kBGg7BzoRrXlXEbDXs6hw3gA8RDYkRpYX99zZk8lPNFOR?= =?Windows-1252?Q?kKl664z8i/Z8Nh0GPP9ytGgyhDrqS/T3s1ocP6G0eX5AIxSzHb5qn07l?= =?Windows-1252?Q?Ki7twXBRuCw8nwmNdGp/KVO+is3/rvpLR8i4GqwR9L1r2t7XpcKZTND+?= =?Windows-1252?Q?3frhbbnz1BsCLCHfEJM7fUIg8Ii9uyA+c7gruvt31mS6Pa3gSco5bAAA?= =?Windows-1252?Q?vDKSuQyYucH3fsvzde7ynSpe9U/2VXotHWvvgvbX/vCjwDCNuOt8hRYq?= =?Windows-1252?Q?LsgvcuOLtrLo5ZFnWThCGgRcUqT2lvv3JO5LOCiX7qcErB06c5Echljt?= =?Windows-1252?Q?dmaekujmG44p24ifSKVjA7H2esAE/cmTp0vPcM//D/MZN4kkNTJjFHD2?= =?Windows-1252?Q?I8Otib0EXHclXum2WH5u78ZpPSShT8Blsp5cCQ4/2kODZBJTCQirvkHM?= =?Windows-1252?Q?iwhLJEtkSCM2Mdj9pVOldDbGb/laqj0Y6oxKScVxjlQ+cvsmirgvTCvp?= =?Windows-1252?Q?dEq0XFgVu3oTIuqPWJCVzhrUq4nSk53MwFzD05HnEkqX+5VStY+ZCD3J?= =?Windows-1252?Q?r5M6F1hpvwIhfOLgh4ije2ApDOJMLQ7nX/krtYyJrdJTH9sUU3ilMw/r?= =?Windows-1252?Q?zZ72zVx4s/nTtSGMzm54yZAyA0HU03SFrkEiYQUp5UWjRFH5qd++z4mB?= =?Windows-1252?Q?lLzkKHqvx3oL0MQeaHuc1O5U4WbudYw1TMp2vkVw2mrvVDmXXsS035nx?= =?Windows-1252?Q?1s39OhOH7OENtBt0P/IWnCZG9k0bD+gGDJB3AGW1FFsnxgTn2kcTSMjs?= =?Windows-1252?Q?vL9YTJ9PF1ZiaTIwHXqoxMFHKq1xpMvgHr4CuwNeOt0KNJIC99mfXVFc?= =?Windows-1252?Q?BsTx2+7lWLEd9ie0tX/hQOJ5WC/k4HjVC+HejwzHWFCaaJOQn8oWsPxe?= =?Windows-1252?Q?/biOMy/pqwUPlXqQ7nauUR4b2Pu29htImyr7WW9CHgD/NNSXHzyzlPkF?= =?Windows-1252?Q?fJxqGoFWu1kSHRSjW/hTiuIzLAwGAQ=3D=3D?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SA1PR12MB8641.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(376014)(366016)(38070700018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?Windows-1252?Q?XvZKdA8JbmKd2qL1zBqGVwb6+nyVETG3hxMeSYaosxDzgum3Rpb4N1bF?= =?Windows-1252?Q?WywQEFODjt2Pm8j+zKy+8DDoMzMPrwpWkFMuyg9Mi0slOErRZB4kQKdZ?= =?Windows-1252?Q?yY9Dfzoc33x7fTp7U2watqc0A1UABWYXZwjww6pvDXIxfpzrNGh7nXcU?= =?Windows-1252?Q?x/8icMwNbCPM6lbYJctE2Usj/PsOU3BmepwuYuAj8NME7yDP8mkCQwS5?= =?Windows-1252?Q?r9x9OA/6oIXYwiMac60vobE391AdMNnjltwPYlpFzkvPMCnXhTUYhjj6?= =?Windows-1252?Q?i/PQpgLDGzLsJMlpPI2wiwJhQjZ5V1TtGBIXmZ8+aXNr/Rd1v1qcUthT?= =?Windows-1252?Q?KHbJ/yuvLtMURKnEpuea/MlmBY0zgXUSH0CiR4H3FaYPl59rG9AbY144?= =?Windows-1252?Q?4u7hbSAQtetTVssBtWCBEuFTcwmCghk1HbJlIVpQQPWkCQgnQIj9DJyc?= =?Windows-1252?Q?xilZRuq1s4qMG0ic+Z6G/s0nYZkgJBAf7xKjv+auvmZxqz8zAU+99df2?= =?Windows-1252?Q?QSMYZPTD6jn6ZupwS5Ir+8z4acO4VEO//JKSqmv/hmvhSTFUFX2dKn68?= =?Windows-1252?Q?J7x4KiAaGjfRbLlIXsTj4KDAQcGXgFIQ6bQduoJ9Dd8bHltd8ntF3XdT?= =?Windows-1252?Q?8s3GI8lhTp7ZHZnFDM78DEb14PylVx3/kJeq18BBuWaZVvfoDP4Gsg+s?= =?Windows-1252?Q?+kM5BHb4O3YRAh4kv6Y8uodAv7NzhM3Qiaq9j+rlMHoJ53F0SJfSq7xu?= =?Windows-1252?Q?PmBzsRMGXnh8KF6q1tz3Gk6VawYZE5tvLsb2xd+aVzwi3kkNy/dzKwJU?= =?Windows-1252?Q?Fa0o5VvuLQ/mc/M+DTlaaHyh1n3X2nkR/bT4kd+bfwkA7G/PhaaBENw3?= =?Windows-1252?Q?9gfe+71CGavtLG5/RcX2eWtFviPH7KDvU9zTgswkPDFdZiox8IUdM/as?= =?Windows-1252?Q?8ox7BThgtZu7a8KT9m3FkREhgxYvZDB/yeDEI8BKcF0Rgy2gchllQaJ9?= =?Windows-1252?Q?5T+9JF276edHAeUBN2rdGZXtTysAxi/0ZUzPM4l+/Bawu2hOlzfj/Vx5?= =?Windows-1252?Q?hWtmWi2tLKTDPGq2+uQcAC136V9gqRyAjV0z0nPBymIcYEBitHaCVnDw?= =?Windows-1252?Q?wNPC3OuXs9TSHg1kUOcPhwPiEFBNOwZdfpFpsHzscGaJMS5MNmEJz7qc?= =?Windows-1252?Q?SGm141Q3BCxuuwuWxLf5Wmt0YnWlmNsWxMFZCUgAWFn7bFv/aRpPAYtm?= =?Windows-1252?Q?8yRSb4NDhVB57NcpXR4mIpjaoArR3usX5NvYIsMHsCXOKXG7sUdZKr1x?= =?Windows-1252?Q?gpXstAuZoEBZf9RY708T5UZa0B8JWeGnwbhMlLgcN6FTtIyB8WKvrGMc?= =?Windows-1252?Q?UTmSjZIsi2EPoEUeEO5oV9EEWP6ci+xhOuCCjXZPq9x3buGSFL3EFSLc?= =?Windows-1252?Q?C+nSf+AArI3gtWvSvBsLxK8J3eZWR+0ZfowbBLlonfot3rl4TfrzB1PA?= =?Windows-1252?Q?HPv3s86kAcCJv4AN4RxKACbrPqC0gCqCEDTanw9Ir5rnb+biCplGFAwF?= =?Windows-1252?Q?N5Ysw9SsNn3e7HKKnu0J5G/rIwbjayd1eotNmWnEc6FxoQzVWa1x8L5K?= =?Windows-1252?Q?LbHnHEQRJgm2m8ZElIVzYayb81ovz0YsVgpUQEpxKcFlhLQRBoFhB2+Q?= =?Windows-1252?Q?QOpsAeQ/LDs=3D?= Content-Type: multipart/alternative; boundary="_000_SA1PR12MB8641EB1FF055750BB063C3B4AF9C2SA1PR12MB8641namp_" MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA1PR12MB8641.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b7651c10-2a8e-4776-4b8e-08dccd254087 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Sep 2024 21:05:05.9337 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: njsuceB/8Y1TMEa6oHIdflcqx5HsuU/LmFGvd5NXtSUuucl1NAlvvsJIBgQdxJXLVmidB27r9uoVYSmW/GzwTQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR12MB8482 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org --_000_SA1PR12MB8641EB1FF055750BB063C3B4AF9C2SA1PR12MB8641namp_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable >> +__rte_experimental >> +struct rte_flow * >> +rte_flow_async_create_by_index_with_pattern(uint16_t port_id, >> + uint32_t queue_id, >> + const struct rte_flow_op_attr = *op_attr, >> + struct rte_flow_template_table= *template_table, >> + uint32_t rule_index, >> + const struct rte_flow_item pat= tern[], >> + uint8_t pattern_template_index= , >> + const struct rte_flow_action a= ctions[], >> + uint8_t actions_template_index= , >> + void *user_data, >> + struct rte_flow_error *error); >Choosing names is hard, long names are not always better. Can you think >of a more concise name? >Je n=92ai fait celle-ci plus longue que parce que je n=92ai pas eu le lois= ir de la faire plus courte. -- Blaise Pascal I would love to get a shorter name, but that's the best one I came up with. Do you have any alternative suggestions? I'm open to any ideas here. --_000_SA1PR12MB8641EB1FF055750BB063C3B4AF9C2SA1PR12MB8641namp_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable
>> +__rte_experimental
>> +struct rte_flow *
>> +rte_flow_async_create_by_index_with_pattern(uint16_t port_id,
>> +           = ;            &n= bsp;            = ;     uint32_t queue_id,
>> +           = ;            &n= bsp;            = ;     const struct rte_flow_op_attr *op_attr,
>> +           = ;            &n= bsp;            = ;     struct rte_flow_template_table *template_table, >> +           = ;            &n= bsp;            = ;     uint32_t rule_index,
>> +           = ;            &n= bsp;            = ;     const struct rte_flow_item pattern[],
>> +           = ;            &n= bsp;            = ;     uint8_t pattern_template_index,
>> +           = ;            &n= bsp;            = ;     const struct rte_flow_action actions[],
>> +           = ;            &n= bsp;            = ;     uint8_t actions_template_index,
>> +           = ;            &n= bsp;            = ;     void *user_data,
>> +           = ;            &n= bsp;            = ;     struct rte_flow_error *error);

>Choosing names is hard, long names are not always better. Can you think=
>of a more concise name?

>Je n=92ai fait celle-ci plus longue que parce que je n=92ai pas eu le l= oisir de la faire plus courte. -- Blaise Pascal

I would love to get a shorter name, but that's the best one I came up = with.
Do you have any alternative suggestions? I'm open to any ideas here.
--_000_SA1PR12MB8641EB1FF055750BB063C3B4AF9C2SA1PR12MB8641namp_--