aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/net_driver.h
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2010-06-30 01:06:28 -0400
committerDavid S. Miller <davem@davemloft.net>2010-06-30 17:10:04 -0400
commit765c9f46867c3253c02275cbb7a453f2eb56eda1 (patch)
tree42a2f70e2a9104c620849412d8f6ce91f30815f7 /drivers/net/sfc/net_driver.h
parenta5b6ee291e39e285e021cf251dbcf770c83cd74e (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.h2
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 {
648 * @n_tx_channels: Number of channels used for TX 648 * @n_tx_channels: Number of channels used for TX
649 * @rx_buffer_len: RX buffer length 649 * @rx_buffer_len: RX buffer length
650 * @rx_buffer_order: Order (log2) of number of pages for each RX buffer 650 * @rx_buffer_order: Order (log2) of number of pages for each RX buffer
651 * @rx_indir_table: Indirection table for RSS
651 * @int_error_count: Number of internal errors seen recently 652 * @int_error_count: Number of internal errors seen recently
652 * @int_error_expire: Time at which error count will be expired 653 * @int_error_expire: Time at which error count will be expired
653 * @irq_status: Interrupt status buffer 654 * @irq_status: Interrupt status buffer
@@ -736,6 +737,7 @@ struct efx_nic {
736 unsigned int rx_buffer_len; 737 unsigned int rx_buffer_len;
737 unsigned int rx_buffer_order; 738 unsigned int rx_buffer_order;
738 u8 rx_hash_key[40]; 739 u8 rx_hash_key[40];
740 u32 rx_indir_table[128];
739 741
740 unsigned int_error_count; 742 unsigned int_error_count;
741 unsigned long int_error_expire; 743 unsigned long int_error_expire;