7ba5de417e
Change sending loop to support multi-segment mbufs. The VMXNET3 api has start-of-packet and end-packet flags, so it is not hard to send multi-segment mbuf's. Also, update descriptor in 32 bit value rather than toggling bitfields which is slower and error prone. Based on code in earlier driver, and the Linux kernel driver. Add a compiler barrier to make sure that update of earlier descriptor are completed prior to update of generation bit on start of packet. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Acked-by: Yong Wang <yongwang@vmware.com> |
||
---|---|---|
.. | ||
af_packet | ||
bonding | ||
cxgbe | ||
e1000 | ||
enic | ||
fm10k | ||
i40e | ||
ixgbe | ||
mlx4 | ||
null | ||
pcap | ||
ring | ||
virtio | ||
vmxnet3 | ||
xenvirt | ||
Makefile |