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 8C236A0093; Tue, 8 Mar 2022 04:27:03 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1E58E4068E; Tue, 8 Mar 2022 04:27:03 +0100 (CET) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80049.outbound.protection.outlook.com [40.107.8.49]) by mails.dpdk.org (Postfix) with ESMTP id 710B740041; Tue, 8 Mar 2022 04:27:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Ruzc8cSguXF7RxkqgiGOYOYLGG7lSAYN64Mj7OD0o4s=; b=4vcXvwXDNYTvWwm85JQijIt0dR8Ma0xKAsd7qLBlrCl7m7gE80SwYd1nAdhN6Jvfqf4nxY7eaIYXSK3mBCnZRDKDPwWp7VOrR96uAjQcT9+Oqiq26xAYfqy2CMipGc2eHuTNZKXxCauuzVoZDXdu4aMbtGzmDflHspohWjtcmoA= Received: from DB8PR06CA0017.eurprd06.prod.outlook.com (2603:10a6:10:100::30) by DB7PR08MB3657.eurprd08.prod.outlook.com (2603:10a6:10:4d::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.19; Tue, 8 Mar 2022 03:26:52 +0000 Received: from DB5EUR03FT047.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:100:cafe::49) by DB8PR06CA0017.outlook.office365.com (2603:10a6:10:100::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.15 via Frontend Transport; Tue, 8 Mar 2022 03:26:52 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT047.mail.protection.outlook.com (10.152.21.232) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5017.22 via Frontend Transport; Tue, 8 Mar 2022 03:26:52 +0000 Received: ("Tessian outbound 1f399c739551:v113"); Tue, 08 Mar 2022 03:26:52 +0000 X-CR-MTA-TID: 64aa7808 Received: from 7cf2744e9605.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 663786F4-120E-49D3-BD41-B765214675D9.1; Tue, 08 Mar 2022 03:26:43 +0000 Received: from EUR04-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 7cf2744e9605.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 08 Mar 2022 03:26:43 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RIB9hKjP7Vd91ESlNOiRs6ZaP+54G06n/ZGY6rhgg2ALLRX7i4i8ZfkPGYqn8D3odKygKE5hxmgBzwGbwRkfaLmu0uU7YFt9kXNBBjCVnHLdBTq304t6bosEDSbnlJuBJ+oB3802KCmK//cCEN4YxgfSzBkF2ObLw2iw5wfAYGsrPBDsoyeOr4lT9na5trhN7G/fwXASlcPO71QHpqtXXWfuBs0Ho2cUnor8WihXIoXxtYNGSkqYVglpx4+EViGP42uj8RI8pug6CAvU/d2+c/i7zzwNjsh3Txdik8tZPSz7p+xyCULFqFSbWJay8zKgSnpij4lDcrWDduAk7NRzEQ== 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=Ruzc8cSguXF7RxkqgiGOYOYLGG7lSAYN64Mj7OD0o4s=; b=KlFpnxkRx3cRsBEzPKp/PP22jlR4b16khiTPAB9qhzT9hJ3dSU63q2Ojv9093YaIY5A8vPan0OKhXdaLSTmXI+mE3XdhU2YHh4mnaN03IGn4dNfrdJPQ8N2nA3X3FKqe8a3klXgQ7HVpWfHS8pbQGrjXgPcFhSKDBhNcNXJt9320r7ObadhDUvE3NBGfpIVSYw/35NManga9pNMMPmFFftFD7AxsL34VRdnmpP2u4wPscAFkXQSyjyoWQN0Tc37e86QNa6m1XjOU4aDhwJk+gRFyyzc3aX2ls+4cvrjk2h7OFjfEAqaozn6/DinStloRM/aX+D+yhH/I23U8tXRMrw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Ruzc8cSguXF7RxkqgiGOYOYLGG7lSAYN64Mj7OD0o4s=; b=4vcXvwXDNYTvWwm85JQijIt0dR8Ma0xKAsd7qLBlrCl7m7gE80SwYd1nAdhN6Jvfqf4nxY7eaIYXSK3mBCnZRDKDPwWp7VOrR96uAjQcT9+Oqiq26xAYfqy2CMipGc2eHuTNZKXxCauuzVoZDXdu4aMbtGzmDflHspohWjtcmoA= Received: from DBAPR08MB5814.eurprd08.prod.outlook.com (2603:10a6:10:1b1::6) by AM8PR08MB6580.eurprd08.prod.outlook.com (2603:10a6:20b:369::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.14; Tue, 8 Mar 2022 03:26:40 +0000 Received: from DBAPR08MB5814.eurprd08.prod.outlook.com ([fe80::6d04:5964:7813:4891]) by DBAPR08MB5814.eurprd08.prod.outlook.com ([fe80::6d04:5964:7813:4891%4]) with mapi id 15.20.5038.027; Tue, 8 Mar 2022 03:26:40 +0000 From: Honnappa Nagarahalli To: Honnappa Nagarahalli , "dev@dpdk.org" , "lijuan.tu@intel.com" , "juraj.linkes@pantheon.tech" , "ohilyard@iol.unh.edu" , "david.marchand@redhat.com" , "thomas@monjalon.net" , "david.hunt@intel.com" CC: Ruifeng Wang , nd , "bruce.richardson@intel.com" , "reshma.pattan@intel.com" , "stable@dpdk.org" , nd Subject: RE: [PATCH] examples/distributor: one Tx queue is enough Thread-Topic: [PATCH] examples/distributor: one Tx queue is enough Thread-Index: AQHYMnRIa2PHkhasL0SwA/FcWOUl06y005sA Date: Tue, 8 Mar 2022 03:26:40 +0000 Message-ID: References: <20220307223946.578201-1-honnappa.nagarahalli@arm.com> In-Reply-To: <20220307223946.578201-1-honnappa.nagarahalli@arm.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 699FEBE8E0C7C548B3D29419EF8D71D6.0 x-checkrecipientchecked: true Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-MS-Office365-Filtering-Correlation-Id: 2a2ce317-a817-4670-0a4d-08da00b37d44 x-ms-traffictypediagnostic: AM8PR08MB6580:EE_|DB5EUR03FT047:EE_|DB7PR08MB3657:EE_ x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: rHta5httrIElb2Uh+dZSK6Q90bTjTmLnHlLUGTd1APbRcUXj9hsp6ymPcnZyxHTLShAaioDheRLf9y8dUOg1MNJ2QOYawf9eBWQtoSglzYuE5P9lj4+MWoe8u7lEzs88/cuMY1fXn2GEAxzZauPBd8wDc8VXWs7QtrZSfskBLK+ULJlP75yHb7kubR1gmg0SKUjF4gbS6Pa/TUXWGqgjyDm/vy/76YoL4jeCqFof1P4Z5bFNa0BnRrpx4TSqRKFrP9/P7E9oVFX1eWsQIqGEcLtUHfoXKSD4tbgKN4em6WQZ7vLe6KIdh+3k4qTaXSp3AuEJ/yas+2tOgQKSSEhXnWdJrOl63euITBxwAi/MHKMNAqvhVOXPtVWMEKtji+75dOrZWygZNxPig/U9zEp1OMCNqtoHOCxsa57081B/ZraOB0/z+dLNSPod/yLDvAiVMxwQcyXEGPlpTfwEOXbT3OGoYL/BOu0dgfpMN8mA3weKfwA+EycHjn9jyWRJKAYE+bVXvS5uz2NoeASVfR02Aj5x4o6cNdeO4O7gNYQs9lw0bsLlxHWpKypxLGQBLvwuZc2rBY9nNxOaccSeiF6f/4bCiZEeB0FA6/Ydf7ySsQXLAb7dolUT6CiftNEf3Rt5PVwtbwutvrcQ5cfSIJdML3KcYXdtH4kbIPcybSmaN1VmuFcBF0nitnP/G/zFjYDjOH/AI9lh1941CI1flsCLgw== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DBAPR08MB5814.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(38070700005)(316002)(26005)(38100700002)(186003)(54906003)(110136005)(122000001)(508600001)(64756008)(71200400001)(86362001)(52536014)(8936002)(5660300002)(8676002)(6506007)(7696005)(53546011)(4326008)(7416002)(9686003)(66446008)(33656002)(66476007)(66946007)(76116006)(66556008)(55016003)(2906002)(83380400001); DIR:OUT; SFP:1101; Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR08MB6580 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT047.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 5ee6a7e7-c2dd-41bd-4ea4-08da00b375d0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: EHtwFgP88o4Ec+XC00JdLoee5R1EgyLwZA1i+i0Y+1nCRNVRwnZnl5Xvs2/EHMDbU6wQCoS+nIvWA+K4uKNV96tIiaPBoraSgu2dLLc5FXT8wEkCc0+2d3MLJcCOF8VHu/04Hq4HddVYtdVlzMBAH49+CoAKXQ6vtIkCqtSW9+SrBBiPWY4EwvNt8hueZojQFPPg8nOj7OlcQktEM2F4xIyqUT210pNdwJ6XDi/UvUPLquEt7PnfB0ZFDks1z8DFHLgerkTmXZLZDZarJGFDhc3lD67ciD0rWqUJzYl3BNV5c9e3DSTvkKxMtsfPvSdaPJRU+gEAV1NbeLZjiXXj1OxFWuNeSBKqjs6T+k6PnhFVFhBdi7kxXfZJJhffCNzGGqcX80zUQPcjmEeuvCcs2ryq0m432JKx48/OHm9madZfMruzdVOKWFMTR0iAPc69zbpc7BOHBLnPF6nixQj0dPI+oQTs3T82JoR7Iffv+GM6HxqtDQEcZSQK57msuXz9oY1xBhrPmeSCSC7/6fO3XkmkLQc4jpRlxQLhcyzSmvBR+nWsKCGmGki0LrspbbClUgoOXeF8Jts8+TR2o+raSCz24lwG8OSyFzzg/4HZWacWZ6t0HAUKKZ0uDRuntBkNB15mHhIbJL8jlinz5NTDfIRkU99YwIOQIbw8BLqPvDvQUr2D0KJc3Dp+yqMewQLf X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(13230001)(4636009)(46966006)(36840700001)(40470700004)(316002)(6506007)(8676002)(4326008)(54906003)(110136005)(55016003)(7696005)(5660300002)(8936002)(70586007)(70206006)(52536014)(508600001)(450100002)(82310400004)(2906002)(26005)(186003)(9686003)(53546011)(83380400001)(33656002)(336012)(86362001)(40460700003)(47076005)(36860700001)(81166007)(356005); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Mar 2022 03:26:52.7103 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2a2ce317-a817-4670-0a4d-08da00b37d44 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DB5EUR03FT047.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR08MB3657 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 The ABI test failure is not related to this patch. Thanks, Honnappa > -----Original Message----- > From: Honnappa Nagarahalli > Sent: Monday, March 7, 2022 4:40 PM > To: dev@dpdk.org; Honnappa Nagarahalli > ; lijuan.tu@intel.com; > juraj.linkes@pantheon.tech; ohilyard@iol.unh.edu; > david.marchand@redhat.com; thomas@monjalon.net; david.hunt@intel.com > Cc: Ruifeng Wang ; nd ; > bruce.richardson@intel.com; reshma.pattan@intel.com; stable@dpdk.org > Subject: [PATCH] examples/distributor: one Tx queue is enough >=20 > Distributor application creates one Tx queue per core. However the transm= it is > done only from a single core. Hence creating one Tx queue is enough. >=20 > Fixes: 07db4a975094 ("examples/distributor: new sample app") > Cc: bruce.richardson@intel.com > Cc: reshma.pattan@intel.com > Cc: stable@dpdk.org >=20 > Signed-off-by: Honnappa Nagarahalli > Reviewed-by: Ruifeng Wang > --- > DTS test cases make this change to DPDK. However, I find that, one queue = is > enough. Hence we could make this change in DPDK. >=20 > examples/distributor/main.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/examples/distributor/main.c b/examples/distributor/main.c in= dex > c681e237ea..02bf91f555 100644 > --- a/examples/distributor/main.c > +++ b/examples/distributor/main.c > @@ -108,7 +108,7 @@ static inline int > port_init(uint16_t port, struct rte_mempool *mbuf_pool) { > struct rte_eth_conf port_conf =3D port_conf_default; > - const uint16_t rxRings =3D 1, txRings =3D rte_lcore_count() - 1; > + const uint16_t rxRings =3D 1, txRings =3D 1; > int retval; > uint16_t q; > uint16_t nb_rxd =3D RX_RING_SIZE; > -- > 2.25.1