]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: netdevsim: Test psample functionality
authorIdo Schimmel <idosch@nvidia.com>
Sun, 14 Mar 2021 12:19:33 +0000 (14:19 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 14 Mar 2021 22:00:43 +0000 (15:00 -0700)
commit7a31ec4d5168da5521eb8ca01e1f7d7854f717b9
treec14b1ebf0fc7c7fcb452bb7194a3776d81894d4a
parent43439df2da454021ae0a208fd21b0b1591a1607a
selftests: netdevsim: Test psample functionality

Test various aspects of psample functionality over netdevsim and in
particular test that the psample module correctly reports the provided
metadata.

Example:

 # ./psample.sh
 TEST: psample enable / disable                                      [ OK ]
 TEST: psample group number                                          [ OK ]
 TEST: psample metadata                                              [ OK ]

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/drivers/net/netdevsim/psample.sh [new file with mode: 0755]