I thought of creating one "dummy netdev" per function which will represent each 
function in open vswitch. These ports can be treated like logical connection to 
the functions. Whenever there is flow-miss in the device, it will punt the 
packet to the linux kernel via respective "dummy netdev" and get the flow entry 
via control path.
This idea is derived from Jiri's Sept'2014 email/patch.
How are you planning to do this? Are you using linux-3.19.3 offload 
functionality? 
Thanks,Mehul. 
 


     On Thursday, April 2, 2015 1:38 PM, "Gray, Mark D" <mark.d.g...@intel.com> 
wrote:
   

 > Hello,
> I am working on PF/VF driver for PCI-E based SR-IOV capable card. This
> device has got few cpus and ram and is capable of running linux and any
> linux-userland application on the device it self. Register layout (for 
> datapath
> like TX/RX ring, stats etc.) between host and device is defined by the
> software running on the device and hence it can be extended to offload any
> feature as per the need.
> Currently i run application on device which exposes device as a Network
> Interface card with 16 Functions (1PF + 15VF).

Have you thought about how to represent the virtual functions in open vswitch?

We've done some investigation into how they could be implemented as a
type of netdev.

>At present i steer packets to a
> particular port/function based on the L2 Destination address. I want to
> extend this to support OVS style of forwarding (lookup + action) rather than
> only L2 Dest Address.
> I came across ovs-dp-offload changes available in linux-3.19.3 for offloading
> flows to device. I have following questions regarding the same, 1. Is there
> any device driver that makes use of these changes to offload flows/action ?
> 2. I saw a new "netlink" interface added to add flows/actions to the switch
> device. Does ovs-ofctl usethis new netlink to add flows to the hardware? Or
> is there any other utility to do the same?
> 
> Thanks,Mehul.



  
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to