linux/drivers/net/xen-netback
Zoltan Kiss 869b9b19b3 xen-netback: Stop using xenvif_tx_pending_slots_available
Since the early days TX stops if there isn't enough free pending slots to
consume a maximum sized (slot-wise) packet. Probably the reason for that is to
avoid the case when we don't have enough free pending slot in the ring to finish
the packet. But if we make sure that the pending ring has the same size as the
shared ring, that shouldn't really happen. The frontend can only post packets
which fit the to the free space of the shared ring. If it doesn't, the frontend
has to stop, as it can only increase the req_prod when the whole packet fits
onto the ring.
This patch avoid using this checking, makes sure the 2 ring has the same size,
and remove a checking from the callback. As now we don't stop the NAPI instance
on this condition, we don't have to wake it up if we free pending slots up.

Signed-off-by: Zoltan Kiss <zoltan.kiss@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-03-26 16:33:42 -04:00
..
common.h xen-netback: Stop using xenvif_tx_pending_slots_available 2014-03-26 16:33:42 -04:00
interface.c xen-netback: Stop using xenvif_tx_pending_slots_available 2014-03-26 16:33:42 -04:00
Makefile
netback.c xen-netback: Stop using xenvif_tx_pending_slots_available 2014-03-26 16:33:42 -04:00
xenbus.c drivers/net/*: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00