Changing RSS hash indirection table.ΒΆ

Check that a record of RSS hash indirection table can be changed to specify another Rx queue and the new queue will then be used for an existing connection whose hash is mapped to that table record.

  1. Create a pair of connected sockets of type sock_type on IUT and Tester.

  2. Compute Toeplitz hash for packets sent from Tester to find out which indirection table record specifies Rx queue for those packets.

  3. Configure XDP hook to count only packets going from Tester to IUT via the created connection. It will tell which Rx queues processed these packets.

  4. Send a few packets from the Tester socket. Check that they went via the specified Rx queue.

  5. Change Rx queue in the indirection table record.

  6. Send a few packets from the Tester socket. Check that they went via the new Rx queue.

Parameters:

env

Testing environment:

sock_type

Socket type:

  • SOCK_STREAM

  • SOCK_DGRAM