From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 72F8A11A4 for ; Mon, 18 Mar 2019 09:38:01 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Mar 2019 01:38:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,493,1544515200"; d="scan'208";a="135216063" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga007.fm.intel.com with ESMTP; 18 Mar 2019 01:38:00 -0700 Received: from fmsmsx114.amr.corp.intel.com (10.18.116.8) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 18 Mar 2019 01:37:59 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by FMSMSX114.amr.corp.intel.com (10.18.116.8) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 18 Mar 2019 01:37:59 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.158]) by shsmsx102.ccr.corp.intel.com ([169.254.2.163]) with mapi id 14.03.0415.000; Mon, 18 Mar 2019 16:37:56 +0800 From: "Yang, Qiming" To: "Zhang, Qi Z" , "Lu, Wenzhuo" CC: "dev@dpdk.org" , "Stillwell Jr, Paul M" , "Yigit, Ferruh" Thread-Topic: [PATCH v3 00/38] ice share code update. Thread-Index: AQHU19h6FK5gH5IIQ0yn09aIJPnTkaYRG3vw Date: Mon, 18 Mar 2019 08:37:55 +0000 Message-ID: References: <20190228055650.25237-1-qi.z.zhang@intel.com> <20190311070441.5501-1-qi.z.zhang@intel.com> In-Reply-To: <20190311070441.5501-1-qi.z.zhang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v3 00/38] ice share code 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: , X-List-Received-Date: Mon, 18 Mar 2019 08:38:02 -0000 -----Original Message----- From: Zhang, Qi Z=20 Sent: Monday, March 11, 2019 3:04 PM To: Lu, Wenzhuo ; Yang, Qiming Cc: dev@dpdk.org; Stillwell Jr, Paul M ; Yig= it, Ferruh ; Zhang, Qi Z Subject: [PATCH v3 00/38] ice share code update. Sync to latest kernel driver, main changes: 1. add DCB/FDIR support. 2. add more APIs in switch module. 3. code clean and bug fix. v3: - fix software queue handle parsing in ice_ena_vsi_txq and ice_dis_vsi_txq (PATCH 19/38) which will cause Tx queue setup fail during device reconfigure. - Add new fix for UDP PTYPE setup. (PATCH 38/38), which will cause IPv4 TCP RSS does not work at some situation. v2: - Enhanced the commit log - Add missing fixed line. Qi Zhang (38): net/ice/base: add switch resource allocation and free net/ice/base: improve comments net/ice/base: add two helper functions net/ice/base: add helper macros net/ice/base: allow package copy to be used after resets net/ice/base: code clean net/ice/base: declare functions as external net/ice/base: add more APIs in switch module net/ice/base: add VSI queue context framework net/ice/base: add APIs to add remove ethertype filter net/ice/base: add APIs to get allocated resources net/ice/base: add APIs to alloc/free resource counter net/ice/base: add APIs to get VSI promiscuous mode net/ice/base: add MAC filter with marker and counter net/ice/base: add two helper functions for flow management net/ice/base: minor fix net/ice/base: update macros net/ice/base: code clean net/ice/base: enable VSI queue context net/ice/base: ensure only valid bits are set net/ice/base: enhance get link status command net/ice/base: add RSS key related macro and structures net/ice/base: do not write TCAM entries back net/ice/base: remove local VSIG allocations net/ice/base: minor fix net/ice/base: update copyright time net/ice/base: fix static analysis reported issues net/ice/base: return config error without queue to disable net/ice/base: add function to check FW recovery mode net/ice/base: change profile id reference counting net/ice/base: add DCB support net/ice/base: add FDIR support net/ice/base: change profile priority for RSS reply net/ice/base: fix duplicate resource allocations net/ice/base: minor fix net/ice/base: increase prototol offset size net/ice/base: revert the workaround for resource allocation net/ice/base: fix set UDP PTYPEs drivers/net/ice/Makefile | 2 + drivers/net/ice/base/ice_adminq_cmd.h | 515 +++++- drivers/net/ice/base/ice_alloc.h | 2 +- drivers/net/ice/base/ice_common.c | 650 ++++++-- drivers/net/ice/base/ice_common.h | 36 +- drivers/net/ice/base/ice_controlq.c | 10 +- drivers/net/ice/base/ice_controlq.h | 2 +- drivers/net/ice/base/ice_dcb.c | 1393 ++++++++++++++++ drivers/net/ice/base/ice_dcb.h | 223 +++ drivers/net/ice/base/ice_devids.h | 2 +- drivers/net/ice/base/ice_fdir.c | 742 +++++++++ drivers/net/ice/base/ice_fdir.h | 202 +++ drivers/net/ice/base/ice_flex_pipe.c | 1075 +++++++------ drivers/net/ice/base/ice_flex_pipe.h | 4 +- drivers/net/ice/base/ice_flex_type.h | 19 +- drivers/net/ice/base/ice_flow.c | 228 +-- drivers/net/ice/base/ice_flow.h | 22 +- drivers/net/ice/base/ice_hw_autogen.h | 2 +- drivers/net/ice/base/ice_lan_tx_rx.h | 149 +- drivers/net/ice/base/ice_nvm.c | 17 +- drivers/net/ice/base/ice_osdep.h | 16 + drivers/net/ice/base/ice_protocol_type.h | 8 +- drivers/net/ice/base/ice_sbq_cmd.h | 2 +- drivers/net/ice/base/ice_sched.c | 2563 +++++++++++++++-----------= ---- drivers/net/ice/base/ice_sched.h | 34 +- drivers/net/ice/base/ice_status.h | 3 +- drivers/net/ice/base/ice_switch.c | 1315 ++++++++++++++- drivers/net/ice/base/ice_switch.h | 109 +- drivers/net/ice/base/ice_type.h | 119 +- drivers/net/ice/base/meson.build | 2 + drivers/net/ice/ice_rxtx.c | 13 +- 31 files changed, 7114 insertions(+), 2365 deletions(-) create mode 10064= 4 drivers/net/ice/base/ice_dcb.c create mode 100644 drivers/net/ice/base/i= ce_dcb.h create mode 100644 drivers/net/ice/base/ice_fdir.c create mode 1= 00644 drivers/net/ice/base/ice_fdir.h -- 2.13.6 Reviewed-by: Qiming Yang Only have some typos in commit log. Qiming From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id CB76AA0662 for ; Mon, 18 Mar 2019 09:38:03 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EB3AE152A; Mon, 18 Mar 2019 09:38:02 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 72F8A11A4 for ; Mon, 18 Mar 2019 09:38:01 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Mar 2019 01:38:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,493,1544515200"; d="scan'208";a="135216063" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga007.fm.intel.com with ESMTP; 18 Mar 2019 01:38:00 -0700 Received: from fmsmsx114.amr.corp.intel.com (10.18.116.8) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 18 Mar 2019 01:37:59 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by FMSMSX114.amr.corp.intel.com (10.18.116.8) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 18 Mar 2019 01:37:59 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.158]) by shsmsx102.ccr.corp.intel.com ([169.254.2.163]) with mapi id 14.03.0415.000; Mon, 18 Mar 2019 16:37:56 +0800 From: "Yang, Qiming" To: "Zhang, Qi Z" , "Lu, Wenzhuo" CC: "dev@dpdk.org" , "Stillwell Jr, Paul M" , "Yigit, Ferruh" Thread-Topic: [PATCH v3 00/38] ice share code update. Thread-Index: AQHU19h6FK5gH5IIQ0yn09aIJPnTkaYRG3vw Date: Mon, 18 Mar 2019 08:37:55 +0000 Message-ID: References: <20190228055650.25237-1-qi.z.zhang@intel.com> <20190311070441.5501-1-qi.z.zhang@intel.com> In-Reply-To: <20190311070441.5501-1-qi.z.zhang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v3 00/38] ice share code 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" Message-ID: <20190318083755.avxV43n1YqOTrwUzU5vk4jlYu4hVJ-1Jockm8T8hEYc@z> -----Original Message----- From: Zhang, Qi Z=20 Sent: Monday, March 11, 2019 3:04 PM To: Lu, Wenzhuo ; Yang, Qiming Cc: dev@dpdk.org; Stillwell Jr, Paul M ; Yig= it, Ferruh ; Zhang, Qi Z Subject: [PATCH v3 00/38] ice share code update. Sync to latest kernel driver, main changes: 1. add DCB/FDIR support. 2. add more APIs in switch module. 3. code clean and bug fix. v3: - fix software queue handle parsing in ice_ena_vsi_txq and ice_dis_vsi_txq (PATCH 19/38) which will cause Tx queue setup fail during device reconfigure. - Add new fix for UDP PTYPE setup. (PATCH 38/38), which will cause IPv4 TCP RSS does not work at some situation. v2: - Enhanced the commit log - Add missing fixed line. Qi Zhang (38): net/ice/base: add switch resource allocation and free net/ice/base: improve comments net/ice/base: add two helper functions net/ice/base: add helper macros net/ice/base: allow package copy to be used after resets net/ice/base: code clean net/ice/base: declare functions as external net/ice/base: add more APIs in switch module net/ice/base: add VSI queue context framework net/ice/base: add APIs to add remove ethertype filter net/ice/base: add APIs to get allocated resources net/ice/base: add APIs to alloc/free resource counter net/ice/base: add APIs to get VSI promiscuous mode net/ice/base: add MAC filter with marker and counter net/ice/base: add two helper functions for flow management net/ice/base: minor fix net/ice/base: update macros net/ice/base: code clean net/ice/base: enable VSI queue context net/ice/base: ensure only valid bits are set net/ice/base: enhance get link status command net/ice/base: add RSS key related macro and structures net/ice/base: do not write TCAM entries back net/ice/base: remove local VSIG allocations net/ice/base: minor fix net/ice/base: update copyright time net/ice/base: fix static analysis reported issues net/ice/base: return config error without queue to disable net/ice/base: add function to check FW recovery mode net/ice/base: change profile id reference counting net/ice/base: add DCB support net/ice/base: add FDIR support net/ice/base: change profile priority for RSS reply net/ice/base: fix duplicate resource allocations net/ice/base: minor fix net/ice/base: increase prototol offset size net/ice/base: revert the workaround for resource allocation net/ice/base: fix set UDP PTYPEs drivers/net/ice/Makefile | 2 + drivers/net/ice/base/ice_adminq_cmd.h | 515 +++++- drivers/net/ice/base/ice_alloc.h | 2 +- drivers/net/ice/base/ice_common.c | 650 ++++++-- drivers/net/ice/base/ice_common.h | 36 +- drivers/net/ice/base/ice_controlq.c | 10 +- drivers/net/ice/base/ice_controlq.h | 2 +- drivers/net/ice/base/ice_dcb.c | 1393 ++++++++++++++++ drivers/net/ice/base/ice_dcb.h | 223 +++ drivers/net/ice/base/ice_devids.h | 2 +- drivers/net/ice/base/ice_fdir.c | 742 +++++++++ drivers/net/ice/base/ice_fdir.h | 202 +++ drivers/net/ice/base/ice_flex_pipe.c | 1075 +++++++------ drivers/net/ice/base/ice_flex_pipe.h | 4 +- drivers/net/ice/base/ice_flex_type.h | 19 +- drivers/net/ice/base/ice_flow.c | 228 +-- drivers/net/ice/base/ice_flow.h | 22 +- drivers/net/ice/base/ice_hw_autogen.h | 2 +- drivers/net/ice/base/ice_lan_tx_rx.h | 149 +- drivers/net/ice/base/ice_nvm.c | 17 +- drivers/net/ice/base/ice_osdep.h | 16 + drivers/net/ice/base/ice_protocol_type.h | 8 +- drivers/net/ice/base/ice_sbq_cmd.h | 2 +- drivers/net/ice/base/ice_sched.c | 2563 +++++++++++++++-----------= ---- drivers/net/ice/base/ice_sched.h | 34 +- drivers/net/ice/base/ice_status.h | 3 +- drivers/net/ice/base/ice_switch.c | 1315 ++++++++++++++- drivers/net/ice/base/ice_switch.h | 109 +- drivers/net/ice/base/ice_type.h | 119 +- drivers/net/ice/base/meson.build | 2 + drivers/net/ice/ice_rxtx.c | 13 +- 31 files changed, 7114 insertions(+), 2365 deletions(-) create mode 10064= 4 drivers/net/ice/base/ice_dcb.c create mode 100644 drivers/net/ice/base/i= ce_dcb.h create mode 100644 drivers/net/ice/base/ice_fdir.c create mode 1= 00644 drivers/net/ice/base/ice_fdir.h -- 2.13.6 Reviewed-by: Qiming Yang Only have some typos in commit log. Qiming