[PATCH] skge: compute available ring buffers
Don't need to keep track of available buffers, it is simpler to just compute the value (ala e1000). Don't need tes on link up because should always have available buffers then. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:

committed by
Jeff Garzik

parent
866b4f3e94
commit
29b4e886cb
@@ -2418,7 +2418,6 @@ struct skge_port {
|
||||
int port;
|
||||
|
||||
spinlock_t tx_lock;
|
||||
u32 tx_avail;
|
||||
struct skge_ring tx_ring;
|
||||
struct skge_ring rx_ring;
|
||||
|
||||
|
Reference in New Issue
Block a user