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 8071D432E6; Thu, 9 Nov 2023 17:14:21 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0D3FE4026B; Thu, 9 Nov 2023 17:14:21 +0100 (CET) Received: from smtp-fw-33001.amazon.com (smtp-fw-33001.amazon.com [207.171.190.10]) by mails.dpdk.org (Postfix) with ESMTP id 484624021E for ; Thu, 9 Nov 2023 17:14:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1699546459; x=1731082459; h=from:to:cc:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version:subject; bh=ya/KtmrkQGXIr0h57oN42na2UgEhGucxqRb21pI/MfU=; b=wD5SsXAVFfBrnw6C+ZDtBcpJoT4s7zAh3LFmjBkOeRH1VvTtLgWgglJA D3p0qXpTNy5KtOThaC1fozCOfk31oofwrkP6vA80i4oRw9utbSnpT83PB JOn6yEPCVTy/c1rejglkGWEK05I28zjn8Dmzl0AV8JHAdotB4GxbEVqAX M=; X-IronPort-AV: E=Sophos;i="6.03,289,1694736000"; d="scan'208";a="312270356" Subject: RE: [PATCH] net/ena: fix coverity issues Thread-Topic: [PATCH] net/ena: fix coverity issues Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-iad-1a-m6i4x-96feee09.us-east-1.amazon.com) ([10.43.8.6]) by smtp-border-fw-33001.sea14.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Nov 2023 16:14:13 +0000 Received: from smtpout.prod.us-east-1.prod.farcaster.email.amazon.dev (iad7-ws-svc-p70-lb3-vlan2.iad.amazon.com [10.32.235.34]) by email-inbound-relay-iad-1a-m6i4x-96feee09.us-east-1.amazon.com (Postfix) with ESMTPS id D130B48C3A; Thu, 9 Nov 2023 16:14:11 +0000 (UTC) Received: from EX19MTAEUA002.ant.amazon.com [10.0.43.254:50434] by smtpin.naws.eu-west-1.prod.farcaster.email.amazon.dev [10.0.45.210:2525] with esmtp (Farcaster) id a25d2bc1-7ac5-4553-832c-319e98cb1d53; Thu, 9 Nov 2023 16:14:10 +0000 (UTC) X-Farcaster-Flow-ID: a25d2bc1-7ac5-4553-832c-319e98cb1d53 Received: from EX19D017EUA001.ant.amazon.com (10.252.50.71) by EX19MTAEUA002.ant.amazon.com (10.252.50.124) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.39; Thu, 9 Nov 2023 16:14:10 +0000 Received: from EX19D007EUA002.ant.amazon.com (10.252.50.68) by EX19D017EUA001.ant.amazon.com (10.252.50.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.39; Thu, 9 Nov 2023 16:14:10 +0000 Received: from EX19D007EUA002.ant.amazon.com ([fe80::1295:20d9:141e:47cc]) by EX19D007EUA002.ant.amazon.com ([fe80::1295:20d9:141e:47cc%3]) with mapi id 15.02.1118.039; Thu, 9 Nov 2023 16:14:10 +0000 From: "Brandes, Shai" To: Ferruh Yigit CC: "dev@dpdk.org" , "Beider, Ron" , "Atrash, Wajeeh" , "Bernstein, Amit" Thread-Index: AQHaExY4830+nm51H02m2P0Tgv3fNbByDCiAgAAEj8CAABL0AIAAA0Rw Date: Thu, 9 Nov 2023 16:14:10 +0000 Message-ID: References: <20231109140816.2844-1-shaibran@amazon.com> <8015a2fcbd7b43cf97060ffa63d5acb5@amazon.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.85.143.175] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 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 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogRmVycnVoIFlpZ2l0IDxm ZXJydWgueWlnaXRAYW1kLmNvbT4NCj4gU2VudDogVGh1cnNkYXksIE5vdmVtYmVyIDksIDIwMjMg NTo1NCBQTQ0KPiBUbzogQnJhbmRlcywgU2hhaSA8c2hhaWJyYW5AYW1hem9uLmNvbT4NCj4gQ2M6 IGRldkBkcGRrLm9yZzsgQmVpZGVyLCBSb24gPHJiZWlkZXJAYW1hem9uLmNvbT47IEF0cmFzaCwg V2FqZWVoDQo+IDxhdHJ3YWplZUBhbWF6b24uY29tPjsgQmVybnN0ZWluLCBBbWl0IDxhbWl0YmVy bkBhbWF6b24uY29tPg0KPiBTdWJqZWN0OiBSRTogW0VYVEVSTkFMXSBbUEFUQ0hdIG5ldC9lbmE6 IGZpeCBjb3Zlcml0eSBpc3N1ZXMNCj4gDQo+IENBVVRJT046IFRoaXMgZW1haWwgb3JpZ2luYXRl ZCBmcm9tIG91dHNpZGUgb2YgdGhlIG9yZ2FuaXphdGlvbi4gRG8gbm90IGNsaWNrDQo+IGxpbmtz IG9yIG9wZW4gYXR0YWNobWVudHMgdW5sZXNzIHlvdSBjYW4gY29uZmlybSB0aGUgc2VuZGVyIGFu ZCBrbm93IHRoZQ0KPiBjb250ZW50IGlzIHNhZmUuDQo+IA0KPiANCj4gDQo+IE9uIDExLzkvMjAy MyAzOjI1IFBNLCBCcmFuZGVzLCBTaGFpIHdyb3RlOg0KPiA+IFNlZSBpbnNpZGUNCj4gPg0KPiA+ PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiA+PiBGcm9tOiBGZXJydWggWWlnaXQgPGZl cnJ1aC55aWdpdEBhbWQuY29tPg0KPiA+PiBTZW50OiBUaHVyc2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RlciwNCj4gPj4+IC0gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZW5h X2NvbV9nZXRfY3VzdG9tZXJfbWV0cmljcywNCj4gPj4+IC0gICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgJmFkYXB0ZXItPmVuYV9kZXYsDQo+ID4+PiAtICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgIChjaGFyICopYnVmLA0KPiA+Pj4gLSAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICBudW1fbWV0cmljcyAqIHNpemVvZih1aW50NjRfdCkpOw0K PiA+Pj4gKyAgICAgICAgICAgICAgICAgICAgICAgICAgICBlbmFfY29tX2dldF9jdXN0b21lcl9t ZXRyaWNzLA0KPiA+Pj4gKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAmYWRhcHRlci0+ZW5h X2RldiwNCj4gPj4+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAgKGNoYXIgKilidWYsDQo+ ID4+PiArICAgICAgICAgICAgICAgICAgICAgICAgICAgIG51bV9tZXRyaWNzICogc2l6ZW9mKHVp bnQ2NF90KSk7DQo+ID4+Pg0KPiA+Pg0KPiA+PiBkaXR0bw0KPiA+IFtCcmFuZGVzLCBTaGFpXSBh Y2sNCj4gPj4NCj4gPj4+ICAgICAgICAgICAgICAgcnRlX3NwaW5sb2NrX3VubG9jaygmYWRhcHRl ci0+YWRtaW5fbG9jayk7DQo+ID4+PiAgICAgICAgICAgICAgIGlmIChyYyAhPSAwKSB7DQo+ID4+ PiAgICAgICAgICAgICAgICAgICAgICAgUE1EX0RSVl9MT0coV0FSTklORywgIkZhaWxlZCB0byBn ZXQgY3VzdG9tZXINCj4gPj4+IG1ldHJpY3MsIHJjOiAlZFxuIiwgcmMpOyBAQCAtNDA4OCw3ICs0 MDg3LDcgQEANCj4gPj4gZW5hX21wX3ByaW1hcnlfaGFuZGxlKGNvbnN0IHN0cnVjdCBydGVfbXBf bXNnICptcF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