diff options
author | Mohsin Kazmi <sykazmi@cisco.com> | 2019-10-08 19:42:38 +0200 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2019-10-14 22:48:38 +0000 |
commit | 29467b5347dca90f4ef068ef8d34ffb97c2435f0 (patch) | |
tree | 12bb4855277976b75ca00dae19098f04aaf7e60d /test/test_gso.py | |
parent | 26c7a4b0b6488423688f4a7f3c8aacf0d1b9c742 (diff) |
gso: Add gso feature arc
Type: refactor
Change-Id: Ib4a8e7e64093b2db1deda6663325080bc8337605
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'test/test_gso.py')
-rw-r--r-- | test/test_gso.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_gso.py b/test/test_gso.py index 87626ccf01f..017bb496a0f 100644 --- a/test/test_gso.py +++ b/test/test_gso.py @@ -129,6 +129,7 @@ class TestGSO(VppTestCase): i.resolve_arp() i.resolve_ndp() + self.vapi.feature_gso_enable_disable(self.pg4.sw_if_index) p42 = (Ether(src=self.pg2.remote_mac, dst=self.pg2.local_mac) / IP(src=self.pg2.remote_ip4, dst=self.pg4.remote_ip4, flags='DF') / @@ -186,6 +187,7 @@ class TestGSO(VppTestCase): i.resolve_ndp() self.vapi.sw_interface_set_mtu(self.pg5.sw_if_index, [9000, 0, 0, 0]) + self.vapi.feature_gso_enable_disable(self.pg1.sw_if_index) p44 = (Ether(src=self.pg5.remote_mac, dst=self.pg5.local_mac) / IP(src=self.pg5.remote_ip4, dst=self.pg1.remote_ip4) / TCP(sport=1234, dport=1234) / |