test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH 1/1] Patch adds preliminary settings to support Qlogic NICs.
@ 2019-06-28  7:13 Yash Sharma
  2019-06-28  7:13 ` [dts] [PATCH 1/1] Total Packet Length includes CRC(4 bytes) so no need of adding extra 4 bytes for fastlinq Adapters Yash Sharma
  0 siblings, 1 reply; 4+ messages in thread
From: Yash Sharma @ 2019-06-28  7:13 UTC (permalink / raw)
  To: lijuan.tu; +Cc: dts, yash

From: yash <ysharma@marvell.com>

Signed-off-by: yash <ysharma@marvell.com>
---
 framework/settings.py | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/framework/settings.py b/framework/settings.py
index 34d49f7..6ece55e 100644
--- a/framework/settings.py
+++ b/framework/settings.py
@@ -100,6 +100,10 @@ NICS = {
     'hi1822': '19e5:1822',
     'fortvile_bdw_de': '8086:15ac',
     'cavium_a063': '177d:a063',
+    'fastlinq_ql45000': '1077:1656',
+    'fastlinq_ql45000_vf': '1077:1664',
+    'fastlinq_ql41000': '1077:8070',
+    'fastlinq_ql41000_vf': '1077:8090',
 }
 
 DRIVERS = {
@@ -154,6 +158,10 @@ DRIVERS = {
     'hi1822': 'hinic',
     'fortvile_bdw_de': 'ixgbe',
     'cavium_a063': 'octeontx2-nicpf',
+    'fastlinq_ql45000': 'qede',
+    'fastlinq_ql41000': 'qede',
+    'fastlinq_ql45000_vf': 'qede',
+    'fastlinq_ql41000_vf': 'qede',
 }
 
 """
-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [dts] [PATCH 1/1] Total Packet Length includes CRC(4 bytes) so no need of adding extra 4 bytes for fastlinq Adapters.
  2019-06-28  7:13 [dts] [PATCH 1/1] Patch adds preliminary settings to support Qlogic NICs Yash Sharma
@ 2019-06-28  7:13 ` Yash Sharma
  0 siblings, 0 replies; 4+ messages in thread
From: Yash Sharma @ 2019-06-28  7:13 UTC (permalink / raw)
  To: lijuan.tu; +Cc: dts, yash

From: yash <ysharma@marvell.com>

Signed-off-by: yash <ysharma@marvell.com>
---
 tests/TestSuite_jumboframes.py | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

diff --git a/tests/TestSuite_jumboframes.py b/tests/TestSuite_jumboframes.py
index cf4335a..1b5aab5 100644
--- a/tests/TestSuite_jumboframes.py
+++ b/tests/TestSuite_jumboframes.py
@@ -93,12 +93,18 @@ class TestJumboframes(TestCase):
         rx_err -= rx_err_ori
 
         if received:
-            self.verify(self.pmdout.check_tx_bytes(tx_pkts, rx_pkts) 
-                         and ( self.pmdout.check_tx_bytes(tx_bytes + 4, pktsize )) 
-                         and ((rx_bytes + 4) == pktsize),
-                        "packet pass assert error")
+           if self.nic.startswith('fastlinq'):
+              self.verify(self.pmdout.check_tx_bytes(tx_pkts, rx_pkts)
+                           and ( self.pmdout.check_tx_bytes(tx_bytes, pktsize ))
+                           and (rx_bytes == pktsize),
+                           "packet pass assert error")
+           else:
+              self.verify(self.pmdout.check_tx_bytes(tx_pkts, rx_pkts)
+                           and ( self.pmdout.check_tx_bytes(tx_bytes + 4, pktsize ))
+                           and ((rx_bytes + 4) == pktsize),
+                           "packet pass assert error")
         else:
-            self.verify(rx_err == 1 or tx_pkts == 0, "packet drop assert error")
+              self.verify(rx_err == 1 or tx_pkts == 0, "packet drop assert error")
         return out
 
     #
-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dts] [PATCH 1/1] Patch adds preliminary settings to support Qlogic NICs.
  2019-06-26 11:17 [dts] [PATCH 1/1] Patch adds preliminary settings to support Qlogic NICs Yash Sharma
