X-Git-Url: https://gerrit.fd.io/r/gitweb?p=vpp.git;a=blobdiff_plain;f=test%2Fframework.py;h=e4d0f9d13ab6e7278447d6f69b8fadb640b91009;hp=59c451d475ca848d6eac2a2019ca61ae847b770b;hb=22e9cfd76;hpb=be83704c5b1482dfd2ba38423662a9da5a8d8f81 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