• Zoltan Kiss's avatar
    xen-netback: Introduce TX grant mapping · f53c3fe8
    Zoltan Kiss authored
    This patch introduces grant mapping on netback TX path. It replaces grant copy
    operations, ditching grant copy coalescing along the way. Another solution for
    copy coalescing is introduced in "xen-netback: Handle guests with too many
    frags", older guests and Windows can broke before that patch applies.
    There is a callback (xenvif_zerocopy_callback) from core stack to release the
    slots back to the guests when kfree_skb or skb_orphan_frags called. It feeds a
    separate dealloc thread, as scheduling NAPI instance from there is inefficient,
    therefore we can't do dealloc from the instance.
    Signed-off-by: default avatarZoltan Kiss <zoltan.kiss@citrix.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>