lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <D5C1322C3E673F459512FB59E0DDC32904EE4BD3@orsmsx414.amr.corp.intel.com>
Date:	Tue, 22 Apr 2008 00:46:12 -0700
From:	"Waskiewicz Jr, Peter P" <peter.p.waskiewicz.jr@...el.com>
To:	"Patrick McHardy" <kaber@...sh.net>,
	"Kok, Auke-jan H" <auke-jan.h.kok@...el.com>
Cc:	<jeff@...zik.org>, <netdev@...r.kernel.org>,
	<e1000-devel@...ts.sourceforge.net>
Subject: RE: [PATCH 3/5] e1000e: Allow TSO to trickle down to VLAN device

> That was a typo, I meant netdev_features_change(), which is invoked
> by dev_ethtool() and calls the netdev notifier with
NETDEV_FEAT_CHANGE,
> on which the VLAN code could react. I wasn't aware of the TSO + VLAN
> acceleration problems you've mentioned, do you have a pointer to more
> information about this?

This was a conversation I had late last year on the list regarding TSO
and Tx checksum offload not getting turned on for VLAN devices, since
the VLAN device creation code doesn't copy those device feature flags.
I had proposed sending a patch, and the statement was made that some
devices might not support both of those hardware features at the same
time.  I'll try to dig up those mails.

> In any case I would prefer to avoid having drivers mess with VLAN
> device flags. How about adding a device flag indicating that the
> driver supports TSO + VLAN acceleration and using the
> NETDEV_FEAT_CHANGE notification inside the VLAN code do adjust
> the device's flags properly?

I hear you loud and clear.  I wanted to do this the "right" way in the
drivers if I couldn't do it in the kernel, and your suggestions sound
like the right way.  Let me take the suggestions here and respin this
part of the code, since I have this change in e1000, e1000e, igb, and
ixgbe, and want it to be correct.

Thanks Patrick for the feedback here.  Hopefully I'll soon have
something for Auke to resend.

Cheers,
-PJ Waskiewicz
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