From: Yong Liu <yong.liu@intel.com>
To: dts@dpdk.org
Subject: [dts] [PATCH] tests pmdrss_hash: support fm10k family nic
Date: Thu, 4 Feb 2016 12:55:07 +0800 [thread overview]
Message-ID: <1454561707-3185-1-git-send-email-yong.liu@intel.com> (raw)
FM10k can't set hash function and only support simple hash function.
Signed-off-by: Marvin Liu <yong.liu@intel.com>
diff --git a/conf/dpdk_test_case_checklist.xls b/conf/dpdk_test_case_checklist.xls
index 8b0f797b5af2d738c17a756b5c5181a971de7251..878a7a6134700a45770dc3f0b269f4d9cc8f7752 100644
GIT binary patch
delta 908
zcmZ{hO>7cD6vzLwUs^<42r2kM0*!hiMkrNl6<B*w3nXHUi4j_0Ni?EsNr};epwa3P
zJ9_ibix)4(tQt-HxYnCDk6wE)8gEULf^Qat<zP1dnR)Nc`^|r6nk}jMRB9b&vrnRX
zl~Vv-pL@lu4x3=i%U9I^zblXYXZ2VPQ{|-`q;bt2#r}4Ge@GFXEoGdilpWobn_&bW
zB|1ieU2;qCqs96OK_rUH<4pSay0X&-__#~$uEzNxwF?cn-1cTBkfJv+=oMky845l*
zA|FYo4<FyKxti89z*Cwqe^$g+Rm(>Xnh7!q4d<^^DofFa*o8*kk%@`Sbdmp#<+f$r
zFX)fT*6GOu?)_n)RxxU3`C7Sn<F;9k6qjz9rV%Nb^{P>+)rvQ-8vJ^)?adO+OaW7A
z;L}Cm&t<+?cy8_1R~gIl>ij)xX7;{6zFiu_ob4nct_@(L5IO21cf+|%FK4~I<dPd(
zaM_(Y7AW717)Gh<UnEgf>PPZWO{FN%tBJF86#J2rlBTB}P}1mA@^pL}PK>apW4?#U
zz=_EWVKM^@Q8InXcZBd$0Tjl=**%_w<i$HpJXDGVT;RX*LB9t+1j&<}qdvMX<mgjX
zK2bQMJu3iT7p%p?8(Eqw(S>jFaQO%SW~{9k@3rQ>58m~H_1Ta@dX!q*ola+x<~V7J
zbcA%2bc{4j67?CHPmoTMgp(vGMbi1!gU-tGhV-SxH<$0Q7_UESxQ|l>V`2dQ0vo-w
Ap8x;=
delta 599
zcmZ`#O-mb56g}_FWJ;2;tr|5o1gy|Pi-?J~YBgre#@6V<c2Q`WCMGB@#FcJbSSg5c
zm*f_q(1p^S8<DpW5#9O^+_`p9+O1T`c;7@co6d0V+>dk5ocGqh%k{D>_lZ;`7BR;G
z9L($s<%(`0zR`{^OlyY!KUv9m%9A}K%JIyLnqRx)cbR&#Y_^kQ2J4wE;K#A#-$-~P
zTcQJHao5m_tP*H$Y=-F4Z1My`6!6uvcIx%jMZ*ExBMU95cgOB`bve*jYJGOZK9Y?-
zLUiTnTGp)rax86rQrBwH%Jw`@kFiNu_^>cHw;bERLri>b=)`qL<mqqx{ezeGHlL`V
z-u6GUsgkU<q?wp@faWRS$4B5aqjsH9Dbng9WrS5UBMtvKI&onDXVqLJILr&o=Vyuj
z6rMzOU?PYBqId*jnlBF!nC4eX`jmTTWwSsfN4w5Xx-NcEzw$>?w$AEWT^AFgI)7;4
z#qYMZlscK0U5T3Ox^dR%XACf2F<vtU8AA*`f5YDq#wa7f(8o_Q91@#uC2v+sS8{Wf
T{*_imj8?Y3+S)T7>j2yU-BFR_
diff --git a/tests/TestSuite_pmdrss_hash.py b/tests/TestSuite_pmdrss_hash.py
index d87bb03..e753a17 100644
--- a/tests/TestSuite_pmdrss_hash.py
+++ b/tests/TestSuite_pmdrss_hash.py
@@ -417,14 +417,14 @@ class TestPmdrssHash(TestCase):
"""
self.verify(self.nic in ["fortville_eagle", "fortville_spirit",
- "fortville_spirit_single", "redrockcanyou", "atwood"],
+ "fortville_spirit_single", "redrockcanyou", "atwood", "boulderrapid"],
"NIC Unsupported: " + str(self.nic))
global reta_num
if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single"]:
reta_num = 512
elif self.nic in ["niantic"]:
reta_num = 128
- elif self.nic in ["redrockcanyou", "atwood"]:
+ elif self.nic in ["redrockcanyou", "atwood", "boulderrapid"]:
reta_num = 128
else:
self.verify(False, "NIC Unsupported:%s" % str(self.nic))
@@ -486,7 +486,7 @@ class TestPmdrssHash(TestCase):
self.send_packet(itf, iptype)
- self.dut.send_expect("quit", "# ", 30)
+ self.dut.send_expect("quit", "# ", 30)
def test_toeplitz_symmetric(self):
dutPorts = self.dut.get_ports(self.nic)
@@ -541,7 +541,6 @@ class TestPmdrssHash(TestCase):
self.dut.send_expect("quit", "# ", 30)
def test_simple(self):
-
dutPorts = self.dut.get_ports(self.nic)
localPort = self.tester.get_local_port(dutPorts[0])
itf = self.tester.get_interface(localPort)
@@ -577,10 +576,9 @@ class TestPmdrssHash(TestCase):
self.dut.send_expect("port stop all", "testpmd> ")
# some nic not support change hash algorithm
- if self.nic not in ["redrockcanyou"]:
+ if self.kdriver not in ["fm10k"]:
self.dut.send_expect(
"set_hash_global_config 0 simple_xor %s enable" % iptype, "testpmd> ")
- # self.dut.send_expect("port config all rss ip", "testpmd> ")
self.dut.send_expect("port start all", "testpmd> ")
self.dut.send_expect(
"port config all rss %s" % rsstype, "testpmd> ")
--
1.9.3
reply other threads:[~2016-02-04 4:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1454561707-3185-1-git-send-email-yong.liu@intel.com \
--to=yong.liu@intel.com \
--cc=dts@dpdk.org \
/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).