xref: /linux/drivers/net/ethernet/aquantia/atlantic/aq_rss.h (revision e5c86679d5e864947a52fb31e45a425dea3e7fa9)
1 /*
2  * aQuantia Corporation Network Driver
3  * Copyright (C) 2014-2017 aQuantia Corporation. All rights reserved
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms and conditions of the GNU General Public License,
7  * version 2, as published by the Free Software Foundation.
8  */
9 
10 /* File aq_rss.h: Receive Side Scaling definitions. */
11 
12 #ifndef AQ_RSS_H
13 #define AQ_RSS_H
14 
15 #include "aq_common.h"
16 #include "aq_cfg.h"
17 
18 struct aq_rss_parameters {
19 	u16 base_cpu_number;
20 	u16 indirection_table_size;
21 	u16 hash_secret_key_size;
22 	u32 hash_secret_key[AQ_CFG_RSS_HASHKEY_SIZE / sizeof(u32)];
23 	u8 indirection_table[AQ_CFG_RSS_INDIRECTION_TABLE_MAX];
24 };
25 
26 #endif /* AQ_RSS_H */
27