Commit 5092ad4d authored by Keara Leibovitz's avatar Keara Leibovitz Committed by David S. Miller

tc-tests: add an extreme-case csum action test

Added an extreme-case test for all 7 csum action headers.
Signed-off-by: default avatarKeara Leibovitz <kleib@mojatatu.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 30d6f790
...@@ -335,6 +335,30 @@ ...@@ -335,6 +335,30 @@
"$TC actions flush action csum" "$TC actions flush action csum"
] ]
}, },
{
"id": "b10b",
"name": "Add all 7 csum actions",
"category": [
"actions",
"csum"
],
"setup": [
[
"$TC actions flush action csum",
0,
1,
255
]
],
"cmdUnderTest": "$TC actions add action csum icmp ip4h sctp igmp udplite udp tcp index 7",
"expExitCode": "0",
"verifyCmd": "$TC actions get action csum index 7",
"matchPattern": "action order [0-9]*: csum \\(iph, icmp, igmp, tcp, udp, udplite, sctp\\).*index 7 ref",
"matchCount": "1",
"teardown": [
"$TC actions flush action csum"
]
},
{ {
"id": "ce92", "id": "ce92",
"name": "Add csum udp action with cookie", "name": "Add csum udp action with cookie",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment