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 41122A0C57; Mon, 1 Nov 2021 12:37:02 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BA4A140E28; Mon, 1 Nov 2021 12:37:01 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id CF72240DF6 for ; Mon, 1 Nov 2021 12:36:59 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10154"; a="217908387" X-IronPort-AV: E=Sophos;i="5.87,199,1631602800"; d="scan'208";a="217908387" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Nov 2021 04:36:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,199,1631602800"; d="scan'208";a="540234397" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga008.fm.intel.com with ESMTP; 01 Nov 2021 04:36:57 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Mon, 1 Nov 2021 04:36:57 -0700 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Mon, 1 Nov 2021 04:36:56 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Mon, 1 Nov 2021 04:36:56 -0700 Received: from NAM04-DM6-obe.outbound.protection.outlook.com (104.47.73.45) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Mon, 1 Nov 2021 04:36:54 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jEP25K2a9jWogfCKr18UAOirc+7rXsGNB0CeEQRsIydRP7MsjUuh/tslO9l69UG8zTByRvj7nS+YHQV8Sl6D1CcllqRyZWnIYI/I9aw0Ps1/+6uHWdMBMesN5poCZXcFgTwEPUhHtr3HYOTiCHrpydsLOLvwHFswWJ/5rfSEjYz+n3hymKrQ23O1EA5F7uDACqOJI6k19NsfIeBOLqN1jBvBreJl5rcfO8VY0Tx7/6+yWuaHe2l7Wo5/nF/3oDsTfpx9f+7dm9GVOaQBPc0sfvTKLqHprW7y1e7BKiNV7K6RhR+uGMZJl3zMcggWvf/nO5lU8u9qM0jqXIf1nlqlLA== 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=SW7JI0lxknA49iaB5tePS1JgthbpPn6xIHlF7jTORb8=; b=H7AzD9+1+TvBQezHCliiCffYN0xEVjv1yEVjOvyT8AQlKaMDM0iONMXLn6EOM+Pvf+3sQ/OwbIznXCtRUVDFo/omlSRZbfBWij4QLwjk7kfZVgtGldEa95u/5pIbeukFtxNufCefs9KB8udaHtMVQtSwwGSKqOHsQzsLxph3yEK/No7P3DTKoctB5qIRre/ssQLtIRksiB2Cu/m0gLx1NeNs47FS18vGkprHE/6PsrNFDUlKp6ZfrmtJ5/8ZVkujRxJPyiawAAB0FNRPDiTSCvIr0AC1q5q/+ltf8brm0WConOdM0dsSfp74U8svDlc/inFF8jn43QDJ6Flst4njcw== 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=SW7JI0lxknA49iaB5tePS1JgthbpPn6xIHlF7jTORb8=; b=DLMgezEBwYzP7rhdnrIjr8lfjGYuPV5MW7HnNNtfZR+eke2CZt+q+gB1yOU7Y8P8KjuoF4HFe5t+Vxzqv5PXTSENe/Pw/ZUzZKOuOsIjQtn1pB1K4R39TPKhGw6YWPBJSBUssqRtkVR/RjRLZS+MpcUZDSbIFilUJat3GUbn4+4= Authentication-Results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH0PR11MB5158.namprd11.prod.outlook.com (2603:10b6:510:3b::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.15; Mon, 1 Nov 2021 11:36:45 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd7d:29be:3342:632c]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd7d:29be:3342:632c%5]) with mapi id 15.20.4649.019; Mon, 1 Nov 2021 11:36:45 +0000 Message-ID: Date: Mon, 1 Nov 2021 11:36:37 +0000 Content-Language: en-US From: Ferruh Yigit To: David Marchand , Radu Nicolau CC: Jingjing Wu , Beilei Xing , Ray Kinsella , dev , Declan Doherty , , Qi Zhang , Bruce Richardson , "Ananyev, Konstantin" References: <20210909142428.750634-1-radu.nicolau@intel.com> <20211028160500.2775783-1-radu.nicolau@intel.com> <20211028160500.2775783-5-radu.nicolau@intel.com> X-User: ferruhy In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: DB6PR0202CA0012.eurprd02.prod.outlook.com (2603:10a6:4:29::22) 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 DB6PR0202CA0012.eurprd02.prod.outlook.com (2603:10a6:4:29::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.14 via Frontend Transport; Mon, 1 Nov 2021 11:36:42 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8710dbb1-7de3-4369-981a-08d99d2be1e0 X-MS-TrafficTypeDiagnostic: PH0PR11MB5158: X-LD-Processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2399; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 1PdDmhmOwxNjC6UCxM8CnWsPgHAormeNkK0VrFBSIEeTWwmP/8TaVtnuri4FraaNXDZw7QTnKp72GXcr64COvhs6+Q+rsd3Y1BmfTWUInHJYraUYUAxdJQ2dHRJ/pDPVsmibjABn0GCOAuMiSnF1mhF/BN14rEeFVDoQJ+6iZ9WyoWgNLw2xXmmt9OeXSxWQcpRMjvmhuyvuWESkbJ93/QXgL7p9p4PCkfWMI7k/eZByVG3YGgcGHpGL/OxY6R5+i8ckcyMTU9GsjdaUWPBypuOhWQUAasnfB35Oe3BpoFZGEaKVkYuWcjyL/eArMhVpDLIgveyYzkpt665/ojBWKHvvIMbjF/vLD63ft8jLsLMeOmCOqh7SyelgyhzqlJaTDk8/f4TFUooKFwdQqkma/mv/4nsHSwH3SUytEi22+fEmyG4Wvu9AxkC/pFT3fFmliM9YJhr/a38p/cOZLEoYugJoB1YonNGSmI4/cxqkA1/JVle3qk+FbjFW82U+jCwXb3/jBEbeXVchHFR1IRFP34lOL5ABWqzSeDe0HWNcYf7klkYERafM53k0WTFLkE4eBBXh5s7YJBf807HHpbiwaLCrLTj0wesV09y6Lhpi6SoFoqwehiIviNl50uVdv1I5dWmmKrR6GM7X2JFQZzV+7BSFIXCHjITU6w8Ic+oFFdOjPq/bD4ur83H4tb3c7t1CMvuP+XdWPW7Yemw2uYwaX7u4uNfVaIPBOjq2ev+nQn7m+kQMBwn7PajSwdVZ/2VysH2W0vbQMYLGS++EmdCapucRBwS/eCuL3a9hSmSLFss= 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)(186003)(44832011)(8676002)(508600001)(82960400001)(6666004)(6486002)(6636002)(107886003)(86362001)(38100700002)(2906002)(316002)(53546011)(26005)(8936002)(66946007)(16576012)(66476007)(966005)(66556008)(2616005)(83380400001)(956004)(31696002)(4326008)(31686004)(36756003)(5660300002)(110136005)(54906003)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?ZXBBcFVuWUduYmZQejRBcFZpTFlRRGwraGJFbkpjYUc2dXFYRXRnWXJ4QVZa?= =?utf-8?B?bElGVDJrNlRWMC9lZjFXd1UyWVl5Q0ltVzBMV1l3NmU0S1M5M2FCcThmRGt5?= =?utf-8?B?SXFtNEdwRjczYk1ibHJMNWQ0ZXo2VVpLNkVPT2RUU0loMnN4R1Fxby9GNnVV?= =?utf-8?B?eWMxUmUrek5odTRqck5hSWszQXRMOEdvZ0FEcmZTZ2Q1TmwvR0cwVnIvRVpH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bjA1N0lSMWpZbmVFMnJC?= =?utf-8?B?eHZGVEQ2bGg4TGxGRURDZG1XRkY1ZGVVOVBha3BySDZlSWZvSEQ2elhFTjlP?= =?utf-8?B?L25CbHhRcDFIa0xKbFg3ZEtrMDF1bnNUekdqRlN0K3ZuQ3RTVXBZNHQra1pB?= =?utf-8?Q?tpA5yI5RKazdt+YwwOdYuEA=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 8710dbb1-7de3-4369-981a-08d99d2be1e0 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Nov 2021 11:36:45.1071 (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: 5rm9MEhV5yG5Dd2D345G5ZQRhy0ni0d8xOaQKcwHZ31k6QVESlWt9L8IoEZjf/U43fia9yDFTW24IFJUlMYSEg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5158 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v13 4/7] net/iavf: add iAVF IPsec inline crypto support 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/1/2021 10:45 AM, Ferruh Yigit wrote: > On 10/30/2021 9:41 PM, David Marchand wrote: >> On Thu, Oct 28, 2021 at 6:21 PM Radu Nicolau wrote: >>> +static const struct rte_cryptodev_symmetric_capability * >>> +get_capability(struct iavf_security_ctx *iavf_sctx, >>> +       uint32_t algo, uint32_t type) >>> +{ >>> +       const struct rte_cryptodev_capabilities *capability; >>> +       int i = 0; >>> + >>> +       capability = &iavf_sctx->crypto_capabilities[i]; >>> + >>> +       while (capability->op != RTE_CRYPTO_OP_TYPE_UNDEFINED) { >>> +               if (capability->op == RTE_CRYPTO_OP_TYPE_SYMMETRIC && >>> +                       capability->sym.xform_type == type && >>> +                       capability->sym.cipher.algo == algo) >>> +                       return &capability->sym; >>> +               /** try next capability */ >>> +               capability = &iavf_crypto_capabilities[i++]; >>> +       } >>> + >>> +       return NULL; >>> +} >> >> As of cc13af13c8e6 ("net/ngbe: support Tx done cleanup"), next-net >> build is still KO for Windows: >> http://mails.dpdk.org/archives/test-report/2021-October/236938.html >> >> FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ipsec_crypto.c.obj >> "clang" "-Idrivers\libtmp_rte_net_iavf.a.p" "-Idrivers" "-I..\drivers" >> "-Idrivers\net\iavf" "-I..\drivers\net\iavf" "-Idrivers\common\iavf" >> "-I..\drivers\common\iavf" "-Ilib\ethdev" "-I..\lib\ethdev" "-I." >> "-I.." "-Iconfig" "-I..\config" "-Ilib\eal\include" >> "-I..\lib\eal\include" "-Ilib\eal\windows\include" >> "-I..\lib\eal\windows\include" "-Ilib\eal\x86\include" >> "-I..\lib\eal\x86\include" "-Ilib\eal\common" "-I..\lib\eal\common" >> "-Ilib\eal" "-I..\lib\eal" "-Ilib\kvargs" "-I..\lib\kvargs" >> "-Ilib\net" "-I..\lib\net" "-Ilib\mbuf" "-I..\lib\mbuf" >> "-Ilib\mempool" "-I..\lib\mempool" "-Ilib\ring" "-I..\lib\ring" >> "-Ilib\metrics" "-I..\lib\metrics" "-Ilib\telemetry" >> "-I..\lib\telemetry" "-Ilib\meter" "-I..\lib\meter" >> "-Idrivers\bus\pci" "-I..\drivers\bus\pci" >> "-I..\drivers\bus\pci\windows" "-Ilib\pci" "-I..\lib\pci" >> "-Idrivers\bus\vdev" "-I..\drivers\bus\vdev" "-Ilib\security" >> "-I..\lib\security" "-Ilib\cryptodev" "-I..\lib\cryptodev" "-Ilib\rcu" >> "-I..\lib\rcu" "-Xclang" "-fcolor-diagnostics" "-pipe" >> "-D_FILE_OFFSET_BITS=64" "-Wall" "-Winvalid-pch" "-Werror" "-O3" >> "-include" "rte_config.h" "-Wextra" "-Wcast-qual" "-Wdeprecated" >> "-Wformat" "-Wformat-nonliteral" "-Wformat-security" >> "-Wmissing-declarations" "-Wmissing-prototypes" "-Wnested-externs" >> "-Wold-style-definition" "-Wpointer-arith" "-Wsign-compare" >> "-Wstrict-prototypes" "-Wundef" "-Wwrite-strings" >> "-Wno-address-of-packed-member" "-Wno-missing-field-initializers" >> "-D_GNU_SOURCE" "-D_WIN32_WINNT=0x0A00" "-D_CRT_SECURE_NO_WARNINGS" >> "-march=native" "-DALLOW_EXPERIMENTAL_API" "-DALLOW_INTERNAL_API" >> "-Wno-strict-aliasing" "-DCC_AVX2_SUPPORT" "-DCC_AVX512_SUPPORT" >> "-DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.iavf" -MD -MQ >> drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ipsec_crypto.c.obj -MF >> "drivers\libtmp_rte_net_iavf.a.p\net_iavf_iavf_ipsec_crypto.c.obj.d" >> -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ipsec_crypto.c.obj >> "-c" ../drivers/net/iavf/iavf_ipsec_crypto.c >> ../drivers/net/iavf/iavf_ipsec_crypto.c:111:31: error: comparison of >> integers of different signs: 'const enum rte_crypto_sym_xform_type' >> and 'uint32_t' (aka 'unsigned int') [-Werror,-Wsign-compare] >>                          capability->sym.xform_type == type && >>                          ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~ >> ../drivers/net/iavf/iavf_ipsec_crypto.c:112:32: error: comparison of >> integers of different signs: 'const enum rte_crypto_cipher_algorithm' >> and 'uint32_t' (aka 'unsigned int') [-Werror,-Wsign-compare] >>                          capability->sym.cipher.algo == algo) >>                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~ >> 2 errors generated. >> >> > > Thanks for the report, I will update in next-net as following: > > diff --git a/drivers/net/iavf/iavf_ipsec_crypto.c b/drivers/net/iavf/iavf_ipsec_crypto.c > index 19e703e6895d..935f436ac4f1 100644 > --- a/drivers/net/iavf/iavf_ipsec_crypto.c > +++ b/drivers/net/iavf/iavf_ipsec_crypto.c > @@ -108,8 +108,8 @@ get_capability(struct iavf_security_ctx *iavf_sctx, > >         while (capability->op != RTE_CRYPTO_OP_TYPE_UNDEFINED) { >                 if (capability->op == RTE_CRYPTO_OP_TYPE_SYMMETRIC && > -                       capability->sym.xform_type == type && > -                       capability->sym.cipher.algo == algo) > +                       capability->sym.xform_type == (int)type && > +                       capability->sym.cipher.algo == (int)algo) >                         return &capability->sym; >                 /** try next capability */ >                 capability = &iavf_crypto_capabilities[i++]; Hmm, with this some other compilers are failing with same error, it looks like compilers can't agree on the sign of the enum. According standard, enum type is implementation specific ' N1570 Committee Draft — April 12, 2011 ISO/IEC 9899:201x 6.7.2.2 Enumeration specifiers 4 Each enumerated type shall be compatible with char, a signed integer type, or an unsigned integer type. The choice of type is implementation-defined,128) but shall be capable of representing the values of all the members of the enumeration. ' I will cast both enum and value to 'int', although it looks ugly.