summaryrefslogtreecommitdiffstats
path: root/test/vpp_papi_provider.py
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2019-10-08 19:42:38 +0200
committerAndrew Yourtchenko <ayourtch@gmail.com>2019-10-14 22:48:38 +0000
commit29467b5347dca90f4ef068ef8d34ffb97c2435f0 (patch)
tree12bb4855277976b75ca00dae19098f04aaf7e60d /test/vpp_papi_provider.py
parent26c7a4b0b6488423688f4a7f3c8aacf0d1b9c742 (diff)
gso: Add gso feature arc
Type: refactor Change-Id: Ib4a8e7e64093b2db1deda6663325080bc8337605 Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'test/vpp_papi_provider.py')
-rw-r--r--test/vpp_papi_provider.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/vpp_papi_provider.py b/test/vpp_papi_provider.py
index 12dcf1081ab..d80f2ed4400 100644
--- a/test/vpp_papi_provider.py
+++ b/test/vpp_papi_provider.py
@@ -2050,3 +2050,10 @@ class VppPapiProvider(object):
'sw_if_index': sw_if_index,
'is_enable': is_enable,
})
+
+ def feature_gso_enable_disable(self, sw_if_index, enable_disable=1):
+ return self.api(self.papi.feature_gso_enable_disable,
+ {
+ 'sw_if_index': sw_if_index,
+ 'enable_disable': enable_disable,
+ })