On Wed, Jan 15, 2014 at 05:17:00PM +0900, Simon Horman wrote:
> Update the netdev_class so that struct ofpbuf * is passed to rx_recv()
> to provide both the data and size of the data to read a packet into.
> 
> On success, update struct ofpbuf size inside netdev_class rx_recv
> implementation and return 0. This moves logic from the caller.
> On error a positive error code is returned, whereas previously
> a negative error code was returned. This is a more common convention.
> 
> This patch should not have any behavioural changes.
> 
> This patch is in preparation for the netdev-linux variant of rx_recv()
> making use of headroom in the struct ofpbuf * parameter to push a VLAN tag
> obtained from auxdata.
> 
> Co-authored-by: Ben Pfaff <b...@nicira.com>
> Signed-off-by: Simon Horman <ho...@verge.net.au>

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

Reply via email to