Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
pg: add GSO support
[vpp.git]
/
test
/
framework.py
diff --git
a/test/framework.py
b/test/framework.py
index
59c451d
..
e4d0f9d
100644
(file)
--- a/
test/framework.py
+++ b/
test/framework.py
@@
-762,7
+762,7
@@
class VppTestCase(unittest.TestCase):
cls._captures = []
@classmethod
cls._captures = []
@classmethod
- def create_pg_interfaces(cls, interfaces):
+ def create_pg_interfaces(cls, interfaces
, gso=0, gso_size=0
):
"""
Create packet-generator interfaces.
"""
Create packet-generator interfaces.
@@
-772,7
+772,7
@@
class VppTestCase(unittest.TestCase):
"""
result = []
for i in interfaces:
"""
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
setattr(cls, intf.name, intf)
result.append(intf)
cls.pg_interfaces = result