struct net_drv_rss_ctx

Overview

Helper structure for RSS tests More...

#include <common_rss.h>

struct net_drv_rss_ctx {
    // fields

    const char* ta;
    const char* if_name;
    unsigned int rss_ctx;
    unsigned int indir_table_size;
    unsigned int rx_queues;
    uint8_t* hash_key;
    size_t key_len;
    te_toeplitz_hash_cache* cache;
    te_toeplitz_hash_variant hash_variant;
};

Detailed Documentation

Helper structure for RSS tests

Fields

const char* ta

Test Agent name

const char* if_name

Interface name

unsigned int rss_ctx

RSS context id

unsigned int indir_table_size

Size of indirection table

unsigned int rx_queues

Number of Rx queues

uint8_t* hash_key

Hash key

size_t key_len

Length of hash key

te_toeplitz_hash_cache* cache

Cache used for computing Toeplitz hash

te_toeplitz_hash_variant hash_variant

Variant of Toeplitz algorithm to use