Re: what is the driver of vm's virtual ethernet?

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

 



What happens is that real (or virtual) network devices call the common network receive function - netif_receive_skb
This function has a hook rx_handler which is called if the device is part of a bridge.
The bridge code the processes the packets and either floods them, redirects, or drops the packets
based on the learned forwarding table.


On Sat, Mar 29, 2014 at 7:10 PM, longguang.yue <kernelluck@xxxxxxx> wrote:
hi,all
each port of bridge, has its packets process function called br_handle_frame.
i want to know before this function called   who and how it get the packets?
if it is a real physical ethernet, it  must be its driver, but for virtual ethernet , what is the driver?
 
 
thanks



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

_______________________________________________
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