18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * aQuantia Corporation Network Driver 48c2ecf20Sopenharmony_ci * Copyright (C) 2014-2017 aQuantia Corporation. All rights reserved 58c2ecf20Sopenharmony_ci */ 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ci/* File aq_rss.h: Receive Side Scaling definitions. */ 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci#ifndef AQ_RSS_H 108c2ecf20Sopenharmony_ci#define AQ_RSS_H 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci#include "aq_common.h" 138c2ecf20Sopenharmony_ci#include "aq_cfg.h" 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_cistruct aq_rss_parameters { 168c2ecf20Sopenharmony_ci u16 base_cpu_number; 178c2ecf20Sopenharmony_ci u16 indirection_table_size; 188c2ecf20Sopenharmony_ci u16 hash_secret_key_size; 198c2ecf20Sopenharmony_ci u32 hash_secret_key[AQ_CFG_RSS_HASHKEY_SIZE / sizeof(u32)]; 208c2ecf20Sopenharmony_ci u8 indirection_table[AQ_CFG_RSS_INDIRECTION_TABLE_MAX]; 218c2ecf20Sopenharmony_ci}; 228c2ecf20Sopenharmony_ci 238c2ecf20Sopenharmony_ci#endif /* AQ_RSS_H */ 24