Skip to content

Commit

Permalink
sfc: Document current usage of efx_rx_buffer::len and efx_nic::rx_buf…
Browse files Browse the repository at this point in the history
…fer_len

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
  • Loading branch information
Ben Hutchings committed Mar 7, 2013
1 parent 626950d commit 80c2e71
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions drivers/net/ethernet/sfc/net_driver.h
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,8 @@ struct efx_tx_queue {
* @page: The associated page buffer.
* Will be %NULL if the buffer slot is currently free.
* @page_offset: Offset within page
* @len: Buffer length, in bytes.
* @len: If pending: length for DMA descriptor.
* If completed: received length, excluding hash prefix.
* @flags: Flags for buffer and packet state.
*/
struct efx_rx_buffer {
Expand Down Expand Up @@ -668,7 +669,8 @@ struct vfdi_status;
* @n_channels: Number of channels in use
* @n_rx_channels: Number of channels used for RX (= number of RX queues)
* @n_tx_channels: Number of channels used for TX
* @rx_buffer_len: RX buffer length
* @rx_buffer_len: RX buffer length, including start alignment but excluding
* any metadata
* @rx_buffer_order: Order (log2) of number of pages for each RX buffer
* @rx_hash_key: Toeplitz hash key for RSS
* @rx_indir_table: Indirection table for RSS
Expand Down

0 comments on commit 80c2e71

Please sign in to comment.