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 1B252A00C4; Fri, 28 Jan 2022 15:47:31 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B52F642890; Fri, 28 Jan 2022 15:47:30 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id CF6A840041 for ; Fri, 28 Jan 2022 15:47:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643381248; x=1674917248; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=qLcWWwquuk+GGqdziC+OH14fZnTzjuyjAdokVKAFSPE=; b=Xyy5II6y8bC0w4wk+hyuMHDnITfwVh4bbRaQYgqY2ieAlePMvIqIIFMU RROZvu58mlHKlTR1SU59yp38tdIpQ3t/73THt/PpAJwdfxIwOCi+nhjui CBlN1c422qAHjnUs94pr3QbCTV9nYFA50IDW5p4jkFijvR0nlfzWNuQaA 9oNGKBQJHh1maYNaqDfFj/mdJDUS5w1meCYjRwb6umMUcrQJKvw1fm3xj DoptIYq0Duw4q5AhcnSmfX+/n9KtFEkLK71LyMFVUBFcTkIRrjRjhzSYa dj1ms9I6k1xAUW4l7zU2qiQlhRsmWo0AcQ+no1VeN/jGLfzGsZxXSS1IP g==; X-IronPort-AV: E=McAfee;i="6200,9189,10240"; a="247351965" X-IronPort-AV: E=Sophos;i="5.88,324,1635231600"; d="scan'208";a="247351965" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jan 2022 06:47:27 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,324,1635231600"; d="scan'208";a="521729016" Received: from fmsmsx606.amr.corp.intel.com ([10.18.126.86]) by orsmga007.jf.intel.com with ESMTP; 28 Jan 2022 06:47:27 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Fri, 28 Jan 2022 06:47:26 -0800 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) 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.2308.20; Fri, 28 Jan 2022 06:47:26 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Fri, 28 Jan 2022 06:47:26 -0800 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.106) 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.2308.20; Fri, 28 Jan 2022 06:47:26 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Fnz0l9oNO0xmW0HjZHm7zIpw4/Aiubl7SMrwnKU2YyluqpmrEsOWMc54jZ0uHwnRFI62GEuos0EVweiIGOzhYKfcmdFFTo0mk2dc8v6z+VnRYyIys51RrqGNOOud2Lo7rSS5bBJe5uywOY7zMYSUed1ewHjhD4kSDp/aNENBmeigWSdCnBTzjtYBCilXtzmMEZNxqznVoVBAHZZdIlhTGLxIqNu5dyip/2xhFj3IGeBFNyomjcNEruXkBA2XKHhq2YsF50wnlm9H2fv/KY9BcRYd3pVZ87Z9R5cKgnQq7Dh3pes4EHZTaHHVlanwLKI5LnYshkYEC/EXD1FsvwIbpA== 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=VD+wUsoYrb6+c1lkHMdrYsb+AoqyMgwGMj09lxiVQGw=; b=kvI1zrCDvx8Gu0/80k2QibM7YPm6ufnHA3VpSTo+wsCtTX618es4wHo4DS0SaMXem4boT9qm+sV98vaZrXzDVQWW9G2rHX1r+9fv7HXko5Jtr1pNPg0k9xIuXAQ4aBtSUwBYaludM+jmZL8FBoJ1yq3936hc4Af1RUQE2D2aFN5Dr/ONhTyWiSIWK4AiZ34WgSbPrNi/AGwjyPDI1KJX9gh1eQbonO26+y2X1OYCL9ac0QEv/dPd/H3Z8PY8KPkb1d9pCyhRvupHF0fXHE3kX/gsWClhBXoptnRNlziJqal9WfecwvE+RyC0HV0w0/brlLxUX3QUUjvk6OWENaugvQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by SJ0PR11MB5918.namprd11.prod.outlook.com (2603:10b6:a03:42c::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4909.10; Fri, 28 Jan 2022 14:47:24 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::5046:8550:928d:850e]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::5046:8550:928d:850e%7]) with mapi id 15.20.4930.019; Fri, 28 Jan 2022 14:47:24 +0000 Message-ID: <57f04130-427b-54e1-2384-74699b6a385d@intel.com> Date: Fri, 28 Jan 2022 14:47:19 +0000 Subject: Re: [PATCH] net/enic: adjust memory check and use in proper order Content-Language: en-US To: "John Daley (johndale)" , Weiguo Li CC: "dev@dpdk.org" References: From: Ferruh Yigit X-User: ferruhy In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO2P265CA0180.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a::24) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c26a6d88-1923-4a83-a265-08d9e26d18ab X-MS-TrafficTypeDiagnostic: SJ0PR11MB5918:EE_ X-LD-Processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:913; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: AAKA54/sulJFi/RMuo0i66fmXSIArdb7MHd4c50D0U2CgKLlXtFOIhm7WNGtFmHMWc8kx0U7MgqYZXXTx2i4TlzlIofTzuDKC9dA+cIpfRrL/mxxC4qkoZ8Bez7Cy4QkplNj2QhVpICpaB/pHtdEacGHL2qomMljpIrKz3HO4ehSQ/fLvUnMXVLuB3dz26m28IrnwaLTHQuxEqkppYei2G4fd7YmUdSY0uSavhQOczzmlI+LGI+R/t0sUDIkuLTOtgfHlGZlz6Z0NbhQTq8BCyEifBsmkiLdnh3HDWzufFjR8RFLrjKJZENte9QB2RRQjQahs1mfLGyi950gVarzGwxOFmnjRRKD8BVjcN2JdKYlrtHgnD5D1hFVtbWaBEDnSD1IeP9ut2P/UYBdBYUEOzm7wYekJ6mSY/wtkvwekHhUxmTlUDip1ezkEOHcrNrCFCOFQ4V78VcKKBW578xFjYxugb1yS0kwpvksmkgVp0VkzFYdPCfoAa6bQJCf9QegjA+R2XXrRmtT0ro+fCV7nAVZT3bFVB0IOXY5v4Wnbo6Dly4N0KNsAFhG9U4tc6MtJId8+UZ6HfPA3TzYDodGfU+SV/Jm+bT+ceDv+/IHK61A4bNqdvHmVe0KrDPyT6xrQ/5zaLkvIKKiiWNjcc55mnRkpr8Yf5t3iZRd4dbzn3Cdmxbk5DTFXRPLh+VmP42Y1Y8u+7IEbecRTKzf7hxnl5zKv8dDpmlchABUZG+SkIA= 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)(44832011)(66946007)(2906002)(31696002)(4326008)(2616005)(38100700002)(66556008)(6666004)(83380400001)(6512007)(86362001)(8676002)(31686004)(508600001)(53546011)(186003)(5660300002)(82960400001)(6486002)(6506007)(110136005)(26005)(36756003)(316002)(66476007)(4744005)(8936002)(48020200001)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?RUlQRURjWnJhZHFCVGJjSW5IUmNyK0ZYNTBhRXNtcUFzNXpmQ285SkZwMkF3?= =?utf-8?B?amdUek8zWnIrb2k2RS9rM0RQdU93dFNRU2k5ZFZaQlpjelJ3NXdjV0d5U2Vq?= =?utf-8?B?aXovYndNSUZ5ZzFjcHhVU0xjcTIxN0FKc1JoWkgzQnc4Y0dqcWlJTlFzYys5?= =?utf-8?B?bUQ5cS9nRFZtY3Urcm9HS0N4MDJSeGxldnJsS0hESHdvSm5UMlhTNTQ2Z1p2?= =?utf-8?B?TDdHQ0RQTEpvN0JYcUFTaEt5Sk1iR3RaTVhtVjBqYUxSNTNYR1U1RmQ1TmMw?= =?utf-8?B?TTVNTjkyUjkrZjFUSWZVbGVldFBaN2pXUDkwYzZTS3hEWmhRcE9VL3lzSldN?= =?utf-8?B?bXNkT0I4cGJJ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SMTRTWFhzQmtSbEZM?= =?utf-8?Q?IqjUYK0ZvOkQixOsOz7oWWs=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: c26a6d88-1923-4a83-a265-08d9e26d18ab X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Jan 2022 14:47:24.6299 (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: c7D+pcFEb8Zc4SB+VfAuMXlr6Q9zGnzkaIAbqji5afjtgu4qjmPsPApof9B4+5onm4rxxUk7R2Vp3ImK4MUd7w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR11MB5918 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 On 1/26/2022 10:00 PM, John Daley (johndale) wrote: <...> > Thanks, > John > > -----Original Message----- > From: Weiguo Li > Sent: Tuesday, January 25, 2022 4:01 AM > To: John Daley (johndale) > Cc: dev@dpdk.org > Subject: [PATCH] net/enic: adjust memory check and use in proper order > > Fixes: bb66d562aefc ("net/enic: share flow actions with same signature") > > Signed-off-by: Weiguo Li > > Reviewed-by: John Daley > Applied to dpdk-next-net/main, thanks.