diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-08-18 17:17:06 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-08-19 05:26:43 +0200 |
commit | 5dce95e5687a5a335202b03d133c1b4411ef7ce3 (patch) | |
tree | 3bb90badb02e92ccd2607e4312116819d424ee7b /drivers/net/sky2.h | |
parent | sky2: use upper/lower 32 bits (diff) | |
download | linux-5dce95e5687a5a335202b03d133c1b4411ef7ce3.tar.xz linux-5dce95e5687a5a335202b03d133c1b4411ef7ce3.zip |
sky2: transmit ring 64 bit conservation
This patch saves elements on transmit ring by only updating the upper
64 bit address when it changes. With many workloads skb's are located
in same region, so it saves space.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sky2.h')
-rw-r--r-- | drivers/net/sky2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/sky2.h b/drivers/net/sky2.h index 65b94c366fbc..feb3204134ed 100644 --- a/drivers/net/sky2.h +++ b/drivers/net/sky2.h @@ -2017,6 +2017,7 @@ struct sky2_port { u16 tx_pending; u16 tx_last_mss; + u32 tx_last_upper; u32 tx_tcpsum; struct rx_ring_info *rx_ring ____cacheline_aligned_in_smp; |