> -----Original Message-----
> From: Ankur Sharma
> Sent: Friday, October 17, 2014 10:05 AM
> To: Nithin Raju; dev@openvswitch.org
> Subject: RE: [ovs-dev] [PATCH 2/4] datapath-windows: fixes in Flow.c in key
> parsing
> 
> Hi Nithin,
> 
> While reading the ETHERTYPE attribute we already use ntohs.

My bad. Debugging more I realized that the kernel datapath assumes 'dlType' to 
be in network order. So, we should not be converting while we do the copy from 
the NL attr. We should just to a temporary conversion when we need to need the 
value. This can be changed in the future.

I made some more fixes in the v2. Pls. take a look.

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

Reply via email to