Re: [PATCH net-next 2/2] virtio-net: simplify XDP handling in small buffer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 2018年03月01日 17:15, Jesper Dangaard Brouer wrote:
On Thu, 1 Mar 2018 16:49:24 +0800
Jason Wang <jasowang@xxxxxxxxxx> wrote:

2. This can easily cause out-of-order packets.
I may miss something, but it looks to me packets were still delivered
in order? Or you mean the packets that was dropped by cpumap?
No. Packets can now travel two code paths to the egress device. (1) XDP
native via ndp_xdp_xmit via direct delivery into a lockfree/dedicated
TX queue, (2) via normal network stack which can involve being queue in
a qdisc.  Do you see the possibility of the reorder now?


I see, thanks. But consider this could only happen for first few packets, not sure it was worth to worry about it.

Thanks
_______________________________________________
Virtualization mailing list
Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/virtualization




[Index of Archives]     [KVM Development]     [Libvirt Development]     [Libvirt Users]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux