diff options
author | Steve Hodgson <shodgson@solarflare.com> | 2011-02-25 02:45:16 +0300 |
---|---|---|
committer | Ben Hutchings <bhutchings@solarflare.com> | 2011-03-01 02:57:23 +0300 |
commit | a526f140b22131376b0e49577210e6af73e2b89f (patch) | |
tree | e669975e1d635b629f8df2f00de2adc28dee858f /drivers/net/sfc/net_driver.h | |
parent | 8ba5366adacef220b6ce16dca777600433a22a42 (diff) | |
download | linux-a526f140b22131376b0e49577210e6af73e2b89f.tar.xz |
sfc: Reduce size of efx_rx_buffer further by removing data member
Instead calculate the KVA of receive data. It's not like it's a hard sum.
[bwh: Fixed to work with GRO.]
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'drivers/net/sfc/net_driver.h')
-rw-r--r-- | drivers/net/sfc/net_driver.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/sfc/net_driver.h b/drivers/net/sfc/net_driver.h index 59ff32ac7ec6..5b001c1c73d4 100644 --- a/drivers/net/sfc/net_driver.h +++ b/drivers/net/sfc/net_driver.h @@ -214,7 +214,6 @@ struct efx_tx_queue { * If both this and page are %NULL, the buffer slot is currently free. * @page: The associated page buffer, if any. * If both this and skb are %NULL, the buffer slot is currently free. - * @data: Pointer to ethernet header * @len: Buffer length, in bytes. * @is_page: Indicates if @page is valid. If false, @skb is valid. */ @@ -224,7 +223,6 @@ struct efx_rx_buffer { struct sk_buff *skb; struct page *page; } u; - char *data; unsigned int len; bool is_page; }; |