summaryrefslogtreecommitdiffstats
path: root/drivers/net/sky2.h
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@osdl.org>2005-12-09 20:35:00 +0100
committerJeff Garzik <jgarzik@pobox.com>2005-12-12 21:27:20 +0100
commit734d18684695dd1c6a9527b50e01bba4acab4738 (patch)
treea080ae5a4e4c6fe3a7ee5897b1e5a01c726267d4 /drivers/net/sky2.h
parent[PATCH] sky2: ring distance optimization (diff)
downloadlinux-734d18684695dd1c6a9527b50e01bba4acab4738.tar.xz
linux-734d18684695dd1c6a9527b50e01bba4acab4738.zip
[PATCH] sky2: map length optimization
Don't need to keep track of mapping length in ring structure because we can get the same info from other info. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net/sky2.h')
-rw-r--r--drivers/net/sky2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sky2.h b/drivers/net/sky2.h
index 29ebca099f99..1a91c2d4561c 100644
--- a/drivers/net/sky2.h
+++ b/drivers/net/sky2.h
@@ -1780,7 +1780,6 @@ struct sky2_status_le {
struct ring_info {
struct sk_buff *skb;
dma_addr_t mapaddr;
- u16 maplen;
u16 idx;
};
@@ -1807,6 +1806,7 @@ struct sky2_port {
u16 rx_put; /* next le index to use */
u16 rx_pending;
u16 rx_last_put;
+ u16 rx_bufsize;
#ifdef SKY2_VLAN_TAG_USED
u16 rx_tag;
struct vlan_group *vlgrp;