aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/ioat/hw.h
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2009-09-08 15:01:38 -0400
committerDan Williams <dan.j.williams@intel.com>2009-09-08 20:30:24 -0400
commitad643f54c8514998333bc6c7b201fda2267496be (patch)
treec92bbecd74912ada08dfa94662b52e63d4c5df46 /drivers/dma/ioat/hw.h
parent345d852391cf3fdc73f23a9ca522c6e7b5eb5a52 (diff)
ioat1: trim ioat_dma_desc_sw
Save 4 bytes per software descriptor by transmitting tx_cnt in an unused portion of the hardware descriptor. Signed-off-by: Maciej Sosnowski <maciej.sosnowski@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dma/ioat/hw.h')
-rw-r--r--drivers/dma/ioat/hw.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/dma/ioat/hw.h b/drivers/dma/ioat/hw.h
index e13f3ed47763..7481fb13ce00 100644
--- a/drivers/dma/ioat/hw.h
+++ b/drivers/dma/ioat/hw.h
@@ -63,7 +63,11 @@ struct ioat_dma_descriptor {
63 uint64_t next; 63 uint64_t next;
64 uint64_t rsv1; 64 uint64_t rsv1;
65 uint64_t rsv2; 65 uint64_t rsv2;
66 uint64_t user1; 66 /* store some driver data in an unused portion of the descriptor */
67 union {
68 uint64_t user1;
69 uint64_t tx_cnt;
70 };
67 uint64_t user2; 71 uint64_t user2;
68}; 72};
69#endif 73#endif