netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* tdc errors
@ 2022-01-20 17:22 Victor Nogueira
  2022-01-20 19:33 ` Jamal Hadi Salim
  0 siblings, 1 reply; 8+ messages in thread
From: Victor Nogueira @ 2022-01-20 17:22 UTC (permalink / raw)
  To: baowen.zheng
  Cc: simon.horman, netdev, Davide Caratti, Marcelo Ricardo Leitner,
	Vlad Buslov, David Ahern

Hi,

When running these 2 tdc tests:

7d64 Add police action with skip_hw option
3329 Validate flags of the matchall filter with skip_sw and
police action with skip_hw
I get this error:

Bad action type skip_hw
Usage: ... gact <ACTION> [RAND] [INDEX]
Where: ACTION := reclassify | drop | continue | pass | pipe |
goto chain <CHAIN_INDEX> | jump <JUMP_COUNT>
RAND := random <RANDTYPE> <ACTION> <VAL>
RANDTYPE := netrand | determ
VAL : = value not exceeding 10000
JUMP_COUNT := Absolute jump from start of action list
INDEX := index value used

I'm building the kernel on net-next.

I'm compiling the latest iproute2 version.

It seems like the problem is that support is lacking for skip_hw
in police action in iproute2.

This is the command that fails in test 7d64:
tc actions add action police rate 1kbit burst 10k index 100 skip_hw

To run this particular test do:
./tdc.py -e 7d64

cheers,
Victor

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-01-31 15:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-20 17:22 tdc errors Victor Nogueira
2022-01-20 19:33 ` Jamal Hadi Salim
2022-01-21  7:13   ` Baowen Zheng
2022-01-21  9:36   ` Davide Caratti
2022-01-21 14:11     ` Jamal Hadi Salim
2022-01-21 16:27       ` Shuah Khan
2022-01-31 12:46         ` Jamal Hadi Salim
2022-01-31 15:40           ` Shuah Khan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).