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 5A1C81B1E6; Thu, 14 Feb 2019 02:22:28 +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 fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Feb 2019 17:22:26 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,367,1544515200"; d="scan'208";a="122286972" Received: from pgsmsx111.gar.corp.intel.com ([10.108.55.200]) by fmsmga007.fm.intel.com with ESMTP; 13 Feb 2019 17:22:25 -0800 Received: from pgsmsx103.gar.corp.intel.com ([169.254.2.6]) by PGSMSX111.gar.corp.intel.com ([169.254.2.192]) with mapi id 14.03.0415.000; Thu, 14 Feb 2019 09:22:25 +0800 From: "Zhao1, Wei" To: "Zhang, Qi Z" , "dev@dpdk.org" CC: "stable@dpdk.org" , "Lu, Wenzhuo" Thread-Topic: [PATCH v2 3/3] net/ixgbe: update API version Thread-Index: AQHUrVw83q4K7l9Si0y0ycj91twS+KXcu8IAgAHw2KA= Date: Thu, 14 Feb 2019 01:22:24 +0000 Message-ID: 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> <039ED4275CED7440929022BC67E7061153333C01@SHSMSX103.ccr.corp.intel.com> In-Reply-To: <039ED4275CED7440929022BC67E7061153333C01@SHSMSX103.ccr.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [172.30.20.205] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-stable] [PATCH v2 3/3] net/ixgbe: update API version X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Feb 2019 01:22:29 -0000 Hi, qi=20 New v3 has been commit as your request, thanks. > -----Original Message----- > From: Zhang, Qi Z > Sent: Wednesday, February 13, 2019 11:44 AM > To: Zhao1, Wei ; dev@dpdk.org > Cc: stable@dpdk.org; Lu, Wenzhuo > Subject: RE: [PATCH v2 3/3] net/ixgbe: update API version >=20 > I think this patch should be merged with PATCH 2/3, since > "ixgbe_mbox_api_13" is already be referenced on that patch. >=20 > > -----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 > > > > There is need to update to latest API version in order for negotiation > > between pf and vf, then new API message can be supported. > > > > Fixes: 88fccb7a05c6 ("ixgbevf: fix jumbo frame") > > > > Signed-off-by: Wei Zhao > > --- > > drivers/net/ixgbe/ixgbe_ethdev.c | 1 + > > drivers/net/ixgbe/ixgbe_pf.c | 1 + > > 2 files changed, 2 insertions(+) > > > > 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) > > > > /* 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