Thread (15 messages) flat view 15 messages, 2 authors, 2017-01-12
STALE3511d

Revision v4 of 4 in this series.

Revisions (4)
  1. v2 [diff vs current]
  2. v2 [diff vs current]
  3. v4 current
  4. v8 [diff vs current]

[PATCH v4 12/13] net: ethernet: aquantia: Receive side scaling

From: Alexander Loktionov <hidden>
Date: 2017-01-12 03:54:18
Subsystem: networking drivers, the rest · Maintainers: Andrew Lunn, "David S. Miller", Eric Dumazet, Jakub Kicinski, Paolo Abeni, Linus Torvalds

From: David VomLehn <redacted>

Add definitions that support receive side scaling.

Signed-off-by: Alexander Loktionov <redacted>
Signed-off-by: Dmitrii Tarakanov <redacted>
Signed-off-by: Pavel Belous <redacted>
Signed-off-by: Dmitry Bezrukov <redacted>
Signed-off-by: David M. VomLehn <redacted>
---
 drivers/net/ethernet/aquantia/aq_rss.h | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 drivers/net/ethernet/aquantia/aq_rss.h
diff --git a/drivers/net/ethernet/aquantia/aq_rss.h b/drivers/net/ethernet/aquantia/aq_rss.h
new file mode 100644
index 0000000..5869844
--- /dev/null
+++ b/drivers/net/ethernet/aquantia/aq_rss.h
@@ -0,0 +1,27 @@
+/*
+ * 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 */
+
-- 
2.7.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help