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 AED0943100; Fri, 25 Aug 2023 15:52:54 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3DC0240695; Fri, 25 Aug 2023 15:52:54 +0200 (CEST) Received: from egress-ip54b.ess.de.barracuda.com (egress-ip54b.ess.de.barracuda.com [35.157.190.245]) by mails.dpdk.org (Postfix) with ESMTP id 8297C400D5 for ; Fri, 25 Aug 2023 15:52:52 +0200 (CEST) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04lp2051.outbound.protection.outlook.com [104.47.13.51]) by mx-outbound16-223.eu-central-1b.ess.aws.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 25 Aug 2023 13:52:51 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oYKnj0Wk1mQwRhqG5pN5AOOZkRRuZtIlG0llKOoGmL0+mncq/IenmP3GNFrkINVoOSDIyU6jJJHBEdqOOkcrKSsughT8B/oQxk/bVeQQBMa3NUHnmI9LEhYhqCA64vrUtDg8M11UH8FfJVifXzW7B6vD/INbADHd9XojR1u4pnn5pMzYmRU0Gqrxma/zZvJZ3d0nG3SO3ptqPIoczAPzfNk9UNZuIhbrGySfiQGBE+uG6hzO0Fe4yCp2xOBwMMu18+EtURqUZ2wIrCaghczrnp4Vn5lsD/PcGZeo9MocH0UcZUNFwo0b3wFxo5xYUrMGtTr+K/x0+/69f68EotC0cA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=f9fOhJWfOknKvIRrlfG+kjJHbYN9lLklT/6d1dJSyhk=; b=OR1qFGugyVxVn1tOx0d1CoyK/CKCHCHose9tqQHLHYzWCcZmrLFyFLfKfFmepZT5TS0UJ8Jo1Tux4yMaDCyhTYMZpNrb5kf4WF1imuiifSdj+8CX/ItFlMtZK2edPbGCivRSW9YeGJGt5HxmnJjXBGB8JCwPQ/e4iGKP1ploQin37DqLmCvwOMn/KRaFrxDc5wGF+u+PMqlpzua2YpUony+ghEUnu/LZPkD0jcXZ9YbM4A0qxeaQAGHkgsYgMt11P5kCNl8y6FlOOe99oulB4F1pyDJG31eH/ISGpJ1PyvGIOobPrMu8M6cwICG0h4qeeboglTMtDCnX4xrttj9+Ig== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=napatech.com; dmarc=pass action=none header.from=napatech.com; dkim=pass header.d=napatech.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=napatech.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=f9fOhJWfOknKvIRrlfG+kjJHbYN9lLklT/6d1dJSyhk=; b=UBk3rAoaaj706cKfPuc+PqLAZ4h19LQJ9/jznv5tPRLjSkn3cZAk4xRtLkz/ZYiLwGqHWMHQ1N8Q8Gvore5FjoewudPGF2rVqmI2pbcLjYtD/BnRXXOf60yh23BnJbgtO7X125RFUiX1Tp4155OywSXdGSF3Bfs6Vv9FtuGUoqE= Received: from DB6P190MB0311.EURP190.PROD.OUTLOOK.COM (2603:10a6:6:33::14) by AM9P190MB1362.EURP190.PROD.OUTLOOK.COM (2603:10a6:20b:26b::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6699.29; Fri, 25 Aug 2023 13:52:49 +0000 Received: from DB6P190MB0311.EURP190.PROD.OUTLOOK.COM ([fe80::1aa0:771e:b45a:4f68]) by DB6P190MB0311.EURP190.PROD.OUTLOOK.COM ([fe80::1aa0:771e:b45a:4f68%7]) with mapi id 15.20.6699.027; Fri, 25 Aug 2023 13:52:49 +0000 From: Christian Koue Muf To: Stephen Hemminger , Mykola Kostenok CC: "dev@dpdk.org" Subject: RE: [PATCH 8/8] net/ntnic: adds socket connection to PMD Thread-Topic: [PATCH 8/8] net/ntnic: adds socket connection to PMD Thread-Index: AQHZ0EU1GSNSWMe7H0+GIDNcSmZXga/tADWAgA4WBFA= Date: Fri, 25 Aug 2023 13:52:49 +0000 Message-ID: References: <20230816132552.2483752-1-mko-plv@napatech.com> <20230816132552.2483752-8-mko-plv@napatech.com> <20230816074601.07c6e82c@hermes.local> In-Reply-To: <20230816074601.07c6e82c@hermes.local> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=napatech.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DB6P190MB0311:EE_|AM9P190MB1362:EE_ x-ms-office365-filtering-correlation-id: b3dfc4f7-5a82-4ab6-7052-08dba57291a3 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: MJ2bTX48MK6DKLENvaN7m6amzqQ9C+NXFVZPby61tb3ciBHoPWZaRMUJ55ODxS2bE/X4AUhKy8mu6WI+0qUOT4PX/rFjl9RaTsHhSS8oJBCeSKvcfxddprJ6nkjB2zRfkOspC44JlIdeknDWKxDx9NGiFZGN2oFGGxCZtkgFIja7uKhslsM3KTy8Ic4t4XZEGUi/w5NNErYGvA1REhvl7W75hrlrToygJN/BFKOFdgrq2CehVZ8czJCL2VMDN74cY0EGVTaHQXWCYvRbhrJVgu2DW/VBx5r5zeFJbvMXIA3xWQKnVCT9qavClgUdAI3bxz01ht52uIXd845n/j47qr/KUG9PcVHKMpwH8c+VKAxU5h8TK3SyMJhStDUvLJ6KJ3qj9Qfj8KGsiRcs+rekQvocmfJ8NpppFRuGTDTrk95g8/k4nA9D/khUG1SlrAk/S04oFTtTbFTRkcLPmRvFXLXWc6oyI1EFGKGTD1OdtE8v1My+M76E5rm/l42lP5JJmYFEjOC+IMB7S9feWAvmJqK+u3pgq4S5B3WhzVv1DcnEy1TziMr4W24GrNEAGxyXQoSsvVfs+ouuza6qw4lBTyIFRnOOOq0c8F2wvA3aJ/k7XMfaB3Crstu9JJORdc20 x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB6P190MB0311.EURP190.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230031)(136003)(396003)(346002)(366004)(39840400004)(376002)(1800799009)(451199024)(186009)(83380400001)(9686003)(478600001)(26005)(55016003)(5660300002)(52536014)(2906002)(8676002)(8936002)(4326008)(38070700005)(38100700002)(122000001)(6636002)(66556008)(66946007)(76116006)(66476007)(86362001)(71200400001)(41300700001)(64756008)(53546011)(33656002)(110136005)(7696005)(66446008)(316002)(6506007); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Ei3cIS/8OTwHb7ErRvUt18Dr8qpGIcdG6MRwXEOKGh+TZi6ZZ3ECPAcuHgow?= =?us-ascii?Q?UQRJvfe4C6/UwKOSp1anLHwIorGGIvos46k4/JNrJeIqx6qww/ZGz7qH9QO8?= =?us-ascii?Q?wBa2btaXm7fbZIm7hjTN5Uf/proPNUelFmJ+tpcDsLjtcfC0ER6AMMDUW2q8?= =?us-ascii?Q?3BAAhuF/kLRyc/so4YpVc9lllr9Q1IhXFw9ksEqlnc8N3l6vxCkNydwPCOMo?= =?us-ascii?Q?B/t40UVT1LqFfUrJV64/TrQmCTlIAb+VZJ33s/bsjJwJjRM6k1q2Fx555fbl?= =?us-ascii?Q?4SHH8tcTefHPle8FWwDQhRqhDewxBcP0pwyyPks+FMU/efUONDTOZ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ZpYxusqTVuvASohSE2RCb+rQrfDtLq0MsI28L?= =?us-ascii?Q?gKjZGN3qu6VUmbiub1lWEaNhkm+2Jei8hja37L8daOnu4s8pdONnKcelbW5u?= =?us-ascii?Q?lAflAszduZREJiHx2nlwm/d4UeGQ6h2t4vZTGGNdE9v3Mx8mxKb9rNQF2bgA?= =?us-ascii?Q?xksjYL2sOIvzudyg9midkNNYuneGA9jl6KrEPh8lBHDkhPIM8wGIpgpDVFVc?= =?us-ascii?Q?hjxruRXJvgUnVJKleE12lamMtwGLEXHYa/pOyYGNJAAlXs6RyBhqNS5olnE+?= =?us-ascii?Q?TePBRMzqhNrfC2PQ0FI/1k+umw+cw0dbcCD2Jrl4VE8V72bdOYx/QlxIVbNy?= =?us-ascii?Q?Bw3+qceaBqbK/eMICgg=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: JMhx5rsa9w1SrTmmZ4d3YmFvtzQCEi987MI3dNFJbAIv/2e+UuPzobsZkdR9dhXgFpmMs/zWvgbB63X2MW6sEJAEYt2wx2DoKBKpXcCyaI4ObcoEX5O7KuKnXbs0YXx9eJXwUn7WHOrWsw+3KaLMC4jBHXskQctw/BpbiQh+3KBKsnCU9ZcHyUfu83C0zYU/ppKkxQ+DaKgJHcKNN07tKGu3g/1PVt6fgJI63VNXY/KLF08gDKXI4jTwpCciVAxKv/2N6C2DGYQGIqph5hJF5N9YON21oQHHw5dIFAAfvdylyOJ2c5GRbDVhr5b+pDNwXkrP1gc4/LxEoEC8RMQW/S9s+PKghkZKngvIvGRM8yc30KQj85KmxYUzcnb4mBO06raY612ZhkJFD281ziBPeOxO0UM2QVBEJtkDX9u1OGF31oR04SmVj4nCVuyvcKMNQdl2lWnRRvbMFmJHYgTb1AbgZnrCV/ba/J0O5jAGOiqxm2H0yIF8zY7MVnJFzCGT32BLh0NQHppPCwxJyk/cGXzJ7pJ1qW2PTjw4imjdOgivpHBWPcklisEM0SRIW6ZxUsnJ8GK3pMaFo9k5EUejfUxjf6ZfvYd/XgG2fZYrHp9ZNoRYZApLZ6Jqt3Hx912u1j6JWYfmRJ9s3GADRJRMkHdXRWgytScFA7trqWorN/HtRGW48+v8HDyMdRqy10eW5HyNl7K/I+t5tCUqDOh3X1gfzx03Nn7EBCcNSxXvFcqFUZgOjanFUgjUQE3ruHTugFXV34Yk0K5yiSg5ZWpL3pKlRZI78ujrrbK67dhwvac= X-OriginatorOrg: napatech.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DB6P190MB0311.EURP190.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: b3dfc4f7-5a82-4ab6-7052-08dba57291a3 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Aug 2023 13:52:49.1015 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: c4540d0b-728a-4233-9da5-9ea30c7ec3ed X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 7YEUJioIDY4kG6lowxf8t+1mhkb/eth8m7ReqysEUbDFHRoH0zHpwnmF3A3A40PqEIITXTpgXxNQXhhX8kJGiA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9P190MB1362 X-BESS-ID: 1692971570-304319-12357-23320-2 X-BESS-VER: 2019.1_20230822.1529 X-BESS-Apparent-Source-IP: 104.47.13.51 X-BESS-Parts: H4sIAAAAAAACA4uuVkqtKFGyUioBkjpK+cVKVoaGRmZAVgZQ0CLRMjE1NcnI1N ggxcgk0TglNdnCNMksKSXZ2CLRNDVZqTYWAFoQICxBAAAA X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.250381 [from cloudscan21-236.eu-central-1b.ess.aws.cudaops.com] Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 0.00 BSF_BESS_OUTBOUND META: BESS Outbound 0.00 BSF_SC0_MISMATCH_TO META: Envelope rcpt doesn't match header X-BESS-Outbound-Spam-Status: SCORE=0.00 using account:ESS113687 scores of KILL_LEVEL=7.0 tests=BSF_BESS_OUTBOUND, BSF_SC0_MISMATCH_TO X-BESS-BRTS-Status: 1 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 On Wednesday, August 16, 2023 4:46 PM Stephen Hemminger wrote: > On Wed, 16 Aug 2023 15:25:52 +0200 > Mykola Kostenok wrote: > > > From: Christian Koue Muf > >=20 > > The socket connection is used by Napatech's tools for monitoring and=20 > > rte_flow programming from other processes. > >=20 > > Signed-off-by: Christian Koue Muf > > Reviewed-by: Mykola Kostenok > > I would prefer that this be general and work with other PMD's. > Why is existing telemetry model not good enough? The existing telemetry is good enough in many cases. The problems arise in = multi-container environments. The design of Napatech's adapters is that the= y only have 1 PF, which is owned by a single process in a single container.= Other containers will only have access to VFs, which do not provide any me= trics. The ntconnect socket will allow remote applications to access data f= rom the application that owns the PF. I understand your concerns for security. My suggestion would be to disable = the code using meson.build config by default.