what is the driver of vm's virtual ethernet?
Subsystems (2)
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
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.
Quoted 18 lines · longguang.yue
hi,all
each port of bridge, has its packets process function calledbr_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
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/virtualization