1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
2 | /* |
3 | * Copyright 2008-2010 Cisco Systems, Inc. All rights reserved. |
4 | * Copyright 2007 Nuova Systems, Inc. All rights reserved. |
5 | */ |
6 | |
7 | #ifndef _VNIC_RSS_H_ |
8 | #define |
9 | |
10 | /* RSS key array */ |
11 | |
12 | #define 10 |
13 | #define 4 |
14 | #define (ENIC_RSS_BYTES_PER_KEY * ENIC_RSS_KEYS) |
15 | |
16 | union { |
17 | struct { |
18 | u8 [ENIC_RSS_BYTES_PER_KEY]; |
19 | u8 [6]; |
20 | } [ENIC_RSS_KEYS]; |
21 | u64 [8]; |
22 | }; |
23 | |
24 | /* RSS cpu array */ |
25 | union { |
26 | struct { |
27 | u8 [4] ; |
28 | u8 [4]; |
29 | } [32]; |
30 | u64 [32]; |
31 | }; |
32 | |
33 | #endif /* _VNIC_RSS_H_ */ |
34 | |