linux_dsm_epyc7002/tools/testing/selftests/tc-testing/tc-tests/actions
Dmytro Linkin 49b1b4a19c selftests: tc-testing: Add pedit tests
Add 36 pedit action tests to check pedit options described in tc-pedit(8)
man page. Test cases can be specified by categories: actions, pedit,
raw_op, layered_op. RAW_OP cases check offset option for u8, u16 and u32
offset size. LAYERED_OP cases check fields option for eth, ip, ip6,
tcp and udp headers.

Include following tests:
377e - Add pedit action with RAW_OP offset u32
a0ca - Add pedit action with RAW_OP offset u32 (INVALID)
dd8a - Add pedit action with RAW_OP offset u16 u16
53db - Add pedit action with RAW_OP offset u16 (INVALID)
5c7e - Add pedit action with RAW_OP offset u8 add value
2893 - Add pedit action with RAW_OP offset u8 quad
3a07 - Add pedit action with RAW_OP offset u8-u16-u8
ab0f - Add pedit action with RAW_OP offset u16-u8-u8
9d12 - Add pedit action with RAW_OP offset u32 set u16 clear u8 invert
ebfa - Add pedit action with RAW_OP offset overflow u32 (INVALID)
f512 - Add pedit action with RAW_OP offset u16 at offmask shift set
c2cb - Add pedit action with RAW_OP offset u32 retain value
86d4 - Add pedit action with LAYERED_OP eth set src & dst
c715 - Add pedit action with LAYERED_OP eth set src (INVALID)
ba22 - Add pedit action with LAYERED_OP eth type set/clear sequence
5810 - Add pedit action with LAYERED_OP ip set src & dst
1092 - Add pedit action with LAYERED_OP ip set ihl & dsfield
02d8 - Add pedit action with LAYERED_OP ip set ttl & protocol
3e2d - Add pedit action with LAYERED_OP ip set ttl (INVALID)
31ae - Add pedit action with LAYERED_OP ip ttl clear/set
486f - Add pedit action with LAYERED_OP ip set duplicate fields
e790 - Add pedit action with LAYERED_OP ip set ce, df, mf, firstfrag,
nofrag fields
6829 - Add pedit action with LAYERED_OP beyond ip set dport & sport
afd8 - Add pedit action with LAYERED_OP beyond ip set icmp_type &
icmp_code
3143 - Add pedit action with LAYERED_OP beyond ip set dport (INVALID)
fc1f - Add pedit action with LAYERED_OP ip6 set src & dst
6d34 - Add pedit action with LAYERED_OP ip6 dst retain value (INVALID)
6f5e - Add pedit action with LAYERED_OP ip6 flow_lbl
6795 - Add pedit action with LAYERED_OP ip6 set payload_len, nexthdr,
hoplimit
1442 - Add pedit action with LAYERED_OP tcp set dport & sport
b7ac - Add pedit action with LAYERED_OP tcp sport set (INVALID)
cfcc - Add pedit action with LAYERED_OP tcp flags set
3bc4 - Add pedit action with LAYERED_OP tcp set dport, sport & flags
fields
f1c8 - Add pedit action with LAYERED_OP udp set dport & sport
d784 - Add pedit action with mixed RAW/LAYERED_OP #1
70ca - Add pedit action with mixed RAW/LAYERED_OP #2

Signed-off-by: Dmytro Linkin <dmitrolin@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-03-29 11:15:20 -07:00
..
bpf.json net/sched: act_bpf: validate the control action inside init() 2019-03-21 13:26:41 -07:00
connmark.json net/sched: act_connmark: validate the control action inside init() 2019-03-21 13:26:41 -07:00
csum.json net/sched: act_csum: validate the control action inside init() 2019-03-21 13:26:41 -07:00
gact.json net/sched: act_gact: validate the control action inside init() 2019-03-21 13:26:41 -07:00
ife.json net/sched: act_ife: validate the control action inside init() 2019-03-21 13:26:41 -07:00
mirred.json net/sched: act_mirred: validate the control action inside init() 2019-03-21 13:26:41 -07:00
nat.json net/sched: act_nat: validate the control action inside init() 2019-03-21 13:26:41 -07:00
pedit.json selftests: tc-testing: Add pedit tests 2019-03-29 11:15:20 -07:00
police.json net/sched: act_police: validate the control action inside init() 2019-03-21 13:26:41 -07:00
sample.json net/sched: act_sample: validate the control action inside init() 2019-03-21 13:26:41 -07:00
simple.json net/sched: act_simple: validate the control action inside init() 2019-03-21 13:26:41 -07:00
skbedit.json net/sched: act_skbedit: validate the control action inside init() 2019-03-21 13:26:41 -07:00
skbmod.json net/sched: act_skbmod: validate the control action inside init() 2019-03-21 13:26:42 -07:00
tunnel_key.json net/sched: act_tunnel_key: validate the control action inside init() 2019-03-21 13:26:42 -07:00
vlan.json net/sched: act_vlan: validate the control action inside init() 2019-03-21 13:26:42 -07:00