From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2D580A034F; Wed, 6 May 2020 13:03:45 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 08E7D1D634; Wed, 6 May 2020 13:03:45 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 530C91D632 for ; Wed, 6 May 2020 13:03:43 +0200 (CEST) IronPort-SDR: 8YxdhW8Ov2dW47ZQbWzMS26AEWkYv24McT8RiiqJqbyP7Fv6CKfAFqV5fQSSBc0Lj6g7NMo/l0 m2SxC5EVIWvw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 May 2020 04:03:41 -0700 IronPort-SDR: VNApYkKGWi612ESagfZMF2v9bvxUtuetnbjC/R1lJtOErn1YUhLi8NnifuGLFA2tDr/Chgb4Jc nlqqxjsrdZtA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,358,1583222400"; d="scan'208";a="338971674" Received: from orsmsx106.amr.corp.intel.com ([10.22.225.133]) by orsmga001.jf.intel.com with ESMTP; 06 May 2020 04:03:41 -0700 Received: from orsmsx123.amr.corp.intel.com (10.22.240.116) by ORSMSX106.amr.corp.intel.com (10.22.225.133) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 6 May 2020 04:03:41 -0700 Received: from ORSEDG001.ED.cps.intel.com (10.7.248.4) by ORSMSX123.amr.corp.intel.com (10.22.240.116) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 6 May 2020 04:03:40 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.170) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 6 May 2020 04:03:35 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GKPx7TeuKjMQ9TBOKNnb5fx5dK9YHCy2Cb97Vszt22jFvey9WLI/QkblEHQNGFFCEmv9CgVMUH6IWuY278M3X5/VaGOl7n0VVvhifzWX5v04dab+ejrdZGlLEEs+dPJqR+0QtCDb20nkoYWvCTdmEjFN17ODZcqk60DTXsW5qWcEMeDZ7dzHaVv9Gjv4EyyH9IgKp5MKNaBaUyAJ5P38JH10amlMtO5Vm7lF9IN6F4NhqK/Qw51398scrx8klpWvp/NSZstJKnoUM0X+foYGaubwFYyssJ8XJlIzhs5YwSN8UXGMLTjgtffKy6UyX7mS3yb7bHP9YBBnlRPHdhywPA== 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-SenderADCheck; bh=F6mTfalj/T/WogurjCoqx7axIseiQ47sB6oHKjSopnI=; b=CihnduAl4WMp+/ffe8WtmdS6GCzsB8lYy4DPydE/9O5WmGB28KzFt0M84jDB3M9itEdfnlAe1pB7tzsNfrPh5U4VmTqsHPaGhh0sWE8NgUPWpaA+96xfvd1PL7koNJ3mEXvbf5TkWFHAS+IP/l1tc4hN9P6E1p3Ys+8AaFXOJaCAg58BYwfv5xUyI66b6gubVl7nEk4GixLhjDl39rhVXaG7ZOsJSqbQCriSgTYgG4+GIDxC7cXW6qx5HH56GCDEZmRvXkOp9nJNGQM5QtrmMVGWo7Jm1cEJOuvFYnCAvcYuJIHAV9MVybiPQbm0nEW0L5EfUhyQ15JVE/wzw7cSog== 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=F6mTfalj/T/WogurjCoqx7axIseiQ47sB6oHKjSopnI=; b=xUYHH6Lkx/k2tx1M2uXDq3r4Bbblu84el7QCEuEJHThMOVJa+hNmSu9g8mO+QWYAKSLz5pNo3tPea3M+Z5bNwby3QkYppNZUYl9E8L9a5xfw/ewUVl1hqac4wLYTNYxSe66iepRO3dCl1beGTa7NSGliF/gt+xkL5hVcgOp2qpw= Received: from CY4PR1101MB2326.namprd11.prod.outlook.com (2603:10b6:903:b3::23) by CY4PR1101MB2342.namprd11.prod.outlook.com (2603:10b6:903:b7::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2958.20; Wed, 6 May 2020 11:03:33 +0000 Received: from CY4PR1101MB2326.namprd11.prod.outlook.com ([fe80::58c7:7df:1b11:9c56]) by CY4PR1101MB2326.namprd11.prod.outlook.com ([fe80::58c7:7df:1b11:9c56%4]) with mapi id 15.20.2958.030; Wed, 6 May 2020 11:03:33 +0000 From: "Shetty, Praveen" To: Lukasz Wojciechowski , "dev@dpdk.org" , "Doherty, Declan" , "akhil.goyal@nxp.com" , "anoobj@marvell.com" CC: "Iremonger, Bernard" , "Ananyev, Konstantin" Thread-Topic: [dpdk-dev] [PATCH v2] examples/ipsec-secgw: fix negative argument passing Thread-Index: AQHWI5KawvIpxh78BkuH0jrjjkKDqaia4R+AgAADg2A= Date: Wed, 6 May 2020 11:03:33 +0000 Message-ID: References: <20200506090240.19214-1-praveen.shetty@intel.com> <20200506103752.20478-1-praveen.shetty@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMmVhZDFmNzEtZTFlZi00MWU4LTgyYjAtMGMzM2EwZjc5YWJmIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiSWFtQklKQnRpZmQ2NVdBcm9xalJFMG9CclFpNTgzdDh4NXpOcWJHc0k2TkpYTkxHRmdDZGROTnRSVGJJczV4aSJ9 dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.2.0.6 x-ctpclassification: CTP_NT authentication-results: partner.samsung.com; dkim=none (message not signed) header.d=none;partner.samsung.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.55.79.112] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 2a9a71cb-6dca-4f36-3e4a-08d7f1ad1e52 x-ms-traffictypediagnostic: CY4PR1101MB2342: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2733; x-forefront-prvs: 03950F25EC x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: fVk//zqsme/8j1eQvxDJd/+aH89Y4u/Jyemtn0AtE9k4Xi/OgJ6J2DPobHjCZLVRl8s5FdLCnWzpeISYow/W8d5bo9SnV7J1I/HQOC8i5IuPFbDHYFDKxZU9FM5BDIc+ga9hndZWepa2BBDF96At5Uxo8DsAnYtlARvP7WRoTbMRFOLlAcn13h1QNIzHZRaeGJcvKpyN+2FB0mnEm2Sxkgtp21DQEjxOBs81tnXOcPXCv74kQrHsHMnKdci+qx6JjhI+IxJXNnm7UUkk/oGd4DdinwQva/jbkNE/kBTisPRpsLBrxQIcgy6ylrFQ7TNMYpgAGgrv1jQDYTBdluWeZOjUI4hd1Ra4t/UPbNgWPN/1cx6dGBtD/7zMuY0Nyubh5mhU8KPaUD8zlfejIV4fOAir3DvNGpXJmFW7YsZit71BruiSQEUe3Pdgn5jQ3jN2hMkEMcXAdHojQ19QQXcLHEhGthFDyw5H6/A1zVhWwjemM8Aq28ut97kWrCEGg08Xw2avkeIVJwFRtWnusZL4IQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CY4PR1101MB2326.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(366004)(136003)(396003)(376002)(346002)(39860400002)(33430700001)(2906002)(86362001)(66446008)(66946007)(33656002)(66556008)(55016002)(64756008)(8936002)(76116006)(8676002)(54906003)(52536014)(9686003)(71200400001)(66476007)(107886003)(6506007)(110136005)(26005)(53546011)(186003)(7696005)(5660300002)(4326008)(33440700001)(478600001)(316002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: /FxoODbB36Wcplv7DVfzJD1kZxpvcG2jN70ziyalzkxJS/p3ovDhJyM9jf9+cuo3fBLW/JPsIEgthXHWoHk+BgaIRUi3lrfbLU62RVqebu4uPuvdzNMpnmWboTOV7OpOeiqb0ckD9R92OhUY1u4XRH7ZnM2bqBlKE+ER65wLALjeKaTP/RjHrladhFFaUN0CzSkqLn4axO6HyieoOC7bGOWKwT8yb9xCMUkF//Zb320CGYuQyLmEwu+vMhwag8w5qL63hpsxFlTqo/mk7PJtsUloAVDl57f0TuPUhq1Jq8Bvb16tfHLmirAH1VHwRL5hcMn6exhQzdSzRzVmvec5+/SA/lFI4KAjNV9DjFoqlsgGwaGhSG2kTrnOAH9XuIVKCINgPX/sj/YTvYqVljq8kF/UwfJQ0B/tSpBGEqxFmkgdtN8O0UvYN91x0ta6xa8WAWiLIMbZDGV5xE5AUXkZbXxuY7FqYR0fakBrzONvcdP9Rd0SclqUJoS0DpS8mSqofvPLzhFCJ8PyvblwSFo5zBfD/6V3Et1Hi20RdI+JikcCZNn0CYfNa2H2At6UWQs1NkmDft/oFafugkdRJB+mJKPX56xisyAT7O/tqtHrMZG27PxPbtDXh/FLfGgoXsmoytXQdOFlV+VQls/TTcmZYbY0+yMK9LmTCdR8p3JoN0CKphkgNIfUbpfuIIKK/Q8wchyPoxicvGwua6gZXFwSUyPTPGNwlNY//4hYHJqZZyK6TGAckUpslawslGDZJDG5G+aCVYGSglApU7UsEyiY/qtmdbi99ZlOv++lgDFM6j0= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 2a9a71cb-6dca-4f36-3e4a-08d7f1ad1e52 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 May 2020 11:03:33.5507 (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: wnFGnLktZ2bngDHe0aAxu+fEb1FnvnM7CzuHcJs30/h42Jw6HBMTQMTxTTstumBKePAmHz27M+xQqywIxbiE3v+Wb+vqG1/i7wEjYnudU1A= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR1101MB2342 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2] examples/ipsec-secgw: fix negative argument passing 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" DQoNCi0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQpGcm9tOiBMdWthc3ogV29qY2llY2hvd3Nr aSA8bC53b2pjaWVjaG93QHBhcnRuZXIuc2Ftc3VuZy5jb20+IA0KU2VudDogV2VkbmVzZGF5LCBN YXkgNiwgMjAyMCA0OjIw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