[V2] tests/vf_kernel: remove the NIC limitation
Commit Message
the packet can be received when the mtu value is greater than the length of the packet to be sent,
and it has nothing to do with NIC type, so remove the judgment condition to adapt niantic.
Signed-off-by: Yan Xia <yanx.xia@intel.com>
---
tests/TestSuite_vf_kernel.py | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
Comments
> the packet can be received when the mtu value is greater than the length of the
> packet to be sent, and it has nothing to do with NIC type, so remove the
> judgment condition to adapt niantic.
>
> Signed-off-by: Yan Xia <yanx.xia@intel.com
Applied.
@@ -563,9 +563,7 @@ class TestVfKernel(TestCase):
self.verify(self.dmac.upper() in out, "PF can't receive packet")
# Change kernel VF mtu as 3000,check no confusion/crash on DPDK PF
- if self.nic.startswith('fortville') or self.nic.startswith('carlsville') or self.nic.startswith('fortpark_BASE-T'):
- self.vm0_dut.send_expect(
- "ifconfig %s mtu 3000" % self.vm0_intf0, "#")
+ self.vm0_dut.send_expect("ifconfig %s mtu 3000" % self.vm0_intf0, "#")
# send one packet with length as 2000 with kernel VF MAC as DEST MAC,
# check Kernel VF can receive packet