aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2013-01-23 16:52:13 -0500
committerBen Hutchings <bhutchings@solarflare.com>2013-03-07 15:22:05 -0500
commit80c2e716d555912168f93853f96a24d0de75897b (patch)
tree2ab414b1286f8112613abac26b49f4d4283a8952 /drivers/net/ethernet/sfc
parent626950db84c065925ee10c2e833da265cbda8800 (diff)
sfc: Document current usage of efx_rx_buffer::len and efx_nic::rx_buffer_len
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'drivers/net/ethernet/sfc')
-rw-r--r--drivers/net/ethernet/sfc/net_driver.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/ethernet/sfc/net_driver.h b/drivers/net/ethernet/sfc/net_driver.h
index 9e900817d2ab..f74411fc000c 100644
--- a/drivers/net/ethernet/sfc/net_driver.h
+++ b/drivers/net/ethernet/sfc/net_driver.h
@@ -209,7 +209,8 @@ struct efx_tx_queue {
209 * @page: The associated page buffer. 209 * @page: The associated page buffer.
210 * Will be %NULL if the buffer slot is currently free. 210 * Will be %NULL if the buffer slot is currently free.
211 * @page_offset: Offset within page 211 * @page_offset: Offset within page
212 * @len: Buffer length, in bytes. 212 * @len: If pending: length for DMA descriptor.
213 * If completed: received length, excluding hash prefix.
213 * @flags: Flags for buffer and packet state. 214 * @flags: Flags for buffer and packet state.
214 */ 215 */
215struct efx_rx_buffer { 216struct efx_rx_buffer {
@@ -668,7 +669,8 @@ struct vfdi_status;
668 * @n_channels: Number of channels in use 669 * @n_channels: Number of channels in use
669 * @n_rx_channels: Number of channels used for RX (= number of RX queues) 670 * @n_rx_channels: Number of channels used for RX (= number of RX queues)
670 * @n_tx_channels: Number of channels used for TX 671 * @n_tx_channels: Number of channels used for TX
671 * @rx_buffer_len: RX buffer length 672 * @rx_buffer_len: RX buffer length, including start alignment but excluding
673 * any metadata
672 * @rx_buffer_order: Order (log2) of number of pages for each RX buffer 674 * @rx_buffer_order: Order (log2) of number of pages for each RX buffer
673 * @rx_hash_key: Toeplitz hash key for RSS 675 * @rx_hash_key: Toeplitz hash key for RSS
674 * @rx_indir_table: Indirection table for RSS 676 * @rx_indir_table: Indirection table for RSS