Adding too many Rx rules
Check that if Rx rules table is overfilled, nothing bad happens.
Check that there is no Rx rules on IUT interface.
Create a socket on IUT for adding Rx rules via ioctl().
Iterate iters times:
Create a lot of Rx classification rules on IUT until adding the next one fails. Then remove all the added rules. Check that the count of added rules does not decrease in comparison to the previous iteration.
Parameters:
env |
Testing environment: |
sock_type |
Socket type (determines whether TCP or UDP Rx rules are created):
|
iters |
How many times to fill rules table and remove all the added rules |