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 B9EDD424F4; Tue, 5 Sep 2023 18:29:40 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 93B0E41148; Tue, 5 Sep 2023 18:29:40 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 2530840E40 for ; Tue, 5 Sep 2023 18:29:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1693931379; x=1725467379; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=K0TFqHksdT0hCaQFKn4jjNN1BCUEy+VIbWQuZE8GiT4=; b=MBmquok/8Ww8ERaAdH6zawDO28GwBG7+98rQ02v+GEHbjvn+fTHQlFMb Ehv6UMTX0Q9AFSPk/JpeNjQaFOtlrGw1GDidiD4kscR4rBZCOh7R6m62v h0NZcxcbTikXU1KfgM8mMhtHSpHCEQL1viSPwytN1nll7mbFqxYWVX3M+ rCwibVbMYxJIaIo1DheXgFrdlq1HMBSLWtfaAHxC9kif/NIYj+jUQkcOo eIwwcR/ar2+/0W4fO3y6XrjWqNi/QgNHeLscwUSSMcACCCshU0wtXgx+E Id1mtiZgGGxqTnSfstqVEd5KBK+g79x2gdN6c483T9TSoCqo2jniwcbFN A==; X-IronPort-AV: E=McAfee;i="6600,9927,10824"; a="376758761" X-IronPort-AV: E=Sophos;i="6.02,229,1688454000"; d="scan'208";a="376758761" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Sep 2023 09:29:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10824"; a="806668050" X-IronPort-AV: E=Sophos;i="6.02,229,1688454000"; d="scan'208";a="806668050" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by fmsmga008.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 05 Sep 2023 09:29:37 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Tue, 5 Sep 2023 09:29:37 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27 via Frontend Transport; Tue, 5 Sep 2023 09:29:37 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.177) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.27; Tue, 5 Sep 2023 09:29:35 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Gg/Uy3jCwGuGnkyq1AuY+0hy/60qUGGl+x21mj14IIp9P4BzYHpLiF2p6RS9dL52ueJ2Vc7apVJ3IRwR+uN3MbhIakWaq4UoiWkJymxCNaPSYoT0M8qfXefVoHVl2j/lPJSB3SWfpAx5b6aGhRCQPceQ1NpfqN+zuDvXMXypLABDi/txCiZskOOLroMZHaw3lP146kD4MXRrGHdP0oztyzPIYcDNPwhTvhFpDpE4QnYJYWRJE8yASyW4znXtyWgcFNHeHnE2U3vDnqrDbjMdgcvZ/PK5X6aEUe52PY/jDh11COeREfpAf+5Cj6zy4NgMSCjk4/hRF1UQFTEFcp4IXQ== 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=iWLNIJ+seMgg8KTbg0AgH7g+M8lUFOTiMyQI0Fqm070=; b=a6n3WDrQHNmAGvMUkKWxC+v9WUmV/HzPfa94qjk00SPBqmrukhmuUjP61KZ+qxXWqvbILjbZ2HufmhQu25SUZCEXXJom8ls4KJabntgEW1C5Qdtktj9S32JIOUysrAPsYHdcwu17/WUdNlD/tXXSMq6T6V77h4GUDNqfTvSBmj3uK9Zw5w4ThF5ThYEnneaUEpVj7bnosEcLe6TsD7kz0crra2DexAhn43yscaKzrIYqgjOefn09lH/UkBgEC542Kxrhx+weH4Ptluns0gp9BGpZSKaopL7DACT5msgjehS1AOYQrZbT4n9e55AoVJ68CDMWJl5R4Dy/xO+BH3FSNQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from BYAPR11MB3366.namprd11.prod.outlook.com (2603:10b6:a03:7f::20) by MW5PR11MB5883.namprd11.prod.outlook.com (2603:10b6:303:19f::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6745.32; Tue, 5 Sep 2023 16:29:34 +0000 Received: from BYAPR11MB3366.namprd11.prod.outlook.com ([fe80::1f83:8715:507c:7a6d]) by BYAPR11MB3366.namprd11.prod.outlook.com ([fe80::1f83:8715:507c:7a6d%4]) with mapi id 15.20.6745.030; Tue, 5 Sep 2023 16:29:34 +0000 From: "Pattan, Reshma" To: Jie Hai , "dev@dpdk.org" , "Vipin Varghese" , "Mcnamara, John" CC: "lihuisong@huawei.com" Subject: RE: [PATCH 3/5] app/proc-info: fix never show RSS info Thread-Topic: [PATCH 3/5] app/proc-info: fix never show RSS info Thread-Index: AQHZ3wH4DxjrJl77mUStmJeEKhp4YLAMbQEg Date: Tue, 5 Sep 2023 16:29:34 +0000 Message-ID: References: <20230826074607.16771-1-haijie1@huawei.com> <20230904072851.7384-1-haijie1@huawei.com> <20230904072851.7384-4-haijie1@huawei.com> In-Reply-To: <20230904072851.7384-4-haijie1@huawei.com> Accept-Language: en-GB, 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=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BYAPR11MB3366:EE_|MW5PR11MB5883:EE_ x-ms-office365-filtering-correlation-id: ff3e59a2-80b7-4d44-d90a-08dbae2d4a0e x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: TJ0BE4Q9t/7lixGIXClDu/UFQIhlLwJt96r8H4vgcNGD91s6X0BvfEXLlC+c4Z6KdWP7+vFWlFsUYOCZRfWUZLHVFCKpZKqCAHpryQg0BnhHHeoU454FoxMuZbvJeuTYHimAn8GDCRa9Xt8RbhGZBqVK/SpOU3Xns2EUiXI6TjA+tS5IxHr36qh9hWx8+Nsz1e6yX1vRVN0ebUU/mkoFMOYeFKp7t9vVxZu0n5RYjCo0KUsPZExkJq7nXb5afBf29Wv6htRyz5Rt8AuljKZHUfX2Dovlt2hAOvkibt2/2nPEYQeIQkibt8OtyYWOVeD8ZBT72KMpgUXwK5GfwBhgqE5i1WYBBxMzGzspBvBSoBpaQzD6ASZiPHOnDJ99BNBAdko4sc8rFga7s6icLdxcwqJNjUlEqNCUyRukehWSKcUcruYeFd4J4LHHVl2kgHD8cbniHPV4rvbzIBoN3H14nHEELx33YXsFXFKqYdg1Wnew41SBgU2DaVrUyhRCjaVEfs8u9Ws8nRBOccpMtRrf+SQeGwtnk+a1nxqV2SOPuWTP4PZpPTIQeFnudmR+y+jJ8FuuJEJR1aJhzqx/EW7fvGeVTGaRSUkvLWpZY9GlIbhFKy3BlzS48p7JtfhijMQe x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB3366.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(376002)(396003)(346002)(39860400002)(366004)(136003)(451199024)(186009)(1800799009)(122000001)(38070700005)(33656002)(38100700002)(558084003)(52536014)(5660300002)(86362001)(83380400001)(55016003)(41300700001)(82960400001)(26005)(76116006)(66946007)(66446008)(64756008)(66476007)(66556008)(478600001)(71200400001)(110136005)(8676002)(2906002)(9686003)(8936002)(6506007)(4326008)(6636002)(316002)(7696005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?c+8fIK6iOccIgwmzaZXig+QEkTpFbiGVK4TGwkyS3P0kuUU7htSVFjUk1SSq?= =?us-ascii?Q?Vv0KU7XvQv1FuAByOwnV4v+46yZ1OGmQHMrV4T3L6aXIPzQcNSn9dAhm7JYg?= =?us-ascii?Q?358UqkDaKjdXOv92/nmFuqfSUQlrCaIYnVzbw5NuDyN73yrOQXWk9sM9evUW?= =?us-ascii?Q?tRq2HK0QSGf7lRIxahyphsSsg5Zs3bV01LDBzox/bKfbSMccY5Dkjv4dnNHQ?= =?us-ascii?Q?Pf2qpeLGMavlVbce8okVCNassG0XpSWgW5B7Shk4YaBSoSl0aM7UiecT443m?= =?us-ascii?Q?sy9iZ8hgFU15YTWUwcgg/7lfcnkuKNDiVUwgoOe88+ZaG9YLdYa3hpDflVe0?= =?us-ascii?Q?5TMEtqz6x3WvdWBfraSuYyQ2+/Z2FcsL63KY7yC5FxBiMGM4ZqeoNBNGxO3J?= =?us-ascii?Q?kdvJblRTzBrLwuBQ2Y6y3Ftm+eFt0QrRbCvu/DdupPIQ/ArY6ewSIskbayOw?= =?us-ascii?Q?udi7Kt6OuEpqrlzU/irLfA7i1ix8aAU8u59SHiNOVm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76DEQObI+99+WdrV37VMMIG0gdsjAtm0oPO6YPJNd9CYYfLm/?= =?us-ascii?Q?+gx38C58VSyoFeSRAab8CtVp/SEmac8Z7wPIayDnsERfJiHK7ZCLX8uqw7eb?= =?us-ascii?Q?0TM9URnlYgolGWvNACN92BKNBVFsotmJ1IZ/GuOUDNydyRNtyEF24ORJyWel?= =?us-ascii?Q?YSz/lRbhogaPFJU2BQaMD+P0coHGFQ44dfstnUyn?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR11MB3366.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ff3e59a2-80b7-4d44-d90a-08dbae2d4a0e X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Sep 2023 16:29:34.2184 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: mS0xhNflQR1K+gezWoob9iS+vV9W9XLqN+e9zP5Q02KsdBmBdwFa8nP3QavNB7c6AVWB4Ub7sQKtSpVAvEyYmw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW5PR11MB5883 X-OriginatorOrg: intel.com 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 > -----Original Message----- > + uint8_t *rss_key; Instead of pointer can you just take key of type below, so u no need to do = dynamic memory allocation using malloc and free . =20 Ex: uint8_t hash_key[RSS_HASH_KEY_LENGTH]; And then do below ? rss_conf.rss_key =3D hash_key;