* Intel e1000 ethernet device, change in kernel v3.4, and jumbo frames setting DENIED.
@ 2012-07-04 19:56 D. Stussy
2012-07-04 22:33 ` Henrique de Moraes Holschuh
0 siblings, 1 reply; 4+ messages in thread
From: D. Stussy @ 2012-07-04 19:56 UTC (permalink / raw)
To: linux-kernel
There has been some changes to the driver such that things like checksum
verification is offloaded from the CPU. However, this blocks the ability to
set a jumbo frame. The kernel does record an error indicating that checksum
offloading need be disabled fro jumbo frame MTU sizes to be used. My e1000
interfaces use the 82574L chipset.
1) Was this an intentional change?
2) How do I disable that function so I can set jumbo frames with "ifconfig"
or "ip"? I simply don't know what setting I need to pass.
Exact kernel message: "Jumbo frames cannot be enabled when both receive
checksum offload and receive hashing are enabled. Disable one of the receive
offload features before enabling jumbos."
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Intel e1000 ethernet device, change in kernel v3.4, and jumbo frames setting DENIED.
2012-07-04 19:56 D. Stussy
@ 2012-07-04 22:33 ` Henrique de Moraes Holschuh
0 siblings, 0 replies; 4+ messages in thread
From: Henrique de Moraes Holschuh @ 2012-07-04 22:33 UTC (permalink / raw)
To: D. Stussy; +Cc: linux-kernel
On Wed, 04 Jul 2012, D. Stussy wrote:
> There has been some changes to the driver such that things like
> checksum verification is offloaded from the CPU. However, this
> blocks the ability to set a jumbo frame. The kernel does record an
> error indicating that checksum offloading need be disabled fro jumbo
> frame MTU sizes to be used. My e1000 interfaces use the 82574L
> chipset.
>
> 1) Was this an intentional change?
Yes, but I understand Intel is trying to come up with a way not to need it.
> 2) How do I disable that function so I can set jumbo frames with
> "ifconfig" or "ip"? I simply don't know what setting I need to
> pass.
ethtool can do it. Check its manpage, it can manipulate the various NIC
offload engines, as well as other parameters such as dma ring buffer size,
etc.
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Intel e1000 ethernet device, change in kernel v3.4, and jumbo frames setting DENIED.
[not found] ` <jjGoO-7l0-19@gated-at.bofh.it>
@ 2012-07-05 19:55 ` D. Stussy
2012-07-05 23:53 ` D. Stussy
1 sibling, 0 replies; 4+ messages in thread
From: D. Stussy @ 2012-07-05 19:55 UTC (permalink / raw)
To: linux-kernel
"Henrique de Moraes Holschuh" wrote in message
news:jjGoO-7l0-19@gated-at.bofh.it...
On Wed, 04 Jul 2012, D. Stussy wrote:
> There has been some changes to the driver such that things like
> checksum verification is offloaded from the CPU. However, this
> blocks the ability to set a jumbo frame. The kernel does record an
> error indicating that checksum offloading need be disabled fro jumbo
> frame MTU sizes to be used. My e1000 interfaces use the 82574L
> chipset.
>
> 1) Was this an intentional change?
Yes, but I understand Intel is trying to come up with a way not to need it.
> 2) How do I disable that function so I can set jumbo frames with
> "ifconfig" or "ip"? I simply don't know what setting I need to
> pass.
ethtool can do it. Check its manpage, it can manipulate the various NIC
offload engines, as well as other parameters such as dma ring buffer size,
etc.
=====================
I'll look into it. Thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Intel e1000 ethernet device, change in kernel v3.4, and jumbo frames setting DENIED.
[not found] ` <jjGoO-7l0-19@gated-at.bofh.it>
2012-07-05 19:55 ` Intel e1000 ethernet device, change in kernel v3.4, and jumbo frames setting DENIED D. Stussy
@ 2012-07-05 23:53 ` D. Stussy
1 sibling, 0 replies; 4+ messages in thread
From: D. Stussy @ 2012-07-05 23:53 UTC (permalink / raw)
To: linux-kernel
"Henrique de Moraes Holschuh" wrote in message
news:jjGoO-7l0-19@gated-at.bofh.it...
On Wed, 04 Jul 2012, D. Stussy wrote:
> There has been some changes to the driver such that things like
> checksum verification is offloaded from the CPU. However, this
> blocks the ability to set a jumbo frame. The kernel does record an
> error indicating that checksum offloading need be disabled fro jumbo
> frame MTU sizes to be used. My e1000 interfaces use the 82574L
> chipset.
>
> 1) Was this an intentional change?
Yes, but I understand Intel is trying to come up with a way not to need it.
==============
OK, found the modification. NETIF_F_RXHASH turned on by default in a
modification ("Receive Packet Steering support") from January 26, 2012.
Features which have no OFF setting should DEFAULT OFF and wait to be
explicitly enabled. The change which was inserted is stupid.
==============
> 2) How do I disable that function so I can set jumbo frames with
> "ifconfig" or "ip"? I simply don't know what setting I need to
> pass.
ethtool can do it. Check its manpage, it can manipulate the various NIC
offload engines, as well as other parameters such as dma ring buffer size,
etc.
===============
Got it: ethtool -K eth0 rx off
However, I'd prefer to turn off hashing instead of the checksum and I didn't
recognize a single setting which would do that. Under "ethtool -N", there
seem to be 8 settings, but none of the options seemed to disable hashing
(without simultaneously dropping packets). I still need help: What is the
correct setting I need to disable this? I don't see a simple OFF setting.
Else, this part of the patch should be reversed:
--- a/drivers/net/ethernet/intel/e1000e/netdev.c
+++ b/drivers/net/ethernet/intel/e1000e/netdev.c
@@ -6136,6 +6213,7 @@ static int __devinit e1000_probe(struct pci_dev *pdev,
NETIF_F_HW_VLAN_TX |
NETIF_F_TSO |
NETIF_F_TSO6 |
+ NETIF_F_RXHASH |
NETIF_F_RXCSUM |
NETIF_F_HW_CSUM);
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-07-05 23:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <jjE3E-5PM-29@gated-at.bofh.it>
[not found] ` <jjGoO-7l0-19@gated-at.bofh.it>
2012-07-05 19:55 ` Intel e1000 ethernet device, change in kernel v3.4, and jumbo frames setting DENIED D. Stussy
2012-07-05 23:53 ` D. Stussy
2012-07-04 19:56 D. Stussy
2012-07-04 22:33 ` Henrique de Moraes Holschuh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox