From patchwork Mon Sep 10 09:32:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Rybchenko X-Patchwork-Id: 44470 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 918604CB5; Mon, 10 Sep 2018 11:33:59 +0200 (CEST) Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [67.231.154.164]) by dpdk.org (Postfix) with ESMTP id DCA564C90 for ; Mon, 10 Sep 2018 11:33:49 +0200 (CEST) X-Virus-Scanned: Proofpoint Essentials engine Received: from webmail.solarflare.com (webmail.solarflare.com [12.187.104.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mx1-us1.ppe-hosted.com (Proofpoint Essentials ESMTP Server) with ESMTPS id ECC52780055 for ; Mon, 10 Sep 2018 09:33:48 +0000 (UTC) Received: from ocex03.SolarFlarecom.com (10.20.40.36) by ocex03.SolarFlarecom.com (10.20.40.36) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 10 Sep 2018 02:33:46 -0700 Received: from opal.uk.solarflarecom.com (10.17.10.1) by ocex03.SolarFlarecom.com (10.20.40.36) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Mon, 10 Sep 2018 02:33:46 -0700 Received: from ukv-loginhost.uk.solarflarecom.com (ukv-loginhost.uk.solarflarecom.com [10.17.10.39]) by opal.uk.solarflarecom.com (8.13.8/8.13.8) with ESMTP id w8A9XilJ023754 for ; Mon, 10 Sep 2018 10:33:44 +0100 Received: from ukv-loginhost.uk.solarflarecom.com (localhost [127.0.0.1]) by ukv-loginhost.uk.solarflarecom.com (Postfix) with ESMTP id AC3261626D1 for ; Mon, 10 Sep 2018 10:33:44 +0100 (BST) From: Andrew Rybchenko To: Date: Mon, 10 Sep 2018 10:32:59 +0100 Message-ID: <1536572016-18134-1-git-send-email-arybchenko@solarflare.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 X-TM-AS-Product-Ver: SMEX-12.5.0.1300-8.5.1010-24084.005 X-TM-AS-Result: No-4.968600-4.000000-10 X-TMASE-MatchedRID: R3kA09HirdR+g/yf3fJ7JG3NvezwBrVmQKuv8uQBDjpBDVeC8J7uweh/ l+1clzCGb4UBPjsTJsdGg1N73A/UWixE4YU1flmuXP5rFAucBUEEa8g1x8eqFyAWlErg1VlPOX4 iNet1YH1RdZwznyULqUqWBBwop/gk/6PuZfWUoL604Y/NhTxUgofsPVs/8Vw6MXb07gh3RhzZUL VBYooo+q8ngqS+0PM9NQBtSQ2jGTok6f2zPJ9BDb8yvVDQaFzoFk73i4rVVIEUCxNejJnwy09SW C+WgFO9fbsmTtekV/QrxvgmPXeACmtOSeCg68oSypeMiaCPnxu94JvJnfFrHm2/j5pTTlX7EDdb misu/kkwGJZfcwT/iqEh/Pk+rxu4zCu6GcLbI05uIHz6vXSnie6jyigxCo6ynaIcQMBRvbSjxYy RBa/qJcFwgTvxipFajoczmuoPCq3YhNoiepgO6TaIxGXml9GLy2FNhc+A/swgG20q7EmBv5/U6L gFI2JsVvMDSIjxJc5sx03cforiGsUg65rm0PTnQXOcYRTNY4g3I8DUyOoaeU+wJNKvG6HQ1PNko zhRY3HUNR3AhwxI7HVCg90b4a/8 X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--4.968600-4.000000 X-TMASE-Version: SMEX-12.5.0.1300-8.5.1010-24084.005 X-MDID: 1536572029-dT1-5gDvD2IF Subject: [dpdk-dev] [PATCH 00/37] net/sfc: update base 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Update net/sfc base driver (aka libefx). There are a number of checkpatches.sh warnings/errors because of coding style difference. Andrew Jackson (1): net/sfc/base: highlight that image layout header generated Andrew Rybchenko (1): net/sfc/base: fix build failure because of no declaration Andy Moreton (6): net/sfc/base: properly align on line continuation net/sfc/base: add space after sizeof net/sfc/base: add routine to check for hardware presence net/sfc/base: add API to inform libefx of hardware removal net/sfc/base: fix ID retrival in v3 licensing net/sfc/base: fix MAC Tx stats for less or equal to 64 bytes Gautam Dawar (1): net/sfc/base: fix out of bounds read when dereferencing sdup Ivan Malov (6): net/sfc/base: fix name of the argument to store RSS flags net/sfc/base: fix a typo in unicast filter insertion comment net/sfc/base: use simpler code to check hash algorithm type net/sfc/base: check buffer size for hash flags net/sfc/base: simplify the code to parse RSS hash type net/sfc/base: improve handling of legacy RSS hash flags Mark Spender (3): net/sfc/base: remove probes when a Tx queue is too full net/sfc/base: add information if TSO workaround is required net/sfc/base: prevent access to the NIC config before probe Martin Harvey (10): net/sfc/base: fix PreFAST warnings because of unused return net/sfc/base: fix invalid order of memset arguments net/sfc/base: fix output buffer SAL annotation net/sfc/base: fix erroneous SAL annotation for input buffers net/sfc/base: move empty efsys definitions to EFX headers net/sfc/base: refactor monitors support net/sfc/base: add generated description of sensors net/sfc/base: check size of memory to read sensors data to net/sfc/base: add API to retrieve sensor limits net/sfc/base: avoid usage of too big arrays on stack Paul Fox (1): net/sfc/base: add more definitions of partitions Richard Houldsworth (4): net/sfc/base: add buffer editing functions to boot config net/sfc/base: add accessor for default port mode net/sfc/base: generalise EF10 NVRAM buffer interface net/sfc/base: modify phy caps to indicate FEC request Vijay Srivastava (4): net/sfc/base: fix outer IPID field in TSO option descriptors net/sfc/base: add check for TUNNEL module in NIC reset API net/sfc/base: add support to get active FEC type net/sfc/base: add helper API to make Geneve filter spec drivers/net/sfc/base/ef10_ev.c | 38 +- drivers/net/sfc/base/ef10_filter.c | 64 +- drivers/net/sfc/base/ef10_image.c | 5 +- drivers/net/sfc/base/ef10_impl.h | 62 +- drivers/net/sfc/base/ef10_intr.c | 5 +- drivers/net/sfc/base/ef10_mac.c | 24 +- drivers/net/sfc/base/ef10_nic.c | 155 ++-- drivers/net/sfc/base/ef10_nvram.c | 161 +++- drivers/net/sfc/base/ef10_phy.c | 93 ++- drivers/net/sfc/base/ef10_rx.c | 89 +-- .../net/sfc/base/ef10_signed_image_layout.h | 8 + drivers/net/sfc/base/ef10_tx.c | 38 +- drivers/net/sfc/base/efx.h | 305 +++++-- drivers/net/sfc/base/efx_annote.h | 103 +++ drivers/net/sfc/base/efx_bootcfg.c | 641 +++++++++++++-- drivers/net/sfc/base/efx_filter.c | 90 ++- drivers/net/sfc/base/efx_impl.h | 10 +- drivers/net/sfc/base/efx_lic.c | 91 +-- drivers/net/sfc/base/efx_mcdi.c | 88 +-- drivers/net/sfc/base/efx_mcdi.h | 15 + drivers/net/sfc/base/efx_mon.c | 745 ++++++++++++++++-- drivers/net/sfc/base/efx_nic.c | 54 +- drivers/net/sfc/base/efx_nvram.c | 71 +- drivers/net/sfc/base/efx_phy.c | 31 + drivers/net/sfc/base/efx_port.c | 2 +- drivers/net/sfc/base/efx_rx.c | 225 +++--- drivers/net/sfc/base/efx_tunnel.c | 6 +- drivers/net/sfc/base/efx_tx.c | 19 +- drivers/net/sfc/base/hunt_nic.c | 6 +- drivers/net/sfc/base/mc_driver_pcol_strs.h | 102 +++ drivers/net/sfc/base/mcdi_mon.c | 381 +++++---- drivers/net/sfc/base/mcdi_mon.h | 5 + drivers/net/sfc/base/medford2_nic.c | 5 +- drivers/net/sfc/base/medford_nic.c | 5 +- drivers/net/sfc/base/siena_mac.c | 9 +- drivers/net/sfc/base/siena_nic.c | 5 +- drivers/net/sfc/base/siena_nvram.c | 5 +- drivers/net/sfc/base/siena_phy.c | 28 +- drivers/net/sfc/efsys.h | 38 - drivers/net/sfc/sfc_rx.c | 2 +- 40 files changed, 2886 insertions(+), 943 deletions(-) create mode 100644 drivers/net/sfc/base/efx_annote.h create mode 100644 drivers/net/sfc/base/mc_driver_pcol_strs.h