xref: /dpdk/drivers/net/enic/base/vnic_rss.h (revision 04e8ec74192ae4bc537e4854410551255bf85cf5)
12e99ea80SHyong Youb Kim /* SPDX-License-Identifier: BSD-3-Clause
22e99ea80SHyong Youb Kim  * Copyright 2008-2017 Cisco Systems, Inc.  All rights reserved.
372f3de30SBruce Richardson  * Copyright 2007 Nuova Systems, Inc.  All rights reserved.
472f3de30SBruce Richardson  */
572f3de30SBruce Richardson 
672f3de30SBruce Richardson #ifndef _VNIC_RSS_H_
772f3de30SBruce Richardson #define _VNIC_RSS_H_
872f3de30SBruce Richardson 
972f3de30SBruce Richardson /* RSS key array */
1072f3de30SBruce Richardson union vnic_rss_key {
1172f3de30SBruce Richardson 	struct {
12*04e8ec74SJohn Daley 		uint8_t b[10];
13*04e8ec74SJohn Daley 		uint8_t b_pad[6];
1472f3de30SBruce Richardson 	} key[4];
15*04e8ec74SJohn Daley 	uint64_t raw[8];
1672f3de30SBruce Richardson };
1772f3de30SBruce Richardson 
1872f3de30SBruce Richardson /* RSS cpu array */
1972f3de30SBruce Richardson union vnic_rss_cpu {
2072f3de30SBruce Richardson 	struct {
21*04e8ec74SJohn Daley 		uint8_t b[4];
22*04e8ec74SJohn Daley 		uint8_t b_pad[4];
2372f3de30SBruce Richardson 	} cpu[32];
24*04e8ec74SJohn Daley 	uint64_t raw[32];
2572f3de30SBruce Richardson };
2672f3de30SBruce Richardson 
2772f3de30SBruce Richardson #endif /* _VNIC_RSS_H_ */
28