e1000 driver 2.6.18 - how to waste processor cycles

From: Jeff V. Merkey
Date: Wed Nov 08 2006 - 16:50:40 EST



Is there a good reason the skb refill routine in e1000_alloc_rx_buffers needs to go and touch and remap skb memory
on already loaded descriptors/ This seems extremely wasteful of processor cycles when refilling the ring buffer.

I note that the archtiecture has changed and is recycling buffers from the rx_irq routine and when the routine is called
to refill the ring buffers, a lot of wasteful and needless calls for map_skb is occurring.

Jeff
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/