On Thu, Apr 24, 2014 at 4:01 PM, Jesse Gross <je...@nicira.com> wrote:
> On Thu, Apr 24, 2014 at 3:32 PM, Ben Pfaff <b...@nicira.com> wrote:
>> On Thu, Apr 24, 2014 at 02:57:28PM -0700, Jesse Gross wrote:
>>> I suppose the other possibility is to pass some kind of flag attribute
>>> with messages indicating that this is a test probe and would silence
>>> logging. Existing kernels would ignore this so they would still log
>>> but the behavior would be otherwise unchanged.
>>
>> That makes me nervous--it poses the temptation of changing behavior in
>> some other way, not just log-wise.
>
> I agree. I'm not sure what that change would be but it seems generally
> better if the kernel was completely oblivious to the fact that it is
> being tested so there is no possibility of a behavior difference.

In this particular case, I think we could silence it by just having userspace
not probe the Linux datapath for features that we know it won't have.  That
is, we know that we're not ever going to upstream MPLS to Linux with
attribute number 62, so we might as well skip the probe for dpif-linux.
-- 
"I don't normally do acked-by's.  I think it's my way of avoiding
getting blamed when it all blows up."               Andrew Morton
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to