• dhananjay@netxen.com's avatar
    netxen: optimize tx handling · 53a01e00
    dhananjay@netxen.com authored
    netxen driver allows limited number of threads simultaneously posting
    skb's in tx ring. If transmit slot is unavailable, driver calls
    schedule() or loops in xmit_frame().
    
    This patch returns TX_BUSY and lets the stack reschedule the packet if
    transmit slot is unavailable. Also removes unnecessary check for tx
    timeout in the driver itself, the network stack does that anyway.
    Signed-off-by: default avatarDhananjay Phadke <dhananjay@netxen.com>
    Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
    53a01e00
netxen_nic_init.c 39.9 KB