> -Original Message-
> From: Zhang, Qi Z
> Sent: Wednesday, April 12, 2017 7:08 PM
> To: Zhang, Qi Z
> Subject: RE: [PATCH] net/i40e: enable statistic reset for VF
>
> -Original Message-
> From: Zhang, Qi Z
> Sent: Friday, February 24, 2017 2:27 AM
> To: Wu, Jingjing; Zhang, Helin
As Thomas asked, I am not quite sure if experimental tag needs to be added.
Please double check it.
Thanks,
Helin
> -Original Message-
> From: Zhang, Qi Z
> Sent: Friday, February 24, 2017 2:27 AM
> To: Wu, Jingjing; Zhang, Helin
> Cc: dev@dpdk.org; Zhang, Qi Z
> Subject: [PATCH] net/i40
Re: [dpdk-dev] [PATCH] net/i40e: enable statistic reset for VF
>
> 2017-03-20 02:47, Zhang, Helin:
> > From: Thomas Monjalon [mailto:thomas.monja...@6wind.com]
> > > 2017-03-17 09:45, Zhang, Helin:
> > > >From: Thomas Monjalon [mailto:thomas.monja...@6wind.com]
&g
2017-03-20 02:47, Zhang, Helin:
> From: Thomas Monjalon [mailto:thomas.monja...@6wind.com]
> > 2017-03-17 09:45, Zhang, Helin:
> > >From: Thomas Monjalon [mailto:thomas.monja...@6wind.com]
> > > >2017-03-17 03:28, Zhang, Helin:
> > > >> From: Thomas Monjalon [mailto:thomas.monja...@6wind.com]
> > >
Re: [dpdk-dev] [PATCH] net/i40e: enable statistic reset for VF
>
> 2017-03-17 09:45, Zhang, Helin:
> >From: Thomas Monjalon [mailto:thomas.monja...@6wind.com]
> > >2017-03-17 03:28, Zhang, Helin:
> > >> From: Thomas Monjalon [mailto:thomas.monja...@6wind.com]
> &
Le 18 mars 2017 00:03:08 Thomas Monjalon a écrit :
2017-03-17 21:14, Vincent Jardin:
Please, can you bring it to the next tech board? This dispersion of VF/PF
make the DPDK unusable into open products with many parties since behavior
becomes VF/PF specific.
Already requested earlier in thi
2017-03-17 21:14, Vincent Jardin:
> Please, can you bring it to the next tech board? This dispersion of VF/PF
> make the DPDK unusable into open products with many parties since behavior
> becomes VF/PF specific.
Already requested earlier in this thread:
http://dpdk.org/ml/archives/dev/2
Le 17 mars 2017 11:15:22 AM Thomas Monjalon a
écrit :
2017-03-17 09:45, Zhang, Helin:
From: Thomas Monjalon [mailto:thomas.monja...@6wind.com]
>2017-03-17 03:28, Zhang, Helin:
>> From: Thomas Monjalon [mailto:thomas.monja...@6wind.com]
>> > 2017-02-23 13:27, Qi Zhang:
>> > > static void
>
2017-03-17 09:45, Zhang, Helin:
>From: Thomas Monjalon [mailto:thomas.monja...@6wind.com]
> >2017-03-17 03:28, Zhang, Helin:
> >> From: Thomas Monjalon [mailto:thomas.monja...@6wind.com]
> >> > 2017-02-23 13:27, Qi Zhang:
> >> > > static void
> >> > > +i40evf_dev_stats_reset(struct rte_eth_dev *d
>-Original Message-
>From: Thomas Monjalon [mailto:thomas.monja...@6wind.com]
>Sent: Friday, March 17, 2017 4:03 PM
>To: Zhang, Helin
>Cc: Zhang, Qi Z ; techbo...@dpdk.org; dev@dpdk.org; Wu,
>Jingjing ; Yigit, Ferruh
>Subject: Re: [dpdk-dev] [PATCH] net/i40e: e
2017-03-17 03:28, Zhang, Helin:
> From: Thomas Monjalon [mailto:thomas.monja...@6wind.com]
> > 2017-02-23 13:27, Qi Zhang:
> > > static void
> > > +i40evf_dev_stats_reset(struct rte_eth_dev *dev) {
> > > + struct i40e_vf *vf = I40EVF_DEV_PRIVATE_TO_VF(dev->data-
> > >dev_private);
> > > + /* only
> -Original Message-
> From: Thomas Monjalon [mailto:thomas.monja...@6wind.com]
> Sent: Friday, March 17, 2017 12:04 AM
> To: Zhang, Qi Z; techbo...@dpdk.org
> Cc: dev@dpdk.org; Wu, Jingjing; Zhang, Helin; Yigit, Ferruh
> Subject: Re: [dpdk-dev] [PATCH] net/i40e: enab
Hi Thomas:
> -Original Message-
> From: Thomas Monjalon [mailto:thomas.monja...@6wind.com]
> Sent: Friday, March 17, 2017 12:04 AM
> To: Zhang, Qi Z ; techbo...@dpdk.org
> Cc: dev@dpdk.org; Wu, Jingjing ; Zhang, Helin
> ; Yigit, Ferruh
> Subject: Re: [dpdk-
2017-02-23 13:27, Qi Zhang:
> static void
> +i40evf_dev_stats_reset(struct rte_eth_dev *dev)
> +{
> + struct i40e_vf *vf = I40EVF_DEV_PRIVATE_TO_VF(dev->data->dev_private);
> + /* only DPDK PF support this */
> + if (vf->version_major == I40E_DPDK_VERSION_MAJOR) {
> + if (i
The patch implements the dev_ops "stats_reset" for VF.
Signed-off-by: Qi Zhang
---
drivers/net/i40e/i40e_ethdev_vf.c | 34 ++
drivers/net/i40e/i40e_pf.c| 25 +
drivers/net/i40e/i40e_pf.h| 1 +
3 files changed, 60 insertions
15 matches
Mail list logo