mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
net: ethernet: aquantia: Receive side scaling
Add definitions that support receive side scaling. Signed-off-by: Alexander Loktionov <Alexander.Loktionov@aquantia.com> Signed-off-by: Dmitrii Tarakanov <Dmitrii.Tarakanov@aquantia.com> Signed-off-by: Pavel Belous <Pavel.Belous@aquantia.com> Signed-off-by: Dmitry Bezrukov <Dmitry.Bezrukov@aquantia.com> Signed-off-by: David M. VomLehn <vomlehn@texas.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
c5760d03d4
commit
ee6d6d0055
1 changed files with 26 additions and 0 deletions
26
drivers/net/ethernet/aquantia/atlantic/aq_rss.h
Normal file
26
drivers/net/ethernet/aquantia/atlantic/aq_rss.h
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
/*
|
||||||
|
* aQuantia Corporation Network Driver
|
||||||
|
* Copyright (C) 2014-2017 aQuantia Corporation. All rights reserved
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms and conditions of the GNU General Public License,
|
||||||
|
* version 2, as published by the Free Software Foundation.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* File aq_rss.h: Receive Side Scaling definitions. */
|
||||||
|
|
||||||
|
#ifndef AQ_RSS_H
|
||||||
|
#define AQ_RSS_H
|
||||||
|
|
||||||
|
#include "aq_common.h"
|
||||||
|
#include "aq_cfg.h"
|
||||||
|
|
||||||
|
struct aq_rss_parameters {
|
||||||
|
u16 base_cpu_number;
|
||||||
|
u16 indirection_table_size;
|
||||||
|
u16 hash_secret_key_size;
|
||||||
|
u32 hash_secret_key[AQ_CFG_RSS_HASHKEY_SIZE / sizeof(u32)];
|
||||||
|
u8 indirection_table[AQ_CFG_RSS_INDIRECTION_TABLE_MAX];
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif /* AQ_RSS_H */
|
Loading…
Reference in a new issue