@ 2019-07-03  9:41 ` Tu, Lijuan
  0 siblings, 0 replies; 4+ messages in thread
From: Tu, Lijuan @ 2019-07-03  9:41 UTC (permalink / raw)
  To: Yash Sharma, dts

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Yash Sharma
> Sent: Wednesday, June 26, 2019 7:17 PM
> To: dts@dpdk.org
> Cc: yash <ysharma@marvell.com>
> Subject: [dts] [PATCH 1/1] Patch adds preliminary settings to support Qlogic
> NICs.
> 
> From: yash <ysharma@marvell.com>
> 
> Signed-off-by: yash <ysharma@marvell.com>
> ---
>  framework/settings.py | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/framework/settings.py b/framework/settings.py index
> 34d49f7..6ece55e 100644
> --- a/framework/settings.py
> +++ b/framework/settings.py
> @@ -100,6 +100,10 @@ NICS = {
>      'hi1822': '19e5:1822',
>      'fortvile_bdw_de': '8086:15ac',
>      'cavium_a063': '177d:a063',
> +    'fastlinq_ql45000': '1077:1656',
> +    'fastlinq_ql45000_vf': '1077:1664',
> +    'fastlinq_ql41000': '1077:8070',
> +    'fastlinq_ql41000_vf': '1077:8090',
>  }
> 
>  DRIVERS = {
> @@ -154,6 +158,10 @@ DRIVERS = {
>      'hi1822': 'hinic',
>      'fortvile_bdw_de': 'ixgbe',
>      'cavium_a063': 'octeontx2-nicpf',
> +    'fastlinq_ql45000': 'qede',
> +    'fastlinq_ql41000': 'qede',
> +    'fastlinq_ql45000_vf': 'qede',
> +    'fastlinq_ql41000_vf': 'qede',
>  }
> 
>  """
> --
> 1.8.3.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [dts] [PATCH 1/1] Patch adds preliminary settings to support Qlogic NICs.
@ 2019-06-26 11:17 Yash Sharma
  2019-07-03  9:41 ` Tu, Lijuan
  0 siblings, 1 reply; 4+ messages in thread
From: Yash Sharma @ 2019-06-26 11:17 UTC (permalink / raw)
  To: dts; +Cc: yash

From: yash <ysharma@marvell.com>

Signed-off-by: yash <ysharma@marvell.com>
---
 framework/settings.py | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/framework/settings.py b/framework/settings.py
index 34d49f7..6ece55e 100644
--- a/framework/settings.py
+++ b/framework/settings.py
@@ -100,6 +100,10 @@ NICS = {
     'hi1822': '19e5:1822',
     'fortvile_bdw_de': '8086:15ac',
     'cavium_a063': '177d:a063',
+    'fastlinq_ql45000': '1077:1656',
+    'fastlinq_ql45000_vf': '1077:1664',
+    'fastlinq_ql41000': '1077:8070',
+    'fastlinq_ql41000_vf': '1077:8090',
 }
 
 DRIVERS = {
@@ -154,6 +158,10 @@ DRIVERS = {
     'hi1822': 'hinic',
     'fortvile_bdw_de': 'ixgbe',
     'cavium_a063': 'octeontx2-nicpf',
+    'fastlinq_ql45000': 'qede',
+    'fastlinq_ql41000': 'qede',
+    'fastlinq_ql45000_vf': 'qede',
+    'fastlinq_ql41000_vf': 'qede',
 }
 
 """
-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-07-03  9:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-28  7:13 [dts] [PATCH 1/1] Patch adds preliminary settings to support Qlogic NICs Yash Sharma
2019-06-28  7:13 ` [dts] [PATCH 1/1] Total Packet Length includes CRC(4 bytes) so no need of adding extra 4 bytes for fastlinq Adapters Yash Sharma
  -- strict thread matches above, loose matches on Subject: below --
2019-06-26 11:17 [dts] [PATCH 1/1] Patch adds preliminary settings to support Qlogic NICs Yash Sharma
2019-07-03  9:41 ` 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).