Skip to content
  • Eric W. Biederman's avatar
    netpoll: Respect NETIF_F_LLTX · 5efeac44
    Eric W. Biederman authored
    
    
    Stop taking the transmit lock when a network device has specified
    NETIF_F_LLTX.
    
    If no locks needed to trasnmit a packet this is the ideal scenario for
    netpoll as all packets can be trasnmitted immediately.
    
    Even if some locks are needed in ndo_start_xmit skipping any unnecessary
    serialization is desirable for netpoll as it makes it more likely a
    debugging packet may be trasnmitted immediately instead of being
    deferred until later.
    
    Signed-off-by: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    5efeac44