• Zoltan Kiss's avatar
    xen-netback: Add stat counters for zerocopy · 1bb332af
    Zoltan Kiss authored
    These counters help determine how often the buffers had to be copied. Also
    they help find out if packets are leaked, as if "sent != success + fail",
    there are probably packets never freed up properly.
    
    NOTE: if bisect brought you here, you should apply the series up until
    "xen-netback: Timeout packets in RX path", otherwise Windows guests can't work
    properly and malicious guests can block other guests by not releasing their sent
    packets.
    Signed-off-by: default avatarZoltan Kiss <zoltan.kiss@citrix.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    1bb332af
netback.c 43.9 KB