From patchwork Sat Sep 29 08:13:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Mody, Rasesh" X-Patchwork-Id: 45644 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 54AE42B9D; Sat, 29 Sep 2018 10:14:02 +0200 (CEST) Received: from NAM04-CO1-obe.outbound.protection.outlook.com (mail-eopbgr690064.outbound.protection.outlook.com [40.107.69.64]) by dpdk.org (Postfix) with ESMTP id 8A8741559 for ; Sat, 29 Sep 2018 10:14:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+WHNiImzMLF00uG44zF3sWkN3dLGdZ5uCgkVcL0UpWw=; b=LCwKpEpdE+Ap0F94uHRxsRfUd3u6FQpG4A8QTCs/S7fgBs3u+O5kJqqQmvCuJTzBSC67+rU/YfkAaX37LUrVFlX5shTK0prLtY3k77igwxSzM20/Mnkebj01O/Hld7PS9vKwar/ldbwGX3XCkVlWekJx79PwsCXgw6tO4eZEa1w= Received: from BYAPR07MB5365.namprd07.prod.outlook.com (20.177.125.18) by BYAPR07MB5320.namprd07.prod.outlook.com (20.177.124.225) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1143.18; Sat, 29 Sep 2018 08:13:58 +0000 Received: from BYAPR07MB5365.namprd07.prod.outlook.com ([fe80::2047:9647:f196:bde0]) by BYAPR07MB5365.namprd07.prod.outlook.com ([fe80::2047:9647:f196:bde0%6]) with mapi id 15.20.1143.022; Sat, 29 Sep 2018 08:13:58 +0000 From: "Mody, Rasesh" To: "dev@dpdk.org" CC: "Mody, Rasesh" , "ferruh.yigit@intel.com" , Dept-Eng DPDK Dev Thread-Topic: [PATCH 00/18] net/qede: base driver update Thread-Index: AQHUV8xeFRuowVNex0i+kmONlWFE9Q== Date: Sat, 29 Sep 2018 08:13:57 +0000 Message-ID: <1538208822-9726-1-git-send-email-rasesh.mody@cavium.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BYAPR11CA0059.namprd11.prod.outlook.com (2603:10b6:a03:80::36) To BYAPR07MB5365.namprd07.prod.outlook.com (2603:10b6:a03:64::18) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Rasesh.Mody@cavium.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [198.186.1.5] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; BYAPR07MB5320; 6:PoNk9qa7l6DBm/lQbdlfnCaiERaw7eAu+Jqv5QU6bj25x+2qzSzrIc5JV1CmBMAkyjyDIsxaaZD647H6z+yB8qiZLo+pdAoW2QPVkFN7/K76NIwAz8AQz8yXklW/aSgElWehGuc/v55Tndtq72NtDJw5fMXB8mO2RrgNOKdozfhSA/60rS071xtO2Pari37QNIhF0dJ0IjPMGV6ZSuFtIxmQi5inqXTk+gRWFzoweNdB/vfpsLasmB2fev77PbZGNP97C3FqWPpWT99HGost2S3hdE/AXttpQH5MEVo45Q/4zV6XEc5BfWzSg/PKwHtxIGfx9HT4oeJiH0fnd5K38UxR4TutjFsf/VAXyIrdNoC+/2KhNNaEaDGyr1uGiXhYkUBxLGMuH6h5YtPVXFEYpQ9ZXHEK697Zx/PI1uLIR539Q/a7b2leqlZTdzjHPyT48X+1OaJ1R8EE8bVTWdT7tg==; 5:qKd93ZoBC47GvDGIcb06wp1lrTN710xSihCwphZeDFC6FeXZkE7HAIHDOyoRm8ZF93BL5ohBbwFga5EsZ9G3ZOBDnmPCGGN+k2WhvuyPQWxVNVwd8kSMjCzhQWgR0RKYkIXlg98xMLOd4JDKpZ+GZ07lUw8FHWNbboXWIJ7SzK4=; 7:OUhPAP76LKGiVndyOZMF9gstEaTOBhweay44iXX8YAanwJTHa9ymAZr7Stm5p+6ImxUcIBpmySRhUVjtP8IlLNcezuHixjeMpD9ESUbKXWByqB5p1k163X1De28eQdYCkN/mSMosg0dDKO7S3w6KhlSNpmsma235GNqnw5fI12Vp7hDzVw1NF6sM/xBLmScUEeSgWmXMvbmC7ajS0FWz2Wh6cWde3cQLBLZC1W1OuIeW21mtrg6f3eA6m+3ahdmJ x-ms-office365-filtering-correlation-id: 493075c0-e10d-4fdf-9ee1-08d625e3812a x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534165)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:BYAPR07MB5320; x-ms-traffictypediagnostic: BYAPR07MB5320: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(823301075)(3231355)(944501410)(52105095)(3002001)(10201501046)(93006095)(93001095)(149066)(150057)(6041310)(20161123564045)(20161123560045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(201708071742011)(7699051); SRVR:BYAPR07MB5320; BCL:0; PCL:0; RULEID:; SRVR:BYAPR07MB5320; x-forefront-prvs: 0810818DA0 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(366004)(396003)(136003)(346002)(39860400002)(199004)(189003)(97736004)(256004)(14454004)(4326008)(2501003)(2900100001)(99286004)(54906003)(1730700003)(86362001)(15650500001)(68736007)(3846002)(25786009)(5660300001)(2616005)(8676002)(305945005)(8936002)(486006)(107886003)(2351001)(26005)(2906002)(14444005)(5250100002)(71190400001)(5640700003)(36756003)(6436002)(6486002)(53936002)(316002)(72206003)(386003)(105586002)(71200400001)(6916009)(102836004)(6512007)(6116002)(6506007)(7736002)(81156014)(81166006)(186003)(52116002)(476003)(478600001)(66066001)(34290500001)(106356001); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR07MB5320; H:BYAPR07MB5365.namprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: p3HZNL9WZPaqqEMPTnbjDvkkwKI59AKxfRXCHxsozOENxyaF7qJRcdAVeDSTFNBAgxbLd2dMbi9g1o8juvdoSt/Vmwk8rU0O0DXNx034W9xr9lqoYYNDYlIe6Z+9LNraIv3s9UwGBuTgcy54axFtyxPQY+AR0/sANfhnWCorbs2hCanubtWt+uIG5Lzjo9T9BtHu2pH2fPo/XjB+rFkafgdedZmBf8pnlQmkfA87yRg0yWIPf8mHp6v2wx4XYyFWU80IbYzuA/mdhboYiBflBjNA1XCtOPlF46uuDOnBZr2rp+GdUQn4tYOydIhh5gzSmBb+iy1B9mVmbTrOAuQuAu8X2xQoZqh1vo2q6TK0bwQ= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-Network-Message-Id: 493075c0-e10d-4fdf-9ee1-08d625e3812a X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Sep 2018 08:13:58.1056 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR07MB5320 Subject: [dpdk-dev] [PATCH 00/18] net/qede: base driver update 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" This patch set updates the base driver to use FW 8.37.7.0 and adds support for other base driver functionalities. It also updates the PMD version to 2.10.0.1. Rasesh Mody (18): net/qede/base: upgrade to FW 8.37.7.0 net/qede/base: check for EDPM enabled in DB recovery net/qede/base: add DPC sync after PF stop net/qede/base: workaround to indicate SHMEM data ready net/qede/base: add API to update FW RSS indirection table net/qede/base: add mf-bit/API for FIP special mode net/qede/base: add error handling for mutex allocation net/qede/base: adjust queue manager idx greater than max net/qede/base: add pretend function for port/PF net/qede/base: add support for SRIOV VF min rate net/qede/base: add periodic Doorbell Recovery support net/qede/base: get pre-negotiated OEM values net/qede/base: enable control frame filtering net/qede/base: changes for 100G net/qede/base: add RL update params net/qede/base: add APIs for dscp priority map configuration net/qede/base: semantic changes net/qede: bump PMD version to 2.10.0.1 drivers/net/qede/base/bcm_osal.h | 2 + drivers/net/qede/base/common_hsi.h | 15 +- drivers/net/qede/base/ecore.h | 59 +- drivers/net/qede/base/ecore_cxt.c | 15 +- drivers/net/qede/base/ecore_dcbx.c | 99 +- drivers/net/qede/base/ecore_dcbx_api.h | 10 + drivers/net/qede/base/ecore_dev.c | 1807 ++++++++++++++++++------- drivers/net/qede/base/ecore_dev_api.h | 170 ++- drivers/net/qede/base/ecore_hsi_common.h | 57 +- drivers/net/qede/base/ecore_hsi_debug_tools.h | 15 + drivers/net/qede/base/ecore_hsi_eth.h | 57 +- drivers/net/qede/base/ecore_hw.c | 127 +- drivers/net/qede/base/ecore_hw.h | 40 +- drivers/net/qede/base/ecore_init_fw_funcs.c | 93 +- drivers/net/qede/base/ecore_init_fw_funcs.h | 42 +- drivers/net/qede/base/ecore_init_ops.c | 26 +- drivers/net/qede/base/ecore_int.c | 67 +- drivers/net/qede/base/ecore_int_api.h | 14 +- drivers/net/qede/base/ecore_iov_api.h | 10 + drivers/net/qede/base/ecore_iro.h | 164 ++- drivers/net/qede/base/ecore_iro_values.h | 42 +- drivers/net/qede/base/ecore_l2.c | 82 +- drivers/net/qede/base/ecore_l2_api.h | 30 +- drivers/net/qede/base/ecore_mcp.c | 123 +- drivers/net/qede/base/ecore_mcp.h | 21 +- drivers/net/qede/base/ecore_rt_defs.h | 265 ++-- drivers/net/qede/base/ecore_sp_commands.c | 8 +- drivers/net/qede/base/ecore_sp_commands.h | 3 + drivers/net/qede/base/ecore_spq.c | 56 +- drivers/net/qede/base/ecore_sriov.c | 48 +- drivers/net/qede/base/ecore_vf.c | 19 +- drivers/net/qede/base/eth_common.h | 5 + drivers/net/qede/base/mcp_public.h | 23 + drivers/net/qede/base/reg_addr.h | 56 +- drivers/net/qede/qede_ethdev.h | 2 +- drivers/net/qede/qede_main.c | 2 +- 36 files changed, 2701 insertions(+), 973 deletions(-)