[ovs-discuss] A little bit confused about netdev, netdev-vport and vport
ustcer.tonychan at gmail.com
Wed Mar 21 07:04:15 PDT 2012
In the PORTING file, it reads:
*lib/netdev-vport.c provides support for "virtual ports" implemented by the
> Open vSwitch datapath module for the Linux kernel
netdev-vport.c does not implement its own *recv* function. As in
* May be null if not needed, such as for a network device that does not
> * implement packet reception through the 'recv' mumber function */
void (*recv) (struct netdev *netdev, void *buffer, size_t size);
I wonder where else packet reception can be implemented?
And what is the relation between netdev and vport? Is *netdev* used to
abstract Ethernet interfaces, e.g. eth0 on Linux? Is *vport* used to
abstract virtual network kernel devices, e.g. tap0 on Linux?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the discuss