<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"\@SimSun";
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:"Palatino Linotype";
panose-1:2 4 5 2 5 5 5 3 3 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="ZH-CN" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:#1F497D">Prefer that add these tests in “test_case_checklist.json” and at the same time filter the NICs that both mentioned in the scripts and your last patch.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:#1F497D">In other words, it’s make sense to filter these cases that could not be supported by some NICes, both intel NICs and cavium.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:#1F497D">I ‘d like to clarify that checklist is considered as blacklist while support list constitutes whitelist.
<o:p></o:p></span></p>
<p class="MsoNormal"><a name="_MailEndCompose"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></a></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><a name="_____replyseparator"></a><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Phanendra Vukkisala [mailto:pvukkisala@marvell.com]
<br>
<b>Sent:</b> Monday, January 7, 2019 5:39 PM<br>
<b>To:</b> Tu, Lijuan <lijuan.tu@intel.com>; dts@dpdk.org<br>
<b>Cc:</b> Vijaya Bhaskar Annayyolla <avijay@marvell.com>; Faisal Masood <fmasood@marvell.com><br>
<b>Subject:</b> Re: [PATCH] conf/test_case_supportlist.json: Avoid showing fail for not supported NICs<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div id="divtagdefaultwrapper">
<div id="divtagdefaultwrapper">
<p><span lang="EN-US" style="font-family:"Palatino Linotype",serif;color:#757B80">Hi Lijuan,<o:p></o:p></span></p>
<p><span lang="EN-US" style="font-family:"Palatino Linotype",serif;color:#757B80"><o:p> </o:p></span></p>
<p><span lang="EN-US" style="font-family:"Palatino Linotype",serif;color:#757B80">I can add these tests in "test_case_checklist.json" as these are not supported on cavium devices.
<o:p></o:p></span></p>
<p><span lang="EN-US" style="font-family:"Palatino Linotype",serif;color:#757B80">But in the test scripts, I can see the tests are supported only on few NICs I have mentioned in supportlist.json
<o:p></o:p></span></p>
<p><span lang="EN-US" style="font-family:"Palatino Linotype",serif;color:#757B80"><o:p> </o:p></span></p>
<p><span lang="EN-US" style="font-family:"Palatino Linotype",serif;color:#757B80">For instance: the syn_filter test is supported by Niantic, kawela_4, bartonhills, powerville. I have taken this reference from test scripts.
<o:p></o:p></span></p>
<p><span lang="EN-US" style="font-family:"Palatino Linotype",serif;color:#757B80">Below is test script snippet, because of verifying inside test case the result of test is showing as Failed instead of Not Applicable for other NICs.<o:p></o:p></span></p>
<p><span lang="EN-US" style="font-family:"Palatino Linotype",serif;color:#757B80"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Arial",sans-serif;color:#757B80"> def test_syn_filter(self):</span><span lang="EN-US" style="font-family:"Palatino Linotype",serif;color:#757B80"><br>
</span><span lang="EN-US" style="font-family:"Arial",sans-serif;color:#757B80"> """
</span><span lang="EN-US" style="font-family:"Palatino Linotype",serif;color:#757B80"><br>
</span><span lang="EN-US" style="font-family:"Arial",sans-serif;color:#757B80"> Enable receipt of SYN packets</span><span lang="EN-US" style="font-family:"Palatino Linotype",serif;color:#757B80"><br>
</span><span lang="EN-US" style="font-family:"Arial",sans-serif;color:#757B80"> """</span><span lang="EN-US" style="font-family:"Palatino Linotype",serif;color:#757B80"><br>
</span><span lang="EN-US" style="font-family:"Arial",sans-serif;color:#757B80"> self.verify(self.nic in ["niantic", "kawela_4", "bartonhills", "powerville"], "%s nic not support syn filter" % self.nic)</span><span lang="EN-US" style="font-family:"Palatino Linotype",serif;color:#757B80"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Palatino Linotype",serif;color:#757B80"><o:p> </o:p></span></p>
<p><span lang="EN-US" style="font-family:"Palatino Linotype",serif;color:#757B80"><o:p> </o:p></span></p>
<p><span lang="EN-US" style="font-family:"Palatino Linotype",serif;color:#757B80">If you fell I should update in "test_case_checklist.json" for cavium device only, please let me know I will do the same.<o:p></o:p></span></p>
<p><span lang="EN-US" style="font-family:"Palatino Linotype",serif;color:#757B80"><o:p> </o:p></span></p>
<div id="Signature">
<div id="divtagdefaultwrapper">
<p><span lang="EN-US" style="font-family:"Palatino Linotype",serif;color:#757B80;background:white">Regards,</span><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black"><o:p></o:p></span></p>
<p><span lang="EN-US" style="font-family:"Palatino Linotype",serif;color:#757B80;background:white">Phanendra</span><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black"><o:p></o:p></span></p>
</div>
</div>
</div>
<div class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Palatino Linotype",serif;color:#757B80">
<hr size="3" width="98%" align="center">
</span></div>
<div id="divRplyFwdMsg">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"> Tu, Lijuan <<a href="mailto:lijuan.tu@intel.com">lijuan.tu@intel.com</a>><br>
<b>Sent:</b> Monday, January 7, 2019 2:13:59 PM<br>
<b>To:</b> Phanendra Vukkisala; <a href="mailto:dts@dpdk.org">dts@dpdk.org</a><br>
<b>Cc:</b> Vijaya Bhaskar Annayyolla; Faisal Masood<br>
<b>Subject:</b> [EXT] RE: [PATCH] conf/test_case_supportlist.json: Avoid showing fail for not supported NICs</span><span lang="EN-US" style="font-family:"Palatino Linotype",serif;color:#757B80">
<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Palatino Linotype",serif;color:#757B80"> <o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US" style="font-size:11.0pt;font-family:"Palatino Linotype",serif;color:#757B80">External Email<br>
<br>
----------------------------------------------------------------------<br>
Hi phanendra,<br>
<br>
If test cases are not supported by some NICs, I should be added into test_case_checklist.json.<br>
Only the cases that added in supportlist.json are supported by these specific NICs.<br>
<br>
For instance: the syn_filter you added in the support list.<br>
Syn_filter is only supported by Niantic, kawela_r, bartonhills, powerville, but not supported by Fortville and other NICes.<br>
<br>
"syn_filter": [<br>
> + {<br>
> + "OS": [<br>
> + "ALL"<br>
> + ],<br>
> + "NIC": [<br>
> + "niantic",<br>
> + "kawela_4",<br>
> + "bartonhills",<br>
> + "powerville"<br>
> + ],<br>
> + "Target": [<br>
> + "ALL"<br>
> + ],<br>
> + "Bug ID": "",<br>
> + "Comments": "This case not support on this NIC"<br>
> + }<br>
> + ],<br>
<br>
<br>
> -----Original Message-----<br>
> From: dts [<a href="mailto:dts-bounces@dpdk.org" id="LPlnk909053">mailto:dts-bounces@dpdk.org</a>] On Behalf Of Phanendra Vukkisala<br>
> Sent: Friday, January 4, 2019 5:00 PM<br>
> To: <a href="mailto:dts@dpdk.org">dts@dpdk.org</a><br>
> Cc: Vijaya Bhaskar Annayyolla <<a href="mailto:avijay@marvell.com">avijay@marvell.com</a>>; Faisal Masood<br>
> <<a href="mailto:fmasood@marvell.com">fmasood@marvell.com</a>>; Phanendra Vukkisala <<a href="mailto:pvukkisala@marvell.com">pvukkisala@marvell.com</a>><br>
> Subject: [dts] [PATCH] conf/test_case_supportlist.json: Avoid showing fail<br>
> for not supported NICs<br>
> <br>
> From: pvukkisala <<a href="mailto:pvukkisala@marvell.com">pvukkisala@marvell.com</a>><br>
> <br>
> Result is showing as fail for not supported NICs. Added proper fix to avoid<br>
> show test result as fail instead of N/A.<br>
> <br>
> Signed-off-by: phanendra,vukkisala <<a href="mailto:pvukkisala@marvell.com">pvukkisala@marvell.com</a>><br>
> ---<br>
> conf/test_case_supportlist.json | 201<br>
> +++++++++++++++++++++++++++++++++++++++<br>
> 1 file changed, 201 insertions(+)<br>
> <br>
> diff --git a/conf/test_case_supportlist.json<br>
> b/conf/test_case_supportlist.json index 571bb5c..c128c95 100644<br>
> --- a/conf/test_case_supportlist.json<br>
> +++ b/conf/test_case_supportlist.json<br>
> @@ -633,5 +633,206 @@<br>
> "Bug ID": "",<br>
> "Comments": "This case only support on FVL"<br>
> }<br>
> + ],<br>
> + "syn_filter": [<br>
> + {<br>
> + "OS": [<br>
> + "ALL"<br>
> + ],<br>
> + "NIC": [<br>
> + "niantic",<br>
> + "kawela_4",<br>
> + "bartonhills",<br>
> + "powerville"<br>
> + ],<br>
> + "Target": [<br>
> + "ALL"<br>
> + ],<br>
> + "Bug ID": "",<br>
> + "Comments": "This case not support on this NIC"<br>
> + }<br>
> + ],<br>
> + "priority_filter": [<br>
> + {<br>
> + "OS": [<br>
> + "ALL"<br>
> + ],<br>
> + "NIC": [<br>
> + "niantic",<br>
> + "kawela_4",<br>
> + "bartonhills",<br>
> + "powerville"<br>
> + ],<br>
> + "Target": [<br>
> + "ALL"<br>
> + ],<br>
> + "Bug ID": "",<br>
> + "Comments": "This case not support on this NIC"<br>
> + }<br>
> + ],<br>
> + "five_tuple_filter": [<br>
> + {<br>
> + "OS": [<br>
> + "ALL"<br>
> + ],<br>
> + "NIC": [<br>
> + "niantic",<br>
> + "kawela_4"<br>
> + ],<br>
> + "Target": [<br>
> + "ALL"<br>
> + ],<br>
> + "Bug ID": "",<br>
> + "Comments": "This case only support only on Niantic and<br>
> kawela_4"<br>
> + }<br>
> + ],<br>
> + "ethertype_filter": [<br>
> + {<br>
> + "OS": [<br>
> + "ALL"<br>
> + ],<br>
> + "NIC": [<br>
> + "niantic",<br>
> + "kawela_4",<br>
> + "bartonhills",<br>
> + "powerville",<br>
> + "fortville_eagle",<br>
> + "fortville_spirit",<br>
> + "fortville_spirit_single",<br>
> + "fortpark_TLV",<br>
> + "fortville_25g"<br>
> + ],<br>
> + "Target": [<br>
> + "ALL"<br>
> + ],<br>
> + "Bug ID": "",<br>
> + "Comments": "This case is not supported on this NIC"<br>
> + }<br>
> + ],<br>
> + "multiple_filters_10GB": [<br>
> + {<br>
> + "OS": [<br>
> + "ALL"<br>
> + ],<br>
> + "NIC": [<br>
> + "niantic"<br>
> + ],<br>
> + "Target": [<br>
> + "ALL"<br>
> + ],<br>
> + "Bug ID": "",<br>
> + "Comments": "This case only support with Niantic NIC"<br>
> + }<br>
> + ],<br>
> + "twotuple_filter": [<br>
> + {<br>
> + "OS": [<br>
> + "ALL"<br>
> + ],<br>
> + "NIC": [<br>
> + "powerville",<br>
> + "bartonhills"<br>
> + ],<br>
> + "Target": [<br>
> + "ALL"<br>
> + ],<br>
> + "Bug ID": "",<br>
> + "Comments": "This case is not supported on this NIC"<br>
> + }<br>
> + ],<br>
> + "flex_filter": [<br>
> + {<br>
> + "OS": [<br>
> + "ALL"<br>
> + ],<br>
> + "NIC": [<br>
> + "powerville",<br>
> + "bartonhills"<br>
> + ],<br>
> + "Target": [<br>
> + "ALL"<br>
> + ],<br>
> + "Bug ID": "",<br>
> + "Comments": "This case is not supported on this NIC"<br>
> + }<br>
> + ],<br>
> + "multiple_filters_1GB": [<br>
> + {<br>
> + "OS": [<br>
> + "ALL"<br>
> + ],<br>
> + "NIC": [<br>
> + "powerville",<br>
> + "kawela_4",<br>
> + "bartonhills"<br>
> + ],<br>
> + "Target": [<br>
> + "ALL"<br>
> + ],<br>
> + "Bug ID": "",<br>
> + "Comments": "This case is not supported on this NIC"<br>
> + }<br>
> + ],<br>
> + "128_queues": [<br>
> + {<br>
> + "OS": [<br>
> + "ALL"<br>
> + ],<br>
> + "NIC": [<br>
> + "niantic",<br>
> + "ironpond",<br>
> + "twinpond",<br>
> + "twinville",<br>
> + "sageville",<br>
> + "sagepond",<br>
> + "magnolia_park",<br>
> + "springfountain"<br>
> + ],<br>
> + "Target": [<br>
> + "ALL"<br>
> + ],<br>
> + "Bug ID": "",<br>
> + "Comments": "This case only support with ixgbe driver"<br>
> + }<br>
> + ],<br>
> + "rss_key_size": [<br>
> + {<br>
> + "OS": [<br>
> + "ALL"<br>
> + ],<br>
> + "NIC": [<br>
> + "fortville_eagle",<br>
> + "fortville_spirit",<br>
> + "fortville_spirit_single",<br>
> + "fortville_25g",<br>
> + "niantic",<br>
> + "redrockcanyou",<br>
> + "atwood",<br>
> + "boulderrapid",<br>
> + "fortpark_TLV"<br>
> + ],<br>
> + "Target": [<br>
> + "ALL"<br>
> + ],<br>
> + "Bug ID": "",<br>
> + "Comments": "This case is not supported on this NIC"<br>
> + }<br>
> + ],<br>
> + "vlan_qinq_tpid": [<br>
> + {<br>
> + "OS": [<br>
> + "ALL"<br>
> + ],<br>
> + "NIC": [<br>
> + "fortville_eagle",<br>
> + "fortville_spirit",<br>
> + "fortville_spirit_single"<br>
> + ],<br>
> + "Target": [<br>
> + "ALL"<br>
> + ],<br>
> + "Bug ID": "",<br>
> + "Comments": "This case is not supported on this NIC"<br>
> + }<br>
> ]<br>
> }<br>
> --<br>
> 1.7.9.5<o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>