* [dts] [PATCH] TestSuite_nvgre.py: Modified packet type for cavium_a064
@ 2019-08-12 5:10 nareddy
2019-08-12 7:04 ` Tu, Lijuan
0 siblings, 1 reply; 2+ messages in thread
From: nareddy @ 2019-08-12 5:10 UTC (permalink / raw)
To: dts; +Cc: fmasood, avijay, Praneeth Reddy
From: Praneeth Reddy <nareddy@marvell.com>
For cavium_a064 packet type is L3_IPV4/L3_IPV6
Signed-off-by: Praneeth Reddy <nareddy@marvell.com>
---
tests/TestSuite_nvgre.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/TestSuite_nvgre.py b/tests/TestSuite_nvgre.py
index aea915c..62aac3a 100644
--- a/tests/TestSuite_nvgre.py
+++ b/tests/TestSuite_nvgre.py
@@ -162,7 +162,7 @@ class NvgreTestConfig(object):
"""
Return nvgre packet type
"""
- if "cavium_a063" in nic:
+ if (self.nic in ["cavium_a063", "cavium_a064"]):
if self.outer_ip_proto !=47:
if self.outer_l3_type == 'IPv4':
return 'L3_IPV4'
@@ -361,7 +361,7 @@ class TestNvgre(TestCase):
nvgre Prerequisites
"""
# this feature only enable in FVL now
- if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortville_25g", "fortpark_TLV", "cavium_a063"]:
+ if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortville_25g", "fortpark_TLV", "cavium_a063", "cavium_a064"]:
self.compile_switch = 'CONFIG_RTE_LIBRTE_I40E_INC_VECTOR'
elif self.nic in ["sageville", "sagepond"]:
self.compile_switch = 'CONFIG_RTE_IXGBE_INC_VECTOR'
--
1.8.3.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dts] [PATCH] TestSuite_nvgre.py: Modified packet type for cavium_a064
2019-08-12 5:10 [dts] [PATCH] TestSuite_nvgre.py: Modified packet type for cavium_a064 nareddy
@ 2019-08-12 7:04 ` Tu, Lijuan
0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2019-08-12 7:04 UTC (permalink / raw)
To: nareddy, dts; +Cc: fmasood, avijay
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of
> nareddy@marvell.com
> Sent: Monday, August 12, 2019 1:11 PM
> To: dts@dpdk.org
> Cc: fmasood@marvell.com; avijay@marvell.com; Praneeth Reddy
> <nareddy@marvell.com>
> Subject: [dts] [PATCH] TestSuite_nvgre.py: Modified packet type for
> cavium_a064
>
> From: Praneeth Reddy <nareddy@marvell.com>
>
> For cavium_a064 packet type is L3_IPV4/L3_IPV6
>
> Signed-off-by: Praneeth Reddy <nareddy@marvell.com>
> ---
> tests/TestSuite_nvgre.py | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tests/TestSuite_nvgre.py b/tests/TestSuite_nvgre.py index
> aea915c..62aac3a 100644
> --- a/tests/TestSuite_nvgre.py
> +++ b/tests/TestSuite_nvgre.py
> @@ -162,7 +162,7 @@ class NvgreTestConfig(object):
> """
> Return nvgre packet type
> """
> - if "cavium_a063" in nic:
> + if (self.nic in ["cavium_a063", "cavium_a064"]):
> if self.outer_ip_proto !=47:
> if self.outer_l3_type == 'IPv4':
> return 'L3_IPV4'
> @@ -361,7 +361,7 @@ class TestNvgre(TestCase):
> nvgre Prerequisites
> """
> # this feature only enable in FVL now
> - if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single",
> "fortville_25g", "fortpark_TLV", "cavium_a063"]:
> + if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single",
> "fortville_25g", "fortpark_TLV", "cavium_a063", "cavium_a064"]:
> self.compile_switch = 'CONFIG_RTE_LIBRTE_I40E_INC_VECTOR'
> elif self.nic in ["sageville", "sagepond"]:
> self.compile_switch = 'CONFIG_RTE_IXGBE_INC_VECTOR'
> --
> 1.8.3.1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-08-12 7:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-12 5:10 [dts] [PATCH] TestSuite_nvgre.py: Modified packet type for cavium_a064 nareddy
2019-08-12 7:04 ` Tu, Lijuan
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).