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 93494A034F; Wed, 10 Nov 2021 14:55:02 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7F1BF4068B; Wed, 10 Nov 2021 14:55:02 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id C4F5240683 for ; Wed, 10 Nov 2021 14:55:00 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10163"; a="232615914" X-IronPort-AV: E=Sophos;i="5.87,223,1631602800"; d="scan'208";a="232615914" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Nov 2021 05:54:59 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,223,1631602800"; d="scan'208";a="564529930" Received: from orsmsx604.amr.corp.intel.com ([10.22.229.17]) by fmsmga004.fm.intel.com with ESMTP; 10 Nov 2021 05:54:59 -0800 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Wed, 10 Nov 2021 05:54:58 -0800 Received: from orsmsx603.amr.corp.intel.com (10.22.229.16) 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.2242.12; Wed, 10 Nov 2021 05:54:58 -0800 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Wed, 10 Nov 2021 05:54:58 -0800 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.101) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Wed, 10 Nov 2021 05:54:58 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Bu+7CVgFqHkMf0+qxB6AaTh7CoVLeNTZSVsx/qllFpLCrM1Yk5XMQyXp7LOF5jWlVniXgXGZV/PGHAEjfks789otaS1/W0gfJE8KwY7fIuoF5U3IQsME/PJEZOSoFt+h7I/Hw9VM62070lsXNoDnTKzX6PxdVpDhLdChyW0y5TKXAQ4gzwVfCglfoEVuHmdhReYLvYUMuDBTybvSu7kG1p53NdjXx5Bg2vS6AXLYNqZOwk9psPTkH0ejoO9oM3J94PjzHImtwN4OyiZJqLc9gIhZ0+zJppB08a3DTOy5mTHAQChY10U6MTXxPNYLIiF12UTSeVdjDHkuwQFYG8YJWA== 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=NpFOfAapM4RNcui+68N5UTTFN2vl330OqgQw60QCkPc=; b=jPfMOeIUNkDoSYTtLyDvTmGGWIv6FJmeR03hIJNjdRFvOxNAD9+pOEHqYAVaqwCRuxu/qm4l4cGCZPDyvp3DVG4Mpam5sJLaRpnNZeviUkaaqz/Samk3ek7C/cC86NKqLN4l5k3eldhyqtY+U3KY0WOiUOfaCeX10IqobeFzBaejtnrfBLii5btfKGquyU1X2qq82nclQOOSAGn2Go0bPmHuBme6CWcqV31HmbgXddifNASDHEQDeZ5dkDtI6BcLl1CbzKxub260aaHef3LSRv77ade0XusqzWcu49e7647FwhVMwe4Po9lf8vSAWOEjPxQHDQ0hwhaPxF2ZkTEjBA== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NpFOfAapM4RNcui+68N5UTTFN2vl330OqgQw60QCkPc=; b=AX1w/1UBFqtMgGUz5wrq2I+9GeZZEI29lyQYXBPq96tYj/8wp2uLK3bjwKVGsDAXr/XiY1GfGFfn4ovD865VliqK4z/7nnN5U4UJGqmhDU4JAivGsg7ieoWpPSAanvxqu97WgdEpxayIDwjKvCoENYl7wfnfcm4elAwXmR5fAhY= Authentication-Results: nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH0PR11MB4805.namprd11.prod.outlook.com (2603:10b6:510:32::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.11; Wed, 10 Nov 2021 13:54:57 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd7d:29be:3342:632c]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd7d:29be:3342:632c%6]) with mapi id 15.20.4669.017; Wed, 10 Nov 2021 13:54:57 +0000 Message-ID: Date: Wed, 10 Nov 2021 13:54:51 +0000 Content-Language: en-US To: Apeksha Gupta , , CC: , , References: <20211109113432.11876-6-apeksha.gupta@nxp.com> <20211110074829.16654-1-apeksha.gupta@nxp.com> <20211110074829.16654-4-apeksha.gupta@nxp.com> From: Ferruh Yigit X-User: ferruhy In-Reply-To: <20211110074829.16654-4-apeksha.gupta@nxp.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0198.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1a4::23) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 Received: from [192.168.0.206] (37.228.236.146) by LO4P123CA0198.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1a4::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.11 via Frontend Transport; Wed, 10 Nov 2021 13:54:55 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0ac24602-f0aa-4eba-9562-08d9a451ae25 X-MS-TrafficTypeDiagnostic: PH0PR11MB4805: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1443; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: y8PVRpQpWMzskjLk4POXxWv2XYDrIGF3z9dZvYJGLey1Xg0yNVyqcTUJsmjZwVihMt1Z7w4uiIDpziuIvZzxmYmJvAiDX1Ro5sxmkCvGpRHHM+M5MBdZcDEF3QF4W0kvhG62K9JAUbmdoEBM05pxYulgAzmJ/ew0x885VBvH/p40ETd/B9R9MS+PeI+n83ATWSyGfRVWxHUT5EJg/0wogbgn8JOnbqEiXMHfkarMUUDE804b3b7887fsy1XX1dTWBylxMeqZuHkLd5f7N9beqB2XU6QB32ov1svOnbe/qVVFv/WXyYqtByw0dstEG1qwg9PkTRW4dOUE6MYaOG02VzRTNEOFEuGlF5Ipu6aFbMy/GQOb+12b9P719fNxRpJEAky827WuA7SdfHow5prUEA4MPoioe4olwaS2JqnMyhXCQGLwjuUl9DZ3Kvcv3zjYnuLyjTNoAsHrZ7toCS01gqg9ySm30ZkzB0QMtK9eXdxlQRxw1H0lksgllZ7WfbNTh8Pmw/BtCGiF+nJWjR+WKv6NJb/FcI+QsDxdf4JTwGmtXSBuhHLY2YwBgMYmRiBYwKeBZrB/qDeFz1dmvq55YcYc6A0ACLOhQz4WVVUpNUfpnmEvd2CwFByAXY2NTLcK8LZfvwLTxbusG/wjN1TtpE0Ip6dAVvUjR+6FX6D21/XY01kr0Gu30l9zXQGBT1FmUfdPXs43OpfwGOgoO76paA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5000.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(956004)(26005)(66946007)(36756003)(8676002)(86362001)(4326008)(6666004)(82960400001)(31696002)(4744005)(53546011)(66476007)(508600001)(6486002)(186003)(66556008)(38100700002)(31686004)(44832011)(8936002)(316002)(2906002)(16576012)(5660300002)(2616005)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?eldVTVRCR0VxTWxGaGdpZ0VJbzBEVHRaK21HamZmZ0RvUWxlY2Q0UHVIeGEv?= =?utf-8?B?eFgzR2twZ3haM1lxREtEUHlibzd4SGMyNmlRKzBCRGIzUEd5czN0QVFESnk3?= =?utf-8?B?TDdzK2pPUnM1UERvQnd4VTVBV09jWmF4SjFTNmJBZElNWmpEWUtBdjNHQWFS?= =?utf-8?B?VTNhaE5TWGhLL2MyaFJCdjYzV0NqRWNiVGZYd0J3VWFlRS84b0RKeVdxV3Rt?= =?utf-8?B?WDBFWTZObTR3Z2dsWWQzaXduN0l0U21OQUlpVjdyT1d5a3pRWUUzRjJ3Q0NE?= =?utf-8?B?TmRMenkrRG5TUG9wTnhySnZsQmRxaWxHcDZJeEhZSWEvWGQ4NWR5WXVCTEZt?= =?utf-8?B?ZHphQlZSU2oza0pIVHBoM01aZVhDNllEVzhiK1lEK0ZmY2p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-MS-Exchange-CrossTenant-Network-Message-Id: 0ac24602-f0aa-4eba-9562-08d9a451ae25 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Nov 2021 13:54:57.2940 (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: KxUzLdIFqjzF4shNmNFlbe9xdgE5ahL2ISTay4d/03YeOPj1ApM5gtZlIcnjt9IUUZVJQm6zx7UJw1BZPPOm0w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB4805 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v9 3/5] net/enetfec: support queue configuration 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 Sender: "dev" On 11/10/2021 7:48 AM, Apeksha Gupta wrote: > This patch adds Rx/Tx queue configuration setup operations. > On packet reception the respective BD Ring status bit is set > which is then used for packet processing. > > Signed-off-by: Sachin Saxena > Signed-off-by: Apeksha Gupta <...> > + > + rte_write32(rte_cpu_to_le_32(fep->bd_addr_p_t[queue_idx]), Isn't 'fep->bd_addr_p_t[]' a 64-bit value? <...> > + > + rte_write32(rte_cpu_to_le_32(fep->bd_addr_p_r[queue_idx]), Isn't 'fep->bd_addr_p_r[]' a 64-bit address, why doing endianness operation only on 32-bit and writing only 32-bit of it to register?