On Mon, 2015-03-30 at 21:18 +0300, Vlad Zolotarov wrote:
This patch is a preparation for enablement of ethtool RSS indirection
table
and hash key querying. We don't want to read registers every time the
RSS info
is queried. Therefore we will store its current content in the
arrays in the adapter struct and will read it from there (instead of
from
registers) when requested.
Will change the code that writes the indirection table and hash key
into the HW registers
to take its content from these arrays. This will also simplify the
indirection
table updating ethtool callback implementation in the future.
Signed-off-by: Vlad Zolotarov <redacted>
---
New in v3:
- Fix the byte ordering in RETA storing.
New in v2:
- Some styling fixes.
- Moved macros definitions from ixgbe_type.h to ixgbe.h.
---
drivers/net/ethernet/intel/ixgbe/ixgbe.h | 9 ++
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 147
++++++++++++++++++--------
2 files changed, 112 insertions(+), 44 deletions(-)
Thanks Vlad, I have added your patch to my queue.
--
git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue.git
dev-queue