diff options
author | Mohsin Kazmi <sykazmi@cisco.com> | 2019-07-23 11:54:48 +0200 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2019-07-28 14:20:06 +0000 |
commit | 22e9cfd760be613f33a4135e9247729b64619cc6 (patch) | |
tree | 81c6c66f0729202b71fa9b7748b405f4489f3f5a /test/framework.py | |
parent | be83704c5b1482dfd2ba38423662a9da5a8d8f81 (diff) |
pg: add GSO support
Type: feature
Change-Id: I72676495a85fbecc946aa266a75234cce70c3a5e
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'test/framework.py')
-rw-r--r-- | test/framework.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/framework.py b/test/framework.py index 59c451d475c..e4d0f9d13ab 100644 --- a/test/framework.py +++ b/test/framework.py @@ -762,7 +762,7 @@ class VppTestCase(unittest.TestCase): cls._captures = [] @classmethod - def create_pg_interfaces(cls, interfaces): + def create_pg_interfaces(cls, interfaces, gso=0, gso_size=0): """ Create packet-generator interfaces. @@ -772,7 +772,7 @@ class VppTestCase(unittest.TestCase): """ result = [] for i in interfaces: - intf = VppPGInterface(cls, i) + intf = VppPGInterface(cls, i, gso, gso_size) setattr(cls, intf.name, intf) result.append(intf) cls.pg_interfaces = result |