From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Zhao1, Wei" Subject: Re: [PATCH v2 3/3] net/ixgbe: update API version 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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Cc: "stable@dpdk.org" , "Lu, Wenzhuo" To: "Zhang, Qi Z" , "dev@dpdk.org" Return-path: In-Reply-To: <039ED4275CED7440929022BC67E7061153333C01@SHSMSX103.ccr.corp.intel.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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