aq_rss.h 707 B

123456789101112131415161718192021222324252627
  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. /* File aq_rss.h: Receive Side Scaling definitions. */
  10. #ifndef AQ_RSS_H
  11. #define AQ_RSS_H
  12. #include "aq_common.h"
  13. #include "aq_cfg.h"
  14. struct aq_rss_parameters {
  15. u16 base_cpu_number;
  16. u16 indirection_table_size;
  17. u16 hash_secret_key_size;
  18. u32 hash_secret_key[AQ_CFG_RSS_HASHKEY_SIZE / sizeof(u32)];
  19. u8 indirection_table[AQ_CFG_RSS_INDIRECTION_TABLE_MAX];
  20. };
  21. #endif /* AQ_RSS_H */