]> www.infradead.org Git - users/jedix/linux-maple.git/commit
e1000e: add Receive Packet Steering (RPS) support
authorJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 06:58:22 +0000 (14:58 +0800)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 06:58:22 +0000 (14:58 +0800)
commitffd3d6035eb70355a75705eaab275c2d46500781
treecfbbcbec4feb4572f9132f3a3eb98db103940c42
parent061ee15d4cc1d77fdb5e64a4a26c9ad45b334ce0
e1000e: add Receive Packet Steering (RPS) support

Enable RPS by default.  Disallow jumbo frames when both receive checksum
and receive hashing are enabled because the hardware cannot do both IP
payload checksum (enabled when receive checksum is enabled when using
packet split which is used for jumbo frames) and provide RSS hash at the
same time.

v2: added ethtool command to query flow hashing behavior per Ben Hutchings
    and changed the type of rsskey to cleanup the setting of the register
    array and avoid unnecessary casts (as pointed out by Joe Perches).
    The long error messages are not changed since there is nothing in
    the kernel ./Documentation that suggests the preferred method for
    dealing with long messages other than to never break strings; leaving
    them as-is for now.

(backported from commit 70495a500d787c0c90a136acf454cb7d0eecd82e)
Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/e1000e/defines.h
drivers/net/e1000e/ethtool.c
drivers/net/e1000e/hw.h
drivers/net/e1000e/netdev.c