You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[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>
This commit is contained in:
committed by
Jeff Garzik
parent
129372d052
commit
734d186846
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user