From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0077.outbound.protection.outlook.com [104.47.32.77]) by dpdk.org (Postfix) with ESMTP id 8148EAA90 for ; Mon, 2 Apr 2018 10:43:14 +0200 (CEST) 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=B5FS/LohaX+vWirNxr17g+GFmHwwDeXxaLXF/gSO8iU=; b=OquILXLeW81Knoy8W0tEXoIqVtz3wYCMg7ER6X8MkFBeFcR7eIjnLXbcpeUHSyLAyxWNxPugFF/LafbCaS5WihPj1Ynke+ytT5oWpZJpWWcAYw2aZLu0X7y6oZdr1L77nlTurblsKzqZ6U6Z97SnOOoYL10T9Z4CzQWocIDg/Gg= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (122.167.95.141) by CY1PR07MB2524.namprd07.prod.outlook.com (2a01:111:e400:c636::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.631.10; Mon, 2 Apr 2018 08:43:11 +0000 Date: Mon, 2 Apr 2018 14:12:45 +0530 From: Jerin Jacob To: Erik Gabriel Carrillo Cc: pbhagavatula@caviumnetworks.com, dev@dpdk.org, nipun.gupta@nxp.com, hemant.agrawal@nxp.com Message-ID: <20180402084244.GA28185@jerin> References: <1520546046-6973-1-git-send-email-erik.g.carrillo@intel.com> <1522358852-3630-1-git-send-email-erik.g.carrillo@intel.com> <1522358852-3630-6-git-send-email-erik.g.carrillo@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1522358852-3630-6-git-send-email-erik.g.carrillo@intel.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-Originating-IP: [122.167.95.141] X-ClientProxiedBy: MAXPR0101CA0042.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:d::28) To CY1PR07MB2524.namprd07.prod.outlook.com (2a01:111:e400:c636::15) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a3a2a82f-a6bb-49f4-5f28-08d59875c51b X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:CY1PR07MB2524; X-Microsoft-Exchange-Diagnostics: 1; CY1PR07MB2524; 3:UVM9vgSlWwoCQtqVtvJiPYv5xP149nfOGf8l1N0GddtEN2PJnlqSAD65vvnALuavMeWzjhaI9ZSHlbWfGOzF85CRM6V/dgrKYkDg5klIWdwWf5HV0PWnCZ44DP9t56yBoaTp/2AWXfIIl+Sv2cKGZbko+mXHrRkBX2hlGAYJkQ4ktJQG0mLeKCGPPnvJt40awcSreLC36GWj9Vx2tt4BqbS3QWbVngZpwuy4kQXjxuLS+GSz8c//TUIsx8UFlC/4; 25:uYnqRz4JJqaYTiyH7m3ZyVncvHPi9rNIA1WyzMoqAip7pTVhGQgj399xab4pxdohsr4wpktYsR7ENdPi1mh14hu6y0rovFeWdbzYuvAb2HnLhO4AgWJ1SLOCnDLBv0f8kWXg65siOQZRUnN044sjBp7SJO3FTk5ryt36ucxRhOZfxteIXqmX0vcsEQU7Gm4qrClFqWK3+eZ6RIeleJ84mlMrDQMDcjw6SAU/M5lT0xvpxP1mAcHR7A2yEc7iMluH5yDiaiYhn2Va1yx497wt6xUORShVzcjNeDip7p6WUO1W9NvWc/uA/2ATEkzl1zIEDCM7BrfcFEpuu/bmkGOu0Q==; 31:J4w4/s5C1Ld+c38qpo0pgM5/9mQV6cqXl0o86TSdgQXD4Wdma6k8F0h1Cc7AtEo/5ckc0uQQrjpkZGMnnpD0yKcDsU4viCrhT2QOxFs6FlkiirEAvUceNdynCxLhQVyhr5Orq8xHqKZIQZapNzlZobSP9aL8PBsEoiHZYVSp3ubloomAJotdik83+UiloqLi/3/vAgqqiL6UL7aeyQoEcLqAfceONPV2D0xlt1fCG70= X-MS-TrafficTypeDiagnostic: CY1PR07MB2524: X-Microsoft-Exchange-Diagnostics: 1; CY1PR07MB2524; 20:sKP1bGG/e5vNcGshzbydSHbYRJ3sMzEhJh4Pfkya4t6OxLP0FkGGBTX6JRbNtdfG3jup9yDKFQD6Rbw7QA9JWr9xSUv76r5Vcy/g7992WX6T8ciGSANGWn2LUH6gwovdJexvXmZwzeVg3BJ1Q2GrhgXslqs2qAo9MNAGZgmg5AXPMjmBnuLuY1Gv4cHdlObxTDEOLmefU37Muj1FCK9wimkmNUlxlyyS/yslJmHCeIdAcJc9NiuwYAacRoD196sOEDKcR7zssJY0pCIz6W+jbfOyIkFQmefKkGGukmDSKsfOoewmj1wR8MbYaK0y0c6IshI9jRDxJ3ba3jHg7OI99ysCmYLlWIQYsRW1D0hTwVJTfYeZJZ3Mf4y9+yumJkgf1MSARL2oGVfVyKS05gecEB/oAwncpklFTMQiMQMhJHcV1fsypDWGKROeTI2utHTLIc+kxnJVPGnajseU/RLaxBQHu9oU/D4qs6q8V7qCQ7C5BsDt/36I54zFu0ZP4BdwwMgDjWc/nKxIsu2IZcnrF/afZWSYCF3vmZKSrd6tJu8XuVB+Fs9uJaYJzEK2FLiSnULpmmAthDZ86gLIus2yFu5CFqQfkjv6KUkI8+G7HOk= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(3231221)(944501327)(52105095)(10201501046)(3002001)(6041310)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123558120)(20161123562045)(6072148)(201708071742011); SRVR:CY1PR07MB2524; BCL:0; PCL:0; RULEID:; SRVR:CY1PR07MB2524; X-Microsoft-Exchange-Diagnostics: 1; CY1PR07MB2524; 4:gjAr76lTdm8uiWfupmyt+uFvP1Y5bIjPJgoxHaND96lwot2nQK7AUp2KNtj2JiUP9WAyF0IEh2BA9yvibY/Do9dF7o1XVtZeJ8ln+K2Psb5Pfco8QtxTpuj2aSRlFFjxXEczR+SPf25n06C9/LaBykdISSzY+Z9OS4qOykoUZF3Exd46OJts10QADaxd1utxN3PplRmvMLbni+NYwXuDwN9nJVmmnUUBbx2D9DlDZ/T0s6+TIEQxwMRLh9PrpUK1YHDMhPrE3wXt1jS4pHzucDdZrvBRJ1/Zo+2XCf4Tsvm9nUEllkzs0ThOeQ/J0eAeEdQHMVGsOmkWDcZ2cOWbqPpCU4XcsznHjXwPkC3Bdpc= X-Forefront-PRVS: 0630013541 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(396003)(39850400004)(366004)(39380400002)(346002)(376002)(13464003)(199004)(189003)(2870700001)(1076002)(446003)(2906002)(6916009)(52116002)(6666003)(53936002)(6246003)(9686003)(55016002)(4326008)(386003)(97736004)(42882007)(81156014)(956004)(229853002)(106356001)(486005)(486005)(316002)(81166006)(8676002)(8936002)(3846002)(6116002)(11346002)(58126008)(476003)(33896004)(2486003)(23676004)(52146003)(68736007)(76176011)(105586002)(186003)(16526019)(26005)(25786009)(72206003)(7736002)(6496006)(5660300001)(305945005)(33656002)(66066001)(478600001)(47776003)(8656006)(50466002)(33716001)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR07MB2524; H:jerin; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDWTFQUjA3TUIyNTI0OzIzOmozbzBYdVZYSytBdFV3ZXNLbGJoV0hZZDZq?= =?utf-8?B?ZENvbVo5ck1xa2xNbVpGaUhXdXpvOWptMDVQc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-8?Q?LxlSmHaezjdWheb869Q/d5yChymjkGDx?= X-Microsoft-Antispam-Message-Info: L5RW2w7cQT08J7KWOJGT5iJAMYdvpxVuArKHxGJDNtgXFVxGtccQN++rafh3/NYOmWkijePkaTumlcLb8lp94xki/XasyTEF6/11p31KbusVKS/ChPNQx/LK1pTzsipT26Lipzc0YFAgFDALvGFUMDA+2+KiiWMTrhEcivZrUyMU6Wd/9pW298L2/ywz7B3C X-Microsoft-Exchange-Diagnostics: 1; CY1PR07MB2524; 6:1pg3r1D0UmfqoRT7eWDS+rQtR0buWNZw/3RKuTD4JTg3foayfK/swvFFLj/27RizIaiHbdCXRWlgbeHk4ezGqDulVfKisFU5t2lG9aor4SetK2jeTjMNqosVFuACWctOxkMaWEHWRFU+UOssL0ypZrLHtcq/0zDDfIn219J60PBKpPDJRckKtAlqS8y2FfC1yIrUNnhgWeHpOtrc0BMZUI5s2hW0w1cEOgIUY002ixWG9YAA9NtYblXgVhSP/4F0tMSdR0rrk/FbldqH/tlQCv31NfhIWMvoeyhRfJ0OBvu1FBxLXthdQt2LA2PkdEZZJ5t7F17hGYqGfQBy/r1ASDdUx0ZhjfjDV7HxNSmZMsOT1nNrkyRyuiomIN6hSuenc6VDVK5OHdSdjmTFFOijRRP8z5w4I1ruPycjARxqfuw3TI0P+yBkWPPgOEIpjArcnxdwBNggo5DEMePeXJRCcw==; 5:8vcChSWJxc7mvJT80FX3TWGOTWx24X4pCl3LeYOSSyEGjVl653cBd9vmnrMQ2QEK9astg/JV2BDqpLJhJeZ2CRqrxjkjPUQqYSbzP8DI9Bev67YHds+rAIkFIb7pK2OkvcQ1xsRnOFk532cV59HMMBP1lYchz3mL0MuHbGMA/8U=; 24:5sKZ82FUGF4ROQezFbO7Ikg941ntWWvgeWwYVCFmam2yBEUCWk2E9WL753peUsOp/8t6MGlnkQfxG4MxJZSBgh5rs6Tl9ZcnROPqG33U1XM= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR07MB2524; 7:galO37ftUvUB2K6Gf+QnKnNYlpTmqTQGfWmxyXFh6iH8Vnx5fSeuqzJ9kvksxKjjNLW2DJZ2RCj+1Gf6zc37qKKGM49OMJdcl23jd0IWmiYls8RN2W+GKPkNlaULc3QF39DaRKK7NOpb0Ml8JGaPmKg0FBjpslZwNjyN1XkTbB2MVGZz+Y5KAaurc5/AOTpWEKvOK+723CaYr7TuyqgJs9IqwhKyoRbA9McvRfYzWVQZArN/hUjjf2pc4j/i56BS X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Apr 2018 08:43:11.0325 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a3a2a82f-a6bb-49f4-5f28-08d59875c51b X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR07MB2524 Subject: Re: [dpdk-dev] [PATCH v8 5/9] eventtimer: add default software driver 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: Mon, 02 Apr 2018 08:43:15 -0000 -----Original Message----- > Date: Thu, 29 Mar 2018 16:27:28 -0500 > From: Erik Gabriel Carrillo > To: pbhagavatula@caviumnetworks.com > CC: dev@dpdk.org, jerin.jacob@caviumnetworks.com, nipun.gupta@nxp.com, > hemant.agrawal@nxp.com > Subject: [PATCH v8 5/9] eventtimer: add default software driver > X-Mailer: git-send-email 1.7.10 > > If an eventdev PMD does not wish to provide event timer adapter ops > definitions, the library will fall back to a default software > implementation whose entry points are added by this commit. > > Signed-off-by: Erik Gabriel Carrillo > --- This patch has following warnings /export/dpdk-next-eventdev/lib/librte_eventdev/rte_event_timer_adapter.c: In function ‘sw_event_timer_adapter_service_func’: /export/dpdk-next-eventdev/lib/librte_eventdev/rte_event_timer_adapter.c:699:27: error: ‘nb_evs_invalid’ may be used uninitialized in this function [-Werror=maybe-uninitialized] uint16_t nb_evs_flushed, nb_evs_invalid; ^~~~~~~~~~~~~~ /export/dpdk-next-eventdev/lib/librte_eventdev/rte_event_timer_adapter.c: In function ‘sw_event_timer_cb’: /export/dpdk-next-eventdev/lib/librte_eventdev/rte_event_timer_adapter.c:551:27: error: ‘nb_evs_invalid’ may be used uninitialized in this function [-Werror=maybe-uninitialized] uint16_t nb_evs_flushed, nb_evs_invalid; ^~~~~~~~~~~~~~ cc1: all warnings being treated as errors >