Adding Rx rule for TCP or UDP
Check that Rx classification rule can redirect matching TCP/UDP traffic to a different Rx queue.
Create the first pair of connected sockets on IUT and Tester.
Compute RSS hash and predict the Rx queue init_queue that should process packets send from Tester over the first connection.
Find another pair of ports on IUT and Tester such that the same Rx queue will be used to receive packets if sockets are bound to these new ports.
Create the second pair of connected sockets on IUT and Tester bound to these new ports.
Send packets from Tester to IUT via the first connection, check that on IUT they are received by init_queue Rx queue.
Send packets from Tester to IUT via the second connection, check that on IUT they are received by init_queue Rx queue.
Add Rx classification rule directing packets received via the first connection to another Rx queue new_queue.
Send packets from Tester to IUT via the first connection, check that on IUT they are received by new_queue Rx queue.
Send packets from Tester to IUT via the second connection, check that on IUT they are received by init_queue Rx queue.
Parameters:
env |
Testing environment: |
sock_type |
Socket type:
|
match_src |
If |
match_dst |
If |
location |
Location for the added rule:
|