aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sky2.h
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2009-08-18 11:17:06 -0400
committerDavid S. Miller <davem@davemloft.net>2009-08-18 23:26:43 -0400
commit5dce95e5687a5a335202b03d133c1b4411ef7ce3 (patch)
tree3bb90badb02e92ccd2607e4312116819d424ee7b /drivers/net/sky2.h
parentd6e74b6b7eda3584a403eebae27f9591a1d9c9ff (diff)
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.h1
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 {
2017 2017
2018 u16 tx_pending; 2018 u16 tx_pending;
2019 u16 tx_last_mss; 2019 u16 tx_last_mss;
2020 u32 tx_last_upper;
2020 u32 tx_tcpsum; 2021 u32 tx_tcpsum;
2021 2022
2022 struct rx_ring_info *rx_ring ____cacheline_aligned_in_smp; 2023 struct rx_ring_info *rx_ring ____cacheline_aligned_in_smp;