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 D78DD41D9E for ; Tue, 28 Feb 2023 16:12:48 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6F28140EE6; Tue, 28 Feb 2023 16:12:48 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 8755D4021F for ; Tue, 28 Feb 2023 16:12:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=corero.com; s=mimecast20180116; t=1677597165; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: references:references; bh=OuTBJkDYsQGAbnWRYAqR9rq1oHv5UpLeRaBFQV5tLPk=; b=cvDY08u81vWFtrUlI8GYJepu80t5fpsOS2SW/ffdLT2jL+iV5/V+dpQt5vE43S0WoIw+0s KZR7jrv1KdaLRAUkgFwI7tgnmM0Vn1oz81x/rhssJZPatkhqcmrJRzmOoE/uJmjS+sTvI7 6y0aUYEBonN8uAGarrIiApU0JTa65WM= Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam04lp2047.outbound.protection.outlook.com [104.47.73.47]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-474-atI9T0lgP2mg4FiFhnyUZg-1; Tue, 28 Feb 2023 10:12:42 -0500 X-MC-Unique: atI9T0lgP2mg4FiFhnyUZg-1 Received: from BN8PR07CA0004.namprd07.prod.outlook.com (2603:10b6:408:ac::17) by PH0PR10MB5706.namprd10.prod.outlook.com (2603:10b6:510:148::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.17; Tue, 28 Feb 2023 15:12:36 +0000 Received: from BN8NAM12FT069.eop-nam12.prod.protection.outlook.com (2603:10b6:408:ac:cafe::d6) by BN8PR07CA0004.outlook.office365.com (2603:10b6:408:ac::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.29 via Frontend Transport; Tue, 28 Feb 2023 15:12:36 +0000 X-MS-Exchange-Authentication-Results: spf=softfail (sender IP is 40.86.217.129) smtp.mailfrom=corero.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=corero.com Received: from ca-emailsignatures-cloud.codetwo.com (40.86.217.129) by BN8NAM12FT069.mail.protection.outlook.com (10.13.183.113) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.12 via Frontend Transport; Tue, 28 Feb 2023 15:12:36 +0000 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.168) by ca-emailsignatures-cloud.codetwo.com with CodeTwo SMTP Server (TLS12) via SMTP; Tue, 28 Feb 2023 15:12:34 +0000 Received: from BLAPR10MB5252.namprd10.prod.outlook.com (2603:10b6:208:328::18) by CH0PR10MB5324.namprd10.prod.outlook.com (2603:10b6:610:c3::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.17; Tue, 28 Feb 2023 15:12:31 +0000 Received: from BLAPR10MB5252.namprd10.prod.outlook.com ([fe80::49ef:eb2e:1551:a537]) by BLAPR10MB5252.namprd10.prod.outlook.com ([fe80::49ef:eb2e:1551:a537%8]) with mapi id 15.20.6156.017; Tue, 28 Feb 2023 15:12:31 +0000 From: Tony Hart To: "users@dpdk.org" Subject: rte_flow: no ability to match on packet length? Thread-Topic: rte_flow: no ability to match on packet length? Thread-Index: AQHZS4cOKT5bMa+EYkW0ePcJa1gq4g== Date: Tue, 28 Feb 2023 15:12:31 +0000 Message-ID: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=corero.com x-ms-traffictypediagnostic: BLAPR10MB5252:EE_|CH0PR10MB5324:EE_|BN8NAM12FT069:EE_|PH0PR10MB5706:EE_ X-MS-Office365-Filtering-Correlation-Id: e7f95f32-1ac8-44a5-b6cc-08db199e3961 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0 X-Microsoft-Antispam-Message-Info-Original: bz9d3f/LVo2Yws9LXaulj1Wmm6EoIExGqup+hi9kL4y6aMUFFx+HzugcZzSGnbbbsZaq7d1Ml2ttTMUxiJFl8kFvEicMkfbxOGDAurAw8uswFRDJWpJTPPeSEqX4+qOKWB6CnpaH47tPws2Uup5z9T2Wto9lVPYw4jYrC1OzK8R6ljuELji5tPT73CgTjdP8c/L8jpOWt+2XJXi/iglqYjCVNSxfKwC62t2h0S/2DFOVjXxva/suKxXxfM48pzeoWJTUUG8KXLg5hXVPbGBcfW+Llc4vErP0/3CLlU4I8YJglLWGyPzEiw66ZX9+aG0dqacoVg7aZU/ih9cDfPVUrf5T5pcZ52rvOlAGlhuG7Sol/BPDO7uoc0aSS0kv+4UzhKc79x9q/3DcMkOYADmjUGUVsF05/jpYvZkk3qG0ofKjFhou398pn8Yuq+iwh1mWAPhTABH61mhd4lPoU16Cwg/2LKFixDh+bOlbS/7p1nQG0/So8TEPmBCIyg2Ax1X3YWLsOA7Vgu6P2aobAeiKG9TmwMHZ5mHR40CPFLHGN9Ml0rg4IP267Se4uHzRK75vx0HY1ZjyoOev4wffwOXNEqkkzfALOcz9DDbv4464ORPMaQtQh2U/wUv3uHazN9cqfdgHwf+IkdBUlqkMRi9cIx0R1xbbJOf64kmP2hvyhBwKfmp6AOLg0R8GkoSqkbQHqKoEdsz8KfIbdCGlgneq4w== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BLAPR10MB5252.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(346002)(39850400004)(376002)(136003)(366004)(396003)(451199018)(52536014)(8936002)(4744005)(5660300002)(122000001)(41300700001)(64756008)(38100700002)(8676002)(6916009)(55016003)(76116006)(66476007)(66946007)(66556008)(66446008)(2906002)(86362001)(7696005)(478600001)(316002)(186003)(26005)(38070700005)(71200400001)(9686003)(6506007)(33656002); DIR:OUT; SFP:1101 MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR10MB5324 X-CodeTwo-MessageID: 88c86cba-9c4d-41e5-89c7-e44479cdf320.20230228151234@ca-emailsignatures-cloud.codetwo.com X-CodeTwoProcessed: true References: <5644d4d8-d47b-4a0c-84ec-17ce8d68d922.8b1a23e8-b9b9-4aca-a31a-0d4e4655acbd.eee7240b-6962-4037-97c6-178856ab054b@emailsignatures365.codetwo.com> X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: BN8NAM12FT069.eop-nam12.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: ee631da3-3241-41fa-e378-08db199e368c X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: 5j/HIY8bHmfDpwogVVOT6vL3o2fDtqmx8Zft32sU2Ocr038nZucarHaNNEwvcYiDoXIiRq60cY0lLpbZyT6tUdpiQloYpjObSqA6ZOMwIOkVBxhJ/aykCrQjI/Tdq0qd1jnglHs9N60fbMzKylSBRMkck4XIkZm7YVhY/bS+fTlrqOaoQdHIYoPmunTLhxfPNraHgmc0bvyLf/VU64kNUx479lT1fj754TCEjJqBOPiWT+OY94E9M0NSShQnkd/8lFczNFeE76SoN8pTFmgvGn4OUViR5FaTxDG2S9mSkjJDng0Xx9L6lpnIvKSHgmH7m5BlQC1t9b1HXF40TLoggwmyK7Fx+5AyiZ2xZWoToaLj/l6b303PZf3mHcaVbHUxfwxLBdzT+SeM448wAMuBlgkO9TPiMMdOUBspx517nIe3H6k+acVZDxwD/AAnXYR2j8ht1c7B38/tca19aXxEH6cV3cNLv4UVF7YmDrQLPLPAfmAWA2wuyycE8ZY4IVA2gJiGHKajTgp7rnueHyCd+RbO13pcG27s9TNYQoVLHhOuhwZdz7PTKWLTWlE3PiTB9AQrBNZByV4pCHe6YJtax/LuVbz3UOLmLfhb9mMRXXuzqW3qNeSGwM4yr1ow1d+m42MDBg7Jggg4ySORxBGYOCWVpchVRJD9iv+DDWZ5MfI= X-Forefront-Antispam-Report: CIP:40.86.217.129; CTRY:CA; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:ca-emailsignatures-cloud.codetwo.com; PTR:ca-emailsignatures-cloud.codetwo.com; CAT:NONE; SFS:(13230025)(39840400004)(376002)(346002)(136003)(396003)(451199018)(36840700001)(46966006)(356005)(36860700001)(7596003)(7636003)(33656002)(86362001)(2906002)(40480700001)(70206006)(55016003)(41300700001)(8676002)(6916009)(5660300002)(8936002)(70586007)(82310400005)(6506007)(336012)(26005)(9686003)(186003)(83380400001)(47076005)(478600001)(316002)(52536014)(7696005)(66899018); DIR:OUT; SFP:1101 X-OriginatorOrg: corero.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Feb 2023 15:12:36.0664 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e7f95f32-1ac8-44a5-b6cc-08db199e3961 X-MS-Exchange-CrossTenant-Id: 7a9608e9-5031-46ce-9ac6-1a84d5abb141 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=7a9608e9-5031-46ce-9ac6-1a84d5abb141; Ip=[40.86.217.129]; Helo=[ca-emailsignatures-cloud.codetwo.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM12FT069.eop-nam12.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR10MB5706 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: corero.com Content-Language: en-US Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org I=92m trying to use the Generic Flow API (rte_flow) to match IP packets bas= ed on their length (either L2, L3 or L4 lengths).=0A=A0=0AThere doesn=92t s= eem to be an item type that explicitly matches based on length (RTE_FLOW_IT= EM_TYPE_x).=A0 So I=92ve tried using a mask with RTE_FLOW_ITEM_TYPE_IPV4 to= match on the total_length field (and similar attempt to match on the UDP h= eader dgram_len field) but the NIC I=92m using (mlx5) returns an error (mas= k enables non supported bits).=0A=A0=0AAm I out of luck, or maybe missing s= omething?=0A=A0=0AThanks for any insights!=0A=A0=0AI=92ve tried, DPDK: 20.1= 1.7 and 22.11.1=0A Tony Hart | Chief Architect=0ATony.Hart@corero.com =20=0A=20=0A 293 Boston Post Road West Suite 310, Marlborough, MA 0175= 2=20=0A=0A=0AAccess Corero Network Security=92s Privacy Policy here .=0A=0A=0A=0AWe are Corero Network Security plc (=93Corero= =94), registered in England and Wales, with registered company number 02662= 978, registered office address Regus House Highbridge, Oxford Road, Uxbridg= e, Middlesex, UB8 1HR. Corero is the parent company for Corero Network Secu= rity, Inc. and Corero Network Security (UK) Ltd (a company registered in En= gland and Wales with registered number 04047090, with the same registered o= ffice address as above) For information about how we process your data, or = to manage your data preferences, click here .=20=0A=0A=0A=0A