RE: [E1000-devel] [PATCH] e1000e: disable rxhash when try to enablejumbo frame also rxhash and rxcsum have enabled

From: Allan, Bruce W
Date: Thu Jun 07 2012 - 21:14:50 EST


> -----Original Message-----
> From: David Miller [mailto:davem@xxxxxxxxxxxxx]
> Sent: Thursday, June 07, 2012 6:12 PM
> To: joe.jin@xxxxxxxxxx
> Cc: e1000-devel@xxxxxxxxxxxxxxxxxxxxx; guru.anbalagane@xxxxxxxxxx;
> Allan, Bruce W; Brandeburg, Jesse; adnan.misherfi@xxxxxxxxxx; Ronciak,
> John; netdev@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx
> Subject: Re: [E1000-devel] [PATCH] e1000e: disable rxhash when try to
> enable jumbo frame also rxhash and rxcsum have enabled
>
> From: Joe Jin <joe.jin@xxxxxxxxxx>
> Date: Fri, 08 Jun 2012 09:06:40 +0800
>
> > Upstream commit 70495a5 check if both rxhash and rxcsum enabled when
> enabling
> > jumbo frames and disallowed all of them enabled at the same time.
> >
> > Since jumbo frame widely be used in real world, so when try to
> enable jumbo
> > frames but rxhash and rxcsum have enabled, change the default
> behavior to
> > disable receive hashing.
> >
> > Signed-off-by: Joe Jin <joe.jin@xxxxxxxxxx>
> > Signed-off-by: Guru Anbalagane <guru.anbalagane@xxxxxxxxxx>
> > Acked-by: Adnan Misherfi <adnan.misherfi@xxxxxxxxxx>
>
> If I were the Intel developers I would not apply this patch, it sets
> a very bad precedence.
>
> The tool tells you that the combination you're attempting to use is
> invalid, and the kernel log message tells you exactly why.
>
> The driver should never automatically change configuration settings
> not actually requested by the user.

I've been working on another patch that removes the issue with disabling
one feature over another altogether, so this patch would be moot. It will
be pushed to our internal testing organization in the next day or two.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/