On 04.12.2019 09:18, Anju Thomas wrote: > Hi Illya, > > I am unclear regarding one comment from your end . > You have suggested to put the definition of xlate_error in ifndef __KERNEL__. > But these errors are populated in ofproto layer even otherwise as well.
IIUC, __KERNEL__ is defined while building kernel module. Since kernel module doesn't use this enumeration it should not see the definition. 'ifndef' ensures that this code will be available only for userspace components. Best regards, Ilya Maximets. _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
