* [dts] [PATCH V1] tests/ddp_gtp : change match vf queue constant
@ 2018-01-23 7:26 zhao,meijuan
2018-01-24 5:18 ` Liu, Yong
0 siblings, 1 reply; 2+ messages in thread
From: zhao,meijuan @ 2018-01-23 7:26 UTC (permalink / raw)
To: dts; +Cc: zhao,meijuan
in dpdk/conf/common_base file, no key word CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VF
but CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VM
Signed-off-by: zhao,meijuan <meijuanx.zhao@intel.com>
---
tests/TestSuite_ddp_gtp.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/TestSuite_ddp_gtp.py b/tests/TestSuite_ddp_gtp.py
index 1931b1a..9207b15 100644
--- a/tests/TestSuite_ddp_gtp.py
+++ b/tests/TestSuite_ddp_gtp.py
@@ -27,7 +27,7 @@ class TestDdpGtp(TestCase):
profile_dst = "/tmp/"
self.dut.session.copy_file_to(profile_file, profile_dst)
PF_Q_strip = 'CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_PF'
- VF_Q_strip = 'CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VF'
+ VF_Q_strip = 'CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VM'
self.PF_QUEUE = self.search_queue_number(PF_Q_strip)
self.VF_QUEUE = self.search_queue_number(VF_Q_strip)
--
1.9.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dts] [PATCH V1] tests/ddp_gtp : change match vf queue constant
2018-01-23 7:26 [dts] [PATCH V1] tests/ddp_gtp : change match vf queue constant zhao,meijuan
@ 2018-01-24 5:18 ` Liu, Yong
0 siblings, 0 replies; 2+ messages in thread
From: Liu, Yong @ 2018-01-24 5:18 UTC (permalink / raw)
To: Zhao, MeijuanX, dts; +Cc: Zhao, MeijuanX
Meijuan,
As commit log in ee653bd8, queue number for each device is configured by queue-num-per-vf.
Default value is defined in drivers/net/i40e/i40e_ethdev.c, named as RTE_LIBRTE_I40E_QUEUE_NUM_PER_VF.
You can strip this value out from source code.
Meaning for 'CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VM' is number of queues for each VSI. It is different from 'CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VF'.
Thanks,
Marvin
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhao,meijuan
> Sent: Tuesday, January 23, 2018 3:27 PM
> To: dts@dpdk.org
> Cc: Zhao, MeijuanX <meijuanx.zhao@intel.com>
> Subject: [dts] [PATCH V1] tests/ddp_gtp : change match vf queue constant
>
>
> in dpdk/conf/common_base file, no key word
> CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VF
> but CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VM
>
> Signed-off-by: zhao,meijuan <meijuanx.zhao@intel.com>
> ---
> tests/TestSuite_ddp_gtp.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/TestSuite_ddp_gtp.py b/tests/TestSuite_ddp_gtp.py
> index 1931b1a..9207b15 100644
> --- a/tests/TestSuite_ddp_gtp.py
> +++ b/tests/TestSuite_ddp_gtp.py
> @@ -27,7 +27,7 @@ class TestDdpGtp(TestCase):
> profile_dst = "/tmp/"
> self.dut.session.copy_file_to(profile_file, profile_dst)
> PF_Q_strip = 'CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_PF'
> - VF_Q_strip = 'CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VF'
> + VF_Q_strip = 'CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VM'
> self.PF_QUEUE = self.search_queue_number(PF_Q_strip)
> self.VF_QUEUE = self.search_queue_number(VF_Q_strip)
>
> --
> 1.9.3
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-01-24 5:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-23 7:26 [dts] [PATCH V1] tests/ddp_gtp : change match vf queue constant zhao,meijuan
2018-01-24 5:18 ` Liu, Yong
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).