mbox series

[V1,0/3] replace i40evf with iavf in framework

Message ID 20201211070828.24244-1-haiyangx.zhao@intel.com (mailing list archive)
Headers
Series replace i40evf with iavf in framework |

Message

Zhao, HaiyangX Dec. 11, 2020, 7:08 a.m. UTC
  Now we need to replace i40evf with iavf for the 
nics whose kernel driver is i40e, and there are 
about 20 suites need to do this.

Do this replacement in suites is duplicated
and will cost lot of time when recompiling DPDK, so we do 
it in framework.

Delete the replacement code in kernelpf_iavf as it has been
done in framework.

Haiyang Zhao (3):
  framework/dut: add an attribute nic in dut get the instance of
    NetDevice from the port_info, and save it in dut as attribute nic.
  framework/project_dpdk: replace i40evf with iavf
  tests/kernelpf_iavf: delete code of replacing i40evf replace i40evf
    with iavf is completed in framework, so delete the code of replacing
    i40evf.

 framework/dut.py                 |  3 +++
 framework/project_dpdk.py        | 11 +++++++++++
 tests/TestSuite_kernelpf_iavf.py | 12 ------------
 3 files changed, 14 insertions(+), 12 deletions(-)
  

Comments

Zhao, HaiyangX Dec. 11, 2020, 7:21 a.m. UTC | #1
Tested-by: Haiyang Zhao <haiyangx.zhao@intel.com>

Best Regards,
Zhao Haiyang

> -----Original Message-----
> From: Haiyang Zhao <haiyangx.zhao@intel.com>
> Sent: Friday, December 11, 2020 15:08
> To: dts@dpdk.org; Tu, Lijuan <lijuan.tu@intel.com>
> Cc: Zhao, HaiyangX <haiyangx.zhao@intel.com>
> Subject: [dts][PATCH V1 0/3] replace i40evf with iavf in framework
  
Tu, Lijuan Dec. 11, 2020, 7:25 a.m. UTC | #2
> Now we need to replace i40evf with iavf for the nics whose kernel driver is
> i40e, and there are about 20 suites need to do this.
> 
> Do this replacement in suites is duplicated and will cost lot of time when
> recompiling DPDK, so we do it in framework.
> 
> Delete the replacement code in kernelpf_iavf as it has been done in
> framework.
> 
> Haiyang Zhao (3):
>   framework/dut: add an attribute nic in dut get the instance of
>     NetDevice from the port_info, and save it in dut as attribute nic.
>   framework/project_dpdk: replace i40evf with iavf
>   tests/kernelpf_iavf: delete code of replacing i40evf replace i40evf
>     with iavf is completed in framework, so delete the code of replacing
>     i40evf.


Please consider clean up related code as next job, such us test plan, test suites, thanks
  
Tu, Lijuan Dec. 15, 2020, 2:11 a.m. UTC | #3
> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Tu, Lijuan
> Sent: 2020年12月11日 15:25
> To: Zhao, HaiyangX <haiyangx.zhao@intel.com>; dts@dpdk.org
> Cc: Zhao, HaiyangX <haiyangx.zhao@intel.com>
> Subject: Re: [dts] [PATCH V1 0/3] replace i40evf with iavf in framework
> 
> > Now we need to replace i40evf with iavf for the nics whose kernel
> > driver is i40e, and there are about 20 suites need to do this.
> >
> > Do this replacement in suites is duplicated and will cost lot of time
> > when recompiling DPDK, so we do it in framework.
> >
> > Delete the replacement code in kernelpf_iavf as it has been done in
> > framework.
> >
> > Haiyang Zhao (3):
> >   framework/dut: add an attribute nic in dut get the instance of
> >     NetDevice from the port_info, and save it in dut as attribute nic.
> >   framework/project_dpdk: replace i40evf with iavf
> >   tests/kernelpf_iavf: delete code of replacing i40evf replace i40evf
> >     with iavf is completed in framework, so delete the code of replacing
> >     i40evf.
> 
> 
> Please consider clean up related code as next job, such us test plan, test
> suites, thanks

Applied