test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Tu, Lijuan" <lijuan.tu@intel.com>
To: "Li, HongboX" <hongbox.li@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Cc: "Li, HongboX" <hongbox.li@intel.com>
Subject: RE: [dts][PATCH V1 1/2] test_plans/ice_dcf_switch_filter: optimize max vfs script
Date: Tue, 7 Mar 2023 05:44:18 +0000	[thread overview]
Message-ID: <CY5PR11MB6187220A827796F59CFBFF86F5B79@CY5PR11MB6187.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20230221145059.10655-1-hongbox.li@intel.com>



> -----Original Message-----
> From: Hongbo Li <hongbox.li@intel.com>
> Sent: Tuesday, February 21, 2023 10:51 PM
> To: dts@dpdk.org
> Cc: Li, HongboX <hongbox.li@intel.com>
> Subject: [dts][PATCH V1 1/2] test_plans/ice_dcf_switch_filter: optimize max vfs
> script
> 
> Change the method of obtaining the maximum number of VF that can be
> created on one PF
> 
> Signed-off-by: Hongbo Li <hongbox.li@intel.com>
> ---
>  .../ice_dcf_switch_filter_test_plan.rst       | 28 ++++++++++---------
>  1 file changed, 15 insertions(+), 13 deletions(-)
> 
> diff --git a/test_plans/ice_dcf_switch_filter_test_plan.rst
> b/test_plans/ice_dcf_switch_filter_test_plan.rst
> index 63ef56e0..488683b0 100644
> --- a/test_plans/ice_dcf_switch_filter_test_plan.rst
> +++ b/test_plans/ice_dcf_switch_filter_test_plan.rst
> @@ -2791,40 +2791,42 @@ are dropped.
>  Test case: Max vfs
>  ==================
> 
> -Description: 256 VFs can be created on a Intel® Ethernet 800 Series NIC, if
> 2*100G NIC, each PF -can create 128 VFs, else if 4*25G NIC, each PF can create
> 64 VFs. This -case is used to test when all VFs on a PF are used, switch filter rules
> can work.
> +Description: This case is used to test when all VFs on a PF are used, switch filter
> rules can work.
>  This case is designed based on 4*25G NIC.
> 
> -1. generate 64 VFs on PF::
> +1.Query the maximum number of VF that can be created by each PF::
> +
> +     cat /sys/bus/pci/devices/0000\:18\:00.0/sriov_totalvfs
> +
> +2. generate 64 VFs on PF::
> 
>       echo 64 > /sys/bus/pci/devices/0000:18:00.0/sriov_numvfs

Why it get the maximum number of VF, but not use it? 
I see here 64 is still a hardcode, not the maximum number of VF.


      parent reply	other threads:[~2023-03-07  5:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-21 14:50 Hongbo Li
2023-02-21 14:50 ` [dts][PATCH V1 2/2] tests/ice_dcf_switch_filter: " Hongbo Li
2023-03-07  5:44 ` Tu, Lijuan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CY5PR11MB6187220A827796F59CFBFF86F5B79@CY5PR11MB6187.namprd11.prod.outlook.com \
    --to=lijuan.tu@intel.com \
    --cc=dts@dpdk.org \
    --cc=hongbox.li@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).