diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-08-18 15:17:06 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-08-18 20:26:43 -0700 |
commit | 5dce95e5687a5a335202b03d133c1b4411ef7ce3 (patch) | |
tree | 3bb90badb02e92ccd2607e4312116819d424ee7b /drivers/net/sky2.h | |
parent | d6e74b6b7eda3584a403eebae27f9591a1d9c9ff (diff) | |
download | op-kernel-dev-5dce95e5687a5a335202b03d133c1b4411ef7ce3.zip op-kernel-dev-5dce95e5687a5a335202b03d133c1b4411ef7ce3.tar.gz |
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 65b94c3..feb3204 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; |