From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8D390A0561 for ; Thu, 27 Feb 2020 21:11:31 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 585A72C02; Thu, 27 Feb 2020 21:11:30 +0100 (CET) Received: from lax-mailout10.raytheon.com (lax-mailout10.raytheon.com [199.46.200.220]) by dpdk.org (Postfix) with ESMTP id CCC5D1F1C for ; Thu, 27 Feb 2020 21:11:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raytheon.com; h=from : to : subject : date : message-id : content-type : mime-version; s=dkim2017; bh=fPRgeSNLgwCFHYHZroF4ubPbbYiQRzoV9jAFcGgWBP8=; b=qv5oDUKcenxuqrcLtbplBdtmT8avDPFwJuCuTjBF9Mpr8m5kE94Mjmu9QhdpLoUHCKD+ w3AnKvLiJqDWgglmpeJP3uwvtu0+ZytOb1aH0++R2oOPx994VyPM25SXdgjQ5mNdcE0U ohhBJgrpWC7rvR2tiZe2s0l95tngZnPbU8jpfw7tyZsJPGGBBw1cbVYXVj41NkuK1IeU Ff72wCMAZOXe7xK313xzgS8jJy4KWlsmkwUnOB7P14Y5Xsz/fzi0zMQELsfl9Ptw/yON 0YE9D62/J8EVqcI0RFXXOHILEA/nWPURzgXO9g6hfTBXnlJsl9GcOvUyk+fkYKx4p8LB KA== Received: from tx-mailout10.rtnmail.ray.com (tx-mailout10.rtnmail.ray.com [138.126.127.234]) by lax-mailout10.ext.ray.com (8.16.0.27/8.16.0.27) with ESMTPS id 01RKBQhB025885 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 27 Feb 2020 20:11:26 GMT Received: from USG02-CY1-obe.outbound.protection.office365.us ([23.103.199.180]) by tx-mailout10.rtnmail.ray.com (8.16.0.27/8.16.0.27) with ESMTPS id 01RKBPFw011990 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 27 Feb 2020 20:11:26 GMT ARC-Seal: i=1; a=rsa-sha256; s=arcselector5401; d=microsoft.com; cv=none; b=Wf9cXRjafXQ9k+UmCVHYAxudKtfWaGiC+La3wCrklszJsrwFE/DruHqdERm3Hb0Weg6rpbOWOL+oFkO0cUJ/v3jc5HcT0ByqX3oVA60rbyZTqhWa2BA2LuRfD0FsH4pBYy9U0sJ+rrfEC16gaNYcMH0rLJOSzaRmaMUdwa2TLdHXgW7CslddoofHyok5spz1vaf87DMf+CVahLFPwntJnzjHpriPgpaFV3Rj0eMxAE6janlvvoVTdGB/ZxkrHFDIW+yrFdh7LwnPC5T+fQfsIPLrfIQrnZyrACqiv1ndVax4NTvvg/OSqpbTg8d2ICPCnmRdW/IwraWDiO4IeKNikQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector5401; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fPRgeSNLgwCFHYHZroF4ubPbbYiQRzoV9jAFcGgWBP8=; b=hTzFTXq+NP9kH+UaHtqCo1lRgJsTFmM2SaALWaXen696LZkhkN4HArGUcAg0Opy3dnO9A5buBf+UHKPM3qtzVnmHbyhnC86KtRcPwUu8D1fmuSDLT7JFqxg/bLWI4DmNTE/I7Ro9P6aVUJWifHeVTbnn86jzfQPntjVLQh4/56qymklgeuLLlP0VPtsuaM8sjPewTOv9WnD6eQ/v6iIC/xikuD4sSRDbUrIDNuFScUkpjd3afQ5XtXbWSxS0qXOQgmgRU9MLyC63KpbPl+gBQk9BxPXGtisW7clmahQC5OE4r8jYNT29f6f+e5R7mYRpRF1HeLXRRilII8Plc04XvQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=raytheon.com; dmarc=pass action=none header.from=raytheon.com; dkim=pass header.d=raytheon.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raytheon.onmicrosoft.com; s=selector1-raytheon-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fPRgeSNLgwCFHYHZroF4ubPbbYiQRzoV9jAFcGgWBP8=; b=Roow4uyuTG5Qbwg7S6LvS1CKoN+1v8dUbXVdiYXkrMNE4wdUT05rGlKoJjBhgQWxksaMckgFTNQ0GX2KUspPbZmjNPJG7g0S0V14AdnlKHNemcI6ZcuNOv1g3dyHAmdA6NpPudxrnLRyXAaNufaN2GeS83dVOaT5TfIm09covUs= Received: from DM3P110MB0473.NAMP110.PROD.OUTLOOK.COM (52.145.9.137) by DM3P110MB0249.NAMP110.PROD.OUTLOOK.COM (23.103.33.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2644.28; Thu, 27 Feb 2020 20:11:22 +0000 Received: from DM3P110MB0473.NAMP110.PROD.OUTLOOK.COM ([fe80::f535:7b59:8486:8c24]) by DM3P110MB0473.NAMP110.PROD.OUTLOOK.COM ([fe80::f535:7b59:8486:8c24%2]) with mapi id 15.20.2686.045; Thu, 27 Feb 2020 20:11:22 +0000 From: Bev SCHWARTZ To: "users@dpdk.org" Thread-Topic: Using different criteria for flow classification Thread-Index: AQHV7aloxfex1pk3okeeS6M3oUe2yg== Date: Thu, 27 Feb 2020 20:11:22 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [128.89.73.94] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 628f67c4-7bec-4ba3-6d19-08d7bbc1370a x-ms-traffictypediagnostic: DM3P110MB0249: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 03264AEA72 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(366004)(199004)(189003)(66556008)(76116006)(6506007)(71200400001)(6916009)(2906002)(186003)(19627405001)(64756008)(9686003)(66446008)(66476007)(55016002)(498600001)(52536014)(8936002)(8676002)(33656002)(66946007)(86362001)(26005)(81166006)(81156014)(5660300002)(7696005)(4744005); DIR:OUT; SFP:1102; SCL:1; SRVR:DM3P110MB0249; H:DM3P110MB0473.NAMP110.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:3; MX:3; received-spf: None (protection.outlook.com: raytheon.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: raytheon.com X-MS-Exchange-CrossTenant-Network-Message-Id: 628f67c4-7bec-4ba3-6d19-08d7bbc1370a X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Feb 2020 20:11:22.1617 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: e0237e42-92d1-4357-bd3b-ce855a2b3eba X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM3P110MB0249 X-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2020-02-27_07:, , signatures=0 X-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2020-02-27_06:, , signatures=0 X-DMZ-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 lowpriorityscore=0 mlxlogscore=501 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2002050000 definitions=main-2002270138 X-DMZ-Spam-Reason: mlx Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] Using different criteria for flow classification X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" Instead of just pattern matching for flow classification, I want to be able= to run my own function over a set of fields to determine which queue I wan= t to put my packet on. I'd like to specify which fields I'm interested in,= and then have a callback function called in which I am provided those byte= s. My callback function would return an answer (yes or no), and if the ans= wer is yes, then the actions provided will be followed. Is there a way to do this? -Bev