From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0045.outbound.protection.outlook.com [104.47.37.45]) by dpdk.org (Postfix) with ESMTP id 80E5A293C for ; Thu, 25 Jan 2018 12:21:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=sjyYsAJFZVJxfeteEOcomx8UVKf+rkQhswFCM2iZn9I=; b=gN6IFT8SmUvrAn6drkAZt30fK+BB5wn4gR3NEGQx5AteGaT+Oxry/WGyGx6XmaW2Xom3FybC2qc+AXAldWqEA3z874sjeEgOdqPj9Y1aPFnEzTJf0TK87Eks8lWJCl63mvsAor4tpmxCeCR1ETNMtGB9FXM6aXshPn8ytkJy7fk= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (106.200.201.178) by SN2PR07MB2527.namprd07.prod.outlook.com (10.167.14.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.428.17; Thu, 25 Jan 2018 11:21:37 +0000 Date: Thu, 25 Jan 2018 16:51:17 +0530 From: Jerin Jacob To: Hemant Agrawal Cc: dev@dpdk.org Message-ID: <20180125112116.GA7771@jerin> References: <1516874011-8760-1-git-send-email-hemant.agrawal@nxp.com> <1516874011-8760-6-git-send-email-hemant.agrawal@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1516874011-8760-6-git-send-email-hemant.agrawal@nxp.com> User-Agent: Mutt/1.9.2 (2017-12-15) X-Originating-IP: [106.200.201.178] X-ClientProxiedBy: BM1PR0101CA0033.INDPRD01.PROD.OUTLOOK.COM (10.174.221.19) To SN2PR07MB2527.namprd07.prod.outlook.com (10.167.14.155) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a1656bf7-e330-4cf3-4035-08d563e5cd8b X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:SN2PR07MB2527; X-Microsoft-Exchange-Diagnostics: 1; SN2PR07MB2527; 3:BGmOHs0BcIKDLJs765dojPdd0UjAZPXzeGWsdDf11qyyQpShyoj3aFaP/3dnGsyJIkBZOoxfeGNx9nXkjIyKYm61bgnOrwAS/UztaybCa0AFvdxTHPZDIJzyZGxwWrPLVrQb1HRBuTUF7e5mWu08bq5QrbOXbZ+gevJq1wzN4sSerKaskWQBiHmtZIwSZIE0yG2e1E58tlul6p1aK5std8sUPds39DdzAW1XcmCX/X/JB85eZx9ixh1POjh3n8q1; 25:0lLEo3hfvy0Tq4oz544Ev1Npw5Kj1AKMQgMNwamZeGdZr+M0QFSbRIr5oeSHTkamg+Ycy69RPSsUAP8m8HKGsQVz7etGc0+8mWRw+BJ9rEaDygLxGZqlv14HeYY/sNkPes2HlMTebfLClUo2botkk/G31u2HJOGn0EYs56PY70Tsk7O3om+mrmknD4FgyyFHJBlj9CmwVJIsqJ78iBL3j7MDrJo+0J2+BaKBNjLZfnwYd8TnUu1tDWRTau2eVlQdySl3gBrVcuKAz94musizbeSFxgyd+OllAOOmQB76gHNbmyZ1zU7N/g9FR7Oq2+zg8UrYUHvbdPBgnmaZRSHNhw==; 31:cn3ILSqHYzABXFqU+D0W+a0P6zn/mfGN4YFJz5UFkMjlC4RSA1eocea0pSITrebTZhxL3sqX39KZ4grXOEzafXKbas9hJJ8Vs6aK9Hwz+3yCp/hyP1fz3crUbKGcq2A93Abqpr+QBus6+rGcLhybKDc2AKSB+RO3F6kA3NL+KwsXLe1VYyJAyoi5tcTF90B2a3CTJLJeVQ5/N3fT1Akpr67e4HnSfTRl+bIIgX9/U18= X-MS-TrafficTypeDiagnostic: SN2PR07MB2527: X-Microsoft-Exchange-Diagnostics: 1; SN2PR07MB2527; 20:KIAZkYdnrT9S8IWkRpKuIdp8IUicpuMIWmttiLL5xqlAZLj00qasOgF0jDwHHcPRSO2LkPhWKhQoeQpxsBV+DQbDWj/UQDNlfnOBtISCfODL0AEdF3nB0o7Rh7Qukwxs4itNYW8VOc5s23JCK+qw2w0CuIQxfEjPOvQzwfUfR/yvVS0lwf/4HmCwW2qnzZ4/iTuLLwgXbfaVrdsRLugPKUg12wfLgZIpY9EXqR9qiNpkqDYM2qkT5YaziKrOLINV2kgTZS2MqUYyfIDLjg5974gaUdp3KUxAEfETai1zAQkauO6NFJTpX3/86WNd+Sg1qMcGjMDqjB4o1+UiYKWIn6fHPIJCdYGNrSofBN7qdOZOiVoh6Fs/MlW6Yb/lG+EDs5kBvwXdBKUfaZFoYq/cU26cPhZzg8RZWRGSSTvyeLuRjuQS5Vg30/svIaUgyeLomDUKd9vycFXloFWvxbaTS9SMJW25p8eyS+VnMmbMXeAfIq+HjlAHiLWnV3GJHlb3K+eElw1Gi77d043Df9TL5XfFd7LBcdkzzg44kaMMBlgse/jepncqTMW+28lMNJGSbDFPqqhUxfcn3tmgL549/AcZLbqtWfzGizYQTZcuVg0=; 4:hR9v92K8+qzHlEd9GzCT46VGfZnWQ16dt7Zk+qsa5LEVUADNqNgo7iT+McngexRJlsQWPoyWpRQ37xUBcIu580NpxCAZdwseurr9anw56tvu+q1wbG1ENFp39ETI9SS/zy42vXyniDAsNTaJAkap1UJEKFMrxzGYw7yVQE4vYhIT3l5kj4846t/VkRY3jtXsljEzLhQcSGwXTNC46eg4McmF1mPACt5pz/xcVKE6vSQdea50BYfHbJYcs+xyxjTQJquwEDXcwnZXvFaIrhO0W2fEm9yWCzCtMEdbP8EphqC13Rf2Negbkjt08hjTFezq X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(5005006)(8121501046)(3231023)(2400081)(944501161)(3002001)(10201501046)(93006095)(6041288)(20161123562045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123564045)(6072148)(201708071742011); SRVR:SN2PR07MB2527; BCL:0; PCL:0; RULEID:; SRVR:SN2PR07MB2527; X-Forefront-PRVS: 0563F2E8B7 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(396003)(376002)(346002)(39860400002)(366004)(39380400002)(13464003)(189003)(199004)(9686003)(8656006)(106356001)(305945005)(42882006)(4326008)(229853002)(97736004)(33716001)(6916009)(47776003)(8676002)(25786009)(2950100002)(105586002)(7736002)(81166006)(55016002)(72206003)(8936002)(6116002)(23726003)(3846002)(1076002)(26005)(186003)(16526018)(53936002)(5009440100003)(6246003)(5660300001)(81156014)(83506002)(50466002)(6496006)(68736007)(2906002)(16586007)(316002)(76176011)(478600001)(52116002)(66066001)(33896004)(6666003)(59450400001)(33656002)(58126008)(386003)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:SN2PR07MB2527; H:jerin; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN2PR07MB2527; 23:0tOYSlrJMs71FHX8Pc0roUFqWafPotebJXhDD/PQU?= =?us-ascii?Q?yb00yKK1PyIaLFksfMNlKxPgcWWOCqET4faKAJarVHTWceJXfSqpbQBr6j6N?= =?us-ascii?Q?HOB1++vXOnia3Z9oZap14CXeDJN15Q3FMsAgY84Okl27ah5Zu4DcKVSeaRYa?= =?us-ascii?Q?Q3jxxCTt4paXNnk7edUJeCgdE+UkJm6hhaX3bvEZMe3XDQ+kIxUfXDtzIlUE?= =?us-ascii?Q?cnM4jmvn/u/iARvr99GkkxzNUHQTG/yYjeJrqM7/2ds7pP/tHd++yY+Hde/u?= =?us-ascii?Q?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j1yYRXdSdO0i9i6xRkMJIn7DR09EfymjRvaaqI7N9JGa7h1CTCQeP6HywA1KIu04zwcWnEmOeaH+UBuj6NPZztO0+kfGQo4EHww/EbIlpzbQfabltaaPqpEfKO+EQN+Oc6K SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jan 2018 11:21:37.6785 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a1656bf7-e330-4cf3-4035-08d563e5cd8b X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN2PR07MB2527 Subject: Re: [dpdk-dev] [PATCH 5/5] config: enable dpaaX drivers compilation for ARMv8 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jan 2018 11:21:42 -0000 -----Original Message----- > Date: Thu, 25 Jan 2018 15:23:31 +0530 > From: Hemant Agrawal > To: dev@dpdk.org > CC: jerin.jacob@caviumnetworks.com > Subject: [PATCH 5/5] config: enable dpaaX drivers compilation for ARMv8 > X-Mailer: git-send-email 2.7.4 > > This patch enables the NXP DPAA & DPAA2 drivers for > ARMV8 targets. They can be used with standard armv8 config > with command line mempool argument or newly introduced > platform mempool internal registration mechanism. > > Note that the dpaa(x) specific config files are still preserved > to continue customer support. They also contain some of the ARM > performance tuning flags. e.g the default ARM cache size of 128 > is not optimal for NXP platforms. > > However, these configs will eventually be removed once a dynamic > mechanisms are developed to detect the performance settings. > > Signed-off-by: Hemant Agrawal > --- > config/common_armv8a_linuxapp | 58 +++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 58 insertions(+) > > diff --git a/config/common_armv8a_linuxapp b/config/common_armv8a_linuxapp > index 790e716..572db11 100644 > --- a/config/common_armv8a_linuxapp > +++ b/config/common_armv8a_linuxapp > @@ -34,3 +34,61 @@ CONFIG_RTE_LIBRTE_SFC_EFX_PMD=n > CONFIG_RTE_LIBRTE_AVP_PMD=n > > CONFIG_RTE_SCHED_VECTOR=n > + > +# > +# ARMv8 Specific driver compilation flags > +# Will it be better if it is enabled in generic config? If you have any assembly code then you just stub it for non arm64. Since these are integrate controllers, I guess, there is no issue in stubbing the non arm64 specific things. I believe in that way, it will be maintainable. i.e there will not any case where arm64 config failing but not non arm64 configs. On the upside, The common code(ethdev, cryptodev) changes will be build against your driver by all the developers. > + > +# > +# Compile NXP DPAA Bus > +# > +CONFIG_RTE_LIBRTE_DPAA_BUS=y > +CONFIG_RTE_LIBRTE_DPAA_HWDEBUG=n > + > +# > +# Compile NXP DPAA2 FSL-MC Bus > +# > +CONFIG_RTE_LIBRTE_FSLMC_BUS=y > + > +# > +# Compile NXP DPAA Mempool > +# > +CONFIG_RTE_LIBRTE_DPAA_MEMPOOL=y > + > +# > +# Compile NXP DPAA2 Mempool > +# > +CONFIG_RTE_LIBRTE_DPAA2_MEMPOOL=y > + > +# > +# Compile bust-oriented NXP DPAA PMD > +# > +CONFIG_RTE_LIBRTE_DPAA_PMD=y > + > +# > +# Compile burst-oriented NXP DPAA2 PMD driver > +# > +CONFIG_RTE_LIBRTE_DPAA2_PMD=y > + > +# > +# Compile schedule-oriented NXP DPAA Event Dev PMD > +# > +CONFIG_RTE_LIBRTE_PMD_DPAA_EVENTDEV=y > + > +# > +# Compile schedule-oriented NXP DPAA2 EVENTDEV driver > +# > +CONFIG_RTE_LIBRTE_PMD_DPAA2_EVENTDEV=y > + > +# > +# Compile NXP DPAA caam - crypto driver > +# > +CONFIG_RTE_LIBRTE_PMD_DPAA_SEC=y > +CONFIG_RTE_LIBRTE_DPAA_MAX_CRYPTODEV=4 > +CONFIG_RTE_DPAA_SEC_PMD_MAX_NB_SESSIONS=2048 > + > +# > +# Compile NXP DPAA2 crypto sec driver for CAAM HW > +# > +CONFIG_RTE_LIBRTE_PMD_DPAA2_SEC=y > +CONFIG_RTE_DPAA2_SEC_PMD_MAX_NB_SESSIONS=2048 > -- > 2.7.4 >