From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM05-CO1-obe.outbound.protection.outlook.com (mail-eopbgr720043.outbound.protection.outlook.com [40.107.72.43]) by dpdk.org (Postfix) with ESMTP id 1941527D for ; Sat, 9 Mar 2019 15:03:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=AQUANTIA1COM.onmicrosoft.com; s=selector1-aquantia-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=SaU+6EBie6ZIzUpUu5wSzKzZflTDTcxgIlO0AMEqZms=; b=X/2ip87eFtf/NtKZqg8EPQidbXRQHb6eWuJcnrVJUBLQ+nTQ6+yxl+6+XS567bQbu1dMBSq4mHm1a9d2y+8N4Ki6ja3cCgbcsuMcLVCXPUppt/e1r7mzUXoIZc7YNo7wS+zsxGtkhIRoIKti4QW6aDzux6aUcUbrvWSRMSKLdSg= Received: from DM6PR11MB3625.namprd11.prod.outlook.com (20.178.230.149) by DM6PR11MB2892.namprd11.prod.outlook.com (20.177.216.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1686.18; Sat, 9 Mar 2019 14:03:22 +0000 Received: from DM6PR11MB3625.namprd11.prod.outlook.com ([fe80::d145:a1f4:ed34:e31b]) by DM6PR11MB3625.namprd11.prod.outlook.com ([fe80::d145:a1f4:ed34:e31b%3]) with mapi id 15.20.1665.020; Sat, 9 Mar 2019 14:03:22 +0000 From: Igor Russkikh To: "dev@dpdk.org" CC: Pavel Belous , Igor Russkikh Thread-Topic: [PATCH v2 00/10] net/atlantic: bugfixes and code cleanup Thread-Index: AQHU1oDbSPzqP1xhNUWbnGtIRGDbKw== Date: Sat, 9 Mar 2019 14:03:22 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: HE1PR05CA0278.eurprd05.prod.outlook.com (2603:10a6:3:fc::30) To DM6PR11MB3625.namprd11.prod.outlook.com (2603:10b6:5:13a::21) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Igor.Russkikh@aquantia.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-originating-ip: [95.79.108.179] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: cd173d78-cc47-4c6d-6268-08d6a497fd8f x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(2017052603328)(7153060)(7193020); SRVR:DM6PR11MB2892; x-ms-traffictypediagnostic: DM6PR11MB2892: x-microsoft-exchange-diagnostics: =?iso-8859-1?Q?1; DM6PR11MB2892; 23:PMR+HwKwI70DvfdTD9VuI0QTSAG5tWWyiFSKmH+?= =?iso-8859-1?Q?eU7XIuwKeBGzRv7+JJkHD2iuIlln1HqUAfdc1merKlfUKcCF92erpzOYQm?= =?iso-8859-1?Q?LOcFPArFbXfEAsepi01tSdwCOvt6oMFMefzFGMnCDw3kjMsVZ2+Wo+IUkx?= =?iso-8859-1?Q?djKRPY8BkRzhM7vhWC/KPU5kIcEqftkFTdYfwM/XL+6Cn/Q8uRu2kS9EvH?= =?iso-8859-1?Q?+p+W+C1jukJ0AlNHiVizFVJgWp6lviQ/NSeiq6swcZxB2RcrriTqoYHlE+?= =?iso-8859-1?Q?6eVWp7vp8YoI0Kn2FwoGWumLHzF15ECYR+2aRHmMifzDWo59ca0XdhL0nN?= =?iso-8859-1?Q?jn15ToBRNU0WA+oU3RtYCwvvd+g0Dw44svIAJJfF6rwwL8uL17yQhY+5sy?= =?iso-8859-1?Q?iYNCJdnMHIoeXA11x3l7cLQ7dk7rbHU2oLGwudBRrT5jLuD0vZ8LNYACNY?= =?iso-8859-1?Q?SsRghg8rn5Ytb1GLt6yvU8jrdg49/SiLFMoaCMxfDTc6SLPXeAiogX1xNk?= =?iso-8859-1?Q?ULPPr2kb/r6cf2DEaEkfXxikwBpUUoGyin3Q/R/J5KDmJ3fOLqoFMcneVd?= =?iso-8859-1?Q?UJwdQ0n5p7f/9VBjeCENs/rZWzDN5X6jcrJsLVU+9NimTrhvYO6/wb41aB?= =?iso-8859-1?Q?DnEsP6sUXzwWukcqHnmhVDrUg33a7kDirrfnd/os42jkmIS49ghbvmoNUd?= =?iso-8859-1?Q?mGVRK5b2LjIP16QxJOZTTjXmaFWSEg6QXEAIAAcWnjWPCUfOhhIltxK2RD?= =?iso-8859-1?Q?UmhjKPudhvXuyFQQsSQ+RIWnWv7vd/hxG66YT+gYh3jfPyRVn8FBaYWhIy?= =?iso-8859-1?Q?+DUV6wR+ngCupmD3q/N5a1omID6FYhL+/SZGPNOFAoemuiwJZFY+4zkcEU?= =?iso-8859-1?Q?PEpi/EV0aMSa/2W3FlTYUYc6sQwGMgdEByGzLhbwgc6RUU/Sqi7BmPe7/d?= =?iso-8859-1?Q?s6TClOh1VfcFcGg32Rz3Yp+xRR1aOdYkb2DGbSlTgjRQeYxHYMYAa9IYnr?= =?iso-8859-1?Q?6UV/atozjf9PvbEdDEZ1HJEWlKqgeC2LCLWj/f3TxUkyHubdznYNJMnjgW?= =?iso-8859-1?Q?y6ZcXpIpzebwEmJSPI8zbDQex+LdfqLJNXgP3PcU155JAxhCiZ7Jzz7VSB?= =?iso-8859-1?Q?pj3zLrkzDgghgzVWnoLlqowuqc/4Zrk18EgYmLJzwyi7CApkC/SIrG6Dm/?= =?iso-8859-1?Q?MbDQo+HZxVT+dK9qLR1j97ulteHopdH5S4MZ+feZKkhavpE9iSiS91Qp6c?= =?iso-8859-1?Q?z1w8ddMnSe6vinG25lHLqmZuJF0d/rA7Wneq6+79pXiMCNBbWb2hF7+c3B?= =?iso-8859-1?Q?OAMM5GddBaTZgIRxXJ83HD1CD3hkUuMVbZhnV1CLOIWng=3D=3D?= x-microsoft-antispam-prvs: x-forefront-prvs: 0971922F40 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(376002)(366004)(39850400004)(136003)(346002)(199004)(189003)(106356001)(5660300002)(6116002)(26005)(4326008)(99286004)(52116002)(2906002)(3846002)(107886003)(2351001)(105586002)(14454004)(102836004)(97736004)(476003)(68736007)(44832011)(386003)(186003)(486006)(2616005)(6506007)(25786009)(2501003)(86362001)(305945005)(7736002)(72206003)(8676002)(6486002)(256004)(316002)(8936002)(66066001)(6436002)(81156014)(1730700003)(53936002)(5640700003)(81166006)(50226002)(71190400001)(6916009)(54906003)(36756003)(71200400001)(478600001)(6512007); DIR:OUT; SFP:1101; SCL:1; SRVR:DM6PR11MB2892; H:DM6PR11MB3625.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: aquantia.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: Ql5y6QSqgiPX2PIGSS4YraNILMIxeOCnGa8hHbrUM1rnveBtzv/1HMtigT3e9TgUPzw4ScZM1ouAQjChmtr7QqG2tlqvhn0RDyFJUqzkU/3cKw5U0kIdD51k+ODUUdUQiwWj+8iaNmJfuNaHTKwfdDYztTXO5Wa2IJEMK8Iz2HdndJM+85C5A9oFVPR1+83c0dxEt5mzIjBnfYNistl6gBGaqvrnqpBm0y6nfeM+sgTX0HRJMcXH7nlPvW/eAom2B1DhfWPH2RHOPVv2RM1bX07jtwU8dL2w8vSpQbLb03bwDPbRFdmZ4ruWPJ0DbqDCjeNtzxfGsWLEI0X53eICnB1wdXepfhpFfhvfKThWbhgVYFAbAgXXktgyeYpPJ1l8InzQsE+5z67MMNKf1w6ChhBbRrom4GJje3aHtq9e4uc= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: aquantia.com X-MS-Exchange-CrossTenant-Network-Message-Id: cd173d78-cc47-4c6d-6268-08d6a497fd8f X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Mar 2019 14:03:22.4696 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 83e2e134-991c-4ede-8ced-34d47e38e6b1 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB2892 Subject: [dpdk-dev] [PATCH v2 00/10] net/atlantic: bugfixes and code cleanup 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: Sat, 09 Mar 2019 14:03:26 -0000 The patchset mainly fixes some Coverity issues, couple of minor bugs and overflows. It also improves eeprom get/set logic with ability of custom device address and dump length. v2: better git log, line lengths, Fixes tags.=20 Igor Russkikh (7): net/atlantic: fix negative error codes net/atlantic: remove unused variable net/atlantic: extra checks for error codes net/atlantic: fix link configuration net/atlantic: eliminate excessive log levels on Rx/Tx net/atlantic: fix missing VLAN filter offload net/atlantic: fix xstats to return correct number of items Pavel Belous (3): net/atlantic: fix buffer overflow net/atlantic: use EEPROM magic as a device address net/atlantic: fix EEPROM get for small and uneven lengths drivers/net/atlantic/atl_ethdev.c | 75 ++++++++++--------- drivers/net/atlantic/atl_rxtx.c | 20 ++--- drivers/net/atlantic/atl_types.h | 7 +- drivers/net/atlantic/hw_atl/hw_atl_b0.c | 6 +- drivers/net/atlantic/hw_atl/hw_atl_utils.c | 9 ++- drivers/net/atlantic/hw_atl/hw_atl_utils.h | 23 +++--- .../net/atlantic/hw_atl/hw_atl_utils_fw2x.c | 64 +++++++++++----- 7 files changed, 116 insertions(+), 88 deletions(-) --=20 2.17.1