From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id C39B31B136; Wed, 13 Feb 2019 04:43:38 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Feb 2019 19:43:37 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,364,1544515200"; d="scan'208";a="318543523" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga006.fm.intel.com with ESMTP; 12 Feb 2019 19:43:37 -0800 Received: from fmsmsx157.amr.corp.intel.com (10.18.116.73) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 12 Feb 2019 19:43:37 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX157.amr.corp.intel.com (10.18.116.73) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 12 Feb 2019 19:43:37 -0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.194]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.109]) with mapi id 14.03.0415.000; Wed, 13 Feb 2019 11:43:35 +0800 From: "Zhang, Qi Z" To: "Zhao1, Wei" , "dev@dpdk.org" CC: "stable@dpdk.org" , "Lu, Wenzhuo" Thread-Topic: [PATCH v2 3/3] net/ixgbe: update API version Thread-Index: AQHUrVw89GY4xDTV7km0J4Trvqu4eKXdQYHw Date: Wed, 13 Feb 2019 03:43:34 +0000 Message-ID: <039ED4275CED7440929022BC67E7061153333C01@SHSMSX103.ccr.corp.intel.com> References: <1547613775-58027-1-git-send-email-wei.zhao1@intel.com> <1547614920-59680-1-git-send-email-wei.zhao1@intel.com> <1547614920-59680-4-git-send-email-wei.zhao1@intel.com> In-Reply-To: <1547614920-59680-4-git-send-email-wei.zhao1@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYjAwZDMyYzItYTY1ZC00ZTM5LWJkZmQtN2U3MmRmMTUxNGMwIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoicFNNbk54c0xWbzVXNFwvUklyNUpHS3kweHFYR2RyV0dXekdOQTBcL3dxc0YzTXB2SWQ0Y0ZHVjVxa2hWWlhVZWpEIn0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action 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 v2 3/3] net/ixgbe: update API version 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: Wed, 13 Feb 2019 03:43:39 -0000 I think this patch should be merged with PATCH 2/3, since "ixgbe_mbox_api_1= 3" is already be referenced on that patch. > -----Original Message----- > From: Zhao1, Wei > Sent: Wednesday, January 16, 2019 1:02 PM > To: dev@dpdk.org > Cc: stable@dpdk.org; Lu, Wenzhuo ; Zhang, Qi Z > ; Zhao1, Wei > Subject: [PATCH v2 3/3] net/ixgbe: update API version >=20 > There is need to update to latest API version in order for negotiation be= tween pf > and vf, then new API message can be supported. >=20 > Fixes: 88fccb7a05c6 ("ixgbevf: fix jumbo frame") >=20 > Signed-off-by: Wei Zhao > --- > drivers/net/ixgbe/ixgbe_ethdev.c | 1 + > drivers/net/ixgbe/ixgbe_pf.c | 1 + > 2 files changed, 2 insertions(+) >=20 > diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c > b/drivers/net/ixgbe/ixgbe_ethdev.c > index e8a2c6e..a25178a 100644 > --- a/drivers/net/ixgbe/ixgbe_ethdev.c > +++ b/drivers/net/ixgbe/ixgbe_ethdev.c > @@ -1512,6 +1512,7 @@ ixgbevf_negotiate_api(struct ixgbe_hw *hw) >=20 > /* start with highest supported, proceed down */ > static const enum ixgbe_pfvf_api_rev sup_ver[] =3D { > + ixgbe_mbox_api_13, > ixgbe_mbox_api_12, > ixgbe_mbox_api_11, > ixgbe_mbox_api_10, > diff --git a/drivers/net/ixgbe/ixgbe_pf.c b/drivers/net/ixgbe/ixgbe_pf.c = index > c9d1a1c..a6d8501 100644 > --- a/drivers/net/ixgbe/ixgbe_pf.c > +++ b/drivers/net/ixgbe/ixgbe_pf.c > @@ -569,6 +569,7 @@ ixgbe_negotiate_vf_api(struct rte_eth_dev *dev, > uint32_t vf, uint32_t *msgbuf) > case ixgbe_mbox_api_10: > case ixgbe_mbox_api_11: > case ixgbe_mbox_api_12: > + case ixgbe_mbox_api_13: > vfinfo[vf].api_version =3D (uint8_t)api_version; > return 0; > default: > -- > 2.7.5