summaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgbevf/defines.h
diff options
context:
space:
mode:
authorGreg Rose <gregory.v.rose@intel.com>2011-01-26 02:06:12 +0100
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-02-24 11:37:18 +0100
commit69bfbec47d1c120f66f2f24d5f2cb13a72fc88df (patch)
tree5e3d442ebd0c9b3c95bfb4f498f0f9e74be8dfd7 /drivers/net/ixgbevf/defines.h
parentixgbe: Enable Jumbo Frames on the X540 10Gigabit Controller (diff)
downloadlinux-69bfbec47d1c120f66f2f24d5f2cb13a72fc88df.tar.xz
linux-69bfbec47d1c120f66f2f24d5f2cb13a72fc88df.zip
ixgbevf: Enable jumbo frame support for X540 VF
The X540 controller allows jumbo frame setup on a per VF basis. Enable use of jumbo frames when the VF device belongs to the X540 controller. Signed-off-by: Greg Rose <gregory.v.rose@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ixgbevf/defines.h')
-rw-r--r--drivers/net/ixgbevf/defines.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ixgbevf/defines.h b/drivers/net/ixgbevf/defines.h
index de643eb2ada6..78abb6f1a866 100644
--- a/drivers/net/ixgbevf/defines.h
+++ b/drivers/net/ixgbevf/defines.h
@@ -65,6 +65,8 @@ typedef u32 ixgbe_link_speed;
#define IXGBE_RXCTRL_DMBYPS 0x00000002 /* Descriptor Monitor Bypass */
#define IXGBE_RXDCTL_ENABLE 0x02000000 /* Enable specific Rx Queue */
#define IXGBE_RXDCTL_VME 0x40000000 /* VLAN mode enable */
+#define IXGBE_RXDCTL_RLPMLMASK 0x00003FFF /* Only supported on the X540 */
+#define IXGBE_RXDCTL_RLPML_EN 0x00008000
/* DCA Control */
#define IXGBE_DCA_TXCTRL_TX_WB_RO_EN (1 << 11) /* Tx Desc writeback RO bit */