diff options
author | Ben Hutchings | 2010-06-30 05:06:28 +0000 |
---|---|---|
committer | David S. Miller | 2010-06-30 14:10:04 -0700 |
commit | 765c9f46867c3253c02275cbb7a453f2eb56eda1 (patch) | |
tree | 42a2f70e2a9104c620849412d8f6ce91f30815f7 /drivers/net/sfc/net_driver.h | |
parent | a5b6ee291e39e285e021cf251dbcf770c83cd74e (diff) |
sfc: Add support for RX flow hash control
Allow ethtool to query the number of RX rings, the fields used in RX
flow hashing and the hash indirection table.
Allow ethtool to update the RX flow hash indirection table.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc/net_driver.h')
-rw-r--r-- | drivers/net/sfc/net_driver.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/sfc/net_driver.h b/drivers/net/sfc/net_driver.h index 28f3ff4cff4a..bab836c22719 100644 --- a/drivers/net/sfc/net_driver.h +++ b/drivers/net/sfc/net_driver.h @@ -648,6 +648,7 @@ union efx_multicast_hash { * @n_tx_channels: Number of channels used for TX * @rx_buffer_len: RX buffer length * @rx_buffer_order: Order (log2) of number of pages for each RX buffer + * @rx_indir_table: Indirection table for RSS * @int_error_count: Number of internal errors seen recently * @int_error_expire: Time at which error count will be expired * @irq_status: Interrupt status buffer @@ -736,6 +737,7 @@ struct efx_nic { unsigned int rx_buffer_len; unsigned int rx_buffer_order; u8 rx_hash_key[40]; + u32 rx_indir_table[128]; unsigned int_error_count; unsigned long int_error_expire; |