| 1 |
/* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 |
/* |
| 3 |
* aQuantia Corporation Network Driver |
| 4 |
* Copyright (C) 2014-2017 aQuantia Corporation. All rights reserved |
| 5 |
*/ |
| 6 |
|
| 7 |
/* File aq_rss.h: Receive Side Scaling definitions. */ |
| 8 |
|
| 9 |
#ifndef AQ_RSS_H |
| 10 |
#define AQ_RSS_H |
| 11 |
|
| 12 |
#include "aq_common.h" |
| 13 |
#include "aq_cfg.h" |
| 14 |
|
| 15 |
struct aq_rss_parameters { |
| 16 |
u16 base_cpu_number; |
| 17 |
u16 indirection_table_size; |
| 18 |
u16 hash_secret_key_size; |
| 19 |
u32 hash_secret_key[AQ_CFG_RSS_HASHKEY_SIZE / sizeof(u32)]; |
| 20 |
u8 indirection_table[AQ_CFG_RSS_INDIRECTION_TABLE_MAX]; |
| 21 |
}; |
| 22 |
|
| 23 |
#endif /* AQ_RSS_H */ |