aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc/net_driver.h
diff options
context:
space:
mode:
authorAndrew Rybchenko <Andrew.Rybchenko@oktetlabs.ru>2013-11-14 00:00:27 -0500
committerBen Hutchings <bhutchings@solarflare.com>2013-12-12 17:07:21 -0500
commitd43050c0c7d930cdeb10fb9201d9e2d005cef02a (patch)
treefac858aa8ab412550d1bcd66d050d5ca0e1fcf87 /drivers/net/ethernet/sfc/net_driver.h
parent48ce5634a79265cd83e5bdb268728165c0ea85a0 (diff)
sfc: Change efx_nic_type::rx_push_indir_table to push hash key as well
The EF10 implementation already does this, and it makes more logical sense to group the RSS hash key and indirection table together. Rename the operation to rx_push_rss_config. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'drivers/net/ethernet/sfc/net_driver.h')
-rw-r--r--drivers/net/ethernet/sfc/net_driver.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/sfc/net_driver.h b/drivers/net/ethernet/sfc/net_driver.h
index 653b8782c956..1b3c4e5207c5 100644
--- a/drivers/net/ethernet/sfc/net_driver.h
+++ b/drivers/net/ethernet/sfc/net_driver.h
@@ -1024,7 +1024,7 @@ struct efx_mtd_partition {
1024 * @tx_init: Initialise TX queue on the NIC 1024 * @tx_init: Initialise TX queue on the NIC
1025 * @tx_remove: Free resources for TX queue 1025 * @tx_remove: Free resources for TX queue
1026 * @tx_write: Write TX descriptors and doorbell 1026 * @tx_write: Write TX descriptors and doorbell
1027 * @rx_push_indir_table: Write RSS indirection table to the NIC 1027 * @rx_push_rss_config: Write RSS hash key and indirection table to the NIC
1028 * @rx_probe: Allocate resources for RX queue 1028 * @rx_probe: Allocate resources for RX queue
1029 * @rx_init: Initialise RX queue on the NIC 1029 * @rx_init: Initialise RX queue on the NIC
1030 * @rx_remove: Free resources for RX queue 1030 * @rx_remove: Free resources for RX queue
@@ -1141,7 +1141,7 @@ struct efx_nic_type {
1141 void (*tx_init)(struct efx_tx_queue *tx_queue); 1141 void (*tx_init)(struct efx_tx_queue *tx_queue);
1142 void (*tx_remove)(struct efx_tx_queue *tx_queue); 1142 void (*tx_remove)(struct efx_tx_queue *tx_queue);
1143 void (*tx_write)(struct efx_tx_queue *tx_queue); 1143 void (*tx_write)(struct efx_tx_queue *tx_queue);
1144 void (*rx_push_indir_table)(struct efx_nic *efx); 1144 void (*rx_push_rss_config)(struct efx_nic *efx);
1145 int (*rx_probe)(struct efx_rx_queue *rx_queue); 1145 int (*rx_probe)(struct efx_rx_queue *rx_queue);
1146 void (*rx_init)(struct efx_rx_queue *rx_queue); 1146 void (*rx_init)(struct efx_rx_queue *rx_queue);
1147 void (*rx_remove)(struct efx_rx_queue *rx_queue); 1147 void (*rx_remove)(struct efx_rx_queue *rx_queue);