Message ID | 20190626023025.7039-1-leyi.rong@intel.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> 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 994721B946; Wed, 26 Jun 2019 04:31:50 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id ECF3A37B0 for <dev@dpdk.org>; Wed, 26 Jun 2019 04:31:48 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Jun 2019 19:31:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,418,1557212400"; d="scan'208";a="164202274" Received: from lrong-srv-03.sh.intel.com ([10.67.119.177]) by orsmga003.jf.intel.com with ESMTP; 25 Jun 2019 19:31:46 -0700 From: Leyi Rong <leyi.rong@intel.com> To: xiaolong.ye@intel.com, qiming.yang@intel.com Cc: dev@dpdk.org, Leyi Rong <leyi.rong@intel.com> Date: Wed, 26 Jun 2019 10:30:22 +0800 Message-Id: <20190626023025.7039-1-leyi.rong@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [PATCH 0/3] some update on CVL shared code X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series |
some update on CVL shared code
|
|
Message
Leyi Rong
June 26, 2019, 2:30 a.m. UTC
Main changes: 1. Add support for IPv6 based switch filters 2. Add support for ethertype switch filters 3. fix inner L2 offset in GRE dummy packet Leyi Rong (3): net/ice/base: add support for IPv6 based switch filters net/ice/base: add support for ethertype switch filters net/ice/base: fix inner L2 offset in GRE dummy packet drivers/net/ice/base/ice_protocol_type.h | 22 +++-- drivers/net/ice/base/ice_switch.c | 117 +++++++++++++++++++++-- 2 files changed, 123 insertions(+), 16 deletions(-)
Comments
Hi, Leyi Seems still have compile issue. Like, /tmp/SUSE15-64_K4.12.14_Clang5.0.1/x86_64-native-linuxapp-clang/251e3d92c8954331a686b2e9a9b73e2a/dpdk/drivers/net/ice/base/ice_switch.c:4636:18: error: comparison of constant 16 with expression of type 'enum ice_protocol_type' is always true [-Werror,-Wtautological-constant-out-of-range-compare] rule->type < ARRAY_SIZE(ice_prot_ext)) { ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. Qiming > -----Original Message----- > From: Rong, Leyi > Sent: Wednesday, June 26, 2019 10:30 AM > To: Ye, Xiaolong <xiaolong.ye@intel.com>; Yang, Qiming > <qiming.yang@intel.com> > Cc: dev@dpdk.org; Rong, Leyi <leyi.rong@intel.com> > Subject: [PATCH 0/3] some update on CVL shared code > > Main changes: > 1. Add support for IPv6 based switch filters 2. Add support for ethertype > switch filters 3. fix inner L2 offset in GRE dummy packet > > Leyi Rong (3): > net/ice/base: add support for IPv6 based switch filters > net/ice/base: add support for ethertype switch filters > net/ice/base: fix inner L2 offset in GRE dummy packet > > drivers/net/ice/base/ice_protocol_type.h | 22 +++-- > drivers/net/ice/base/ice_switch.c | 117 +++++++++++++++++++++-- > 2 files changed, 123 insertions(+), 16 deletions(-) > > -- > 2.17.1
Hi, Qiming I do not have any error in building these patch, is it related to OS version? > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Yang, Qiming > Sent: Wednesday, June 26, 2019 1:30 PM > To: Rong, Leyi <leyi.rong@intel.com>; Ye, Xiaolong <xiaolong.ye@intel.com> > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH 0/3] some update on CVL shared code > > Hi, Leyi > Seems still have compile issue. Like, > /tmp/SUSE15-64_K4.12.14_Clang5.0.1/x86_64-native-linuxapp- > clang/251e3d92c8954331a686b2e9a9b73e2a/dpdk/drivers/net/ice/base/ice_s > witch.c:4636:18: error: comparison of constant 16 with expression of type > 'enum ice_protocol_type' is always true [-Werror,-Wtautological-constant-out- > of-range-compare] > rule->type < ARRAY_SIZE(ice_prot_ext)) { > ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ > 1 error generated. > > Qiming > > -----Original Message----- > > From: Rong, Leyi > > Sent: Wednesday, June 26, 2019 10:30 AM > > To: Ye, Xiaolong <xiaolong.ye@intel.com>; Yang, Qiming > > <qiming.yang@intel.com> > > Cc: dev@dpdk.org; Rong, Leyi <leyi.rong@intel.com> > > Subject: [PATCH 0/3] some update on CVL shared code > > > > Main changes: > > 1. Add support for IPv6 based switch filters 2. Add support for > > ethertype switch filters 3. fix inner L2 offset in GRE dummy packet > > > > Leyi Rong (3): > > net/ice/base: add support for IPv6 based switch filters > > net/ice/base: add support for ethertype switch filters > > net/ice/base: fix inner L2 offset in GRE dummy packet > > > > drivers/net/ice/base/ice_protocol_type.h | 22 +++-- > > drivers/net/ice/base/ice_switch.c | 117 +++++++++++++++++++++-- > > 2 files changed, 123 insertions(+), 16 deletions(-) > > > > -- > > 2.17.1
Please saw the compile error in community. Not x86_64 gcc. > -----Original Message----- > From: Zhao1, Wei > Sent: Wednesday, June 26, 2019 5:36 PM > To: Yang, Qiming <qiming.yang@intel.com>; Rong, Leyi > <leyi.rong@intel.com>; Ye, Xiaolong <xiaolong.ye@intel.com> > Cc: dev@dpdk.org > Subject: RE: [PATCH 0/3] some update on CVL shared code > > Hi, Qiming > > I do not have any error in building these patch, is it related to OS version? > > > > -----Original Message----- > > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Yang, Qiming > > Sent: Wednesday, June 26, 2019 1:30 PM > > To: Rong, Leyi <leyi.rong@intel.com>; Ye, Xiaolong > > <xiaolong.ye@intel.com> > > Cc: dev@dpdk.org > > Subject: Re: [dpdk-dev] [PATCH 0/3] some update on CVL shared code > > > > Hi, Leyi > > Seems still have compile issue. Like, > > /tmp/SUSE15-64_K4.12.14_Clang5.0.1/x86_64-native-linuxapp- > > > clang/251e3d92c8954331a686b2e9a9b73e2a/dpdk/drivers/net/ice/base/ice_ > s > > witch.c:4636:18: error: comparison of constant 16 with expression of > > type 'enum ice_protocol_type' is always true > > [-Werror,-Wtautological-constant-out- > > of-range-compare] > > rule->type < ARRAY_SIZE(ice_prot_ext)) { > > ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ > > 1 error generated. > > > > Qiming > > > -----Original Message----- > > > From: Rong, Leyi > > > Sent: Wednesday, June 26, 2019 10:30 AM > > > To: Ye, Xiaolong <xiaolong.ye@intel.com>; Yang, Qiming > > > <qiming.yang@intel.com> > > > Cc: dev@dpdk.org; Rong, Leyi <leyi.rong@intel.com> > > > Subject: [PATCH 0/3] some update on CVL shared code > > > > > > Main changes: > > > 1. Add support for IPv6 based switch filters 2. Add support for > > > ethertype switch filters 3. fix inner L2 offset in GRE dummy packet > > > > > > Leyi Rong (3): > > > net/ice/base: add support for IPv6 based switch filters > > > net/ice/base: add support for ethertype switch filters > > > net/ice/base: fix inner L2 offset in GRE dummy packet > > > > > > drivers/net/ice/base/ice_protocol_type.h | 22 +++-- > > > drivers/net/ice/base/ice_switch.c | 117 +++++++++++++++++++++-- > > > 2 files changed, 123 insertions(+), 16 deletions(-) > > > > > > -- > > > 2.17.1