diff options
author | Don Skidmore <donald.c.skidmore@intel.com> | 2009-04-09 22:27:00 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-04-11 09:47:58 (GMT) |
commit | 6e4e87d68a89028204fe744a8eda8f74bff5b6a9 (patch) | |
tree | 2caa2467139e48f876e7dac22ad120308592c003 /drivers | |
parent | d988eadbe2d93b5a2d4aa4ec46264e0f6213a71c (diff) | |
download | linux-fsl-qoriq-6e4e87d68a89028204fe744a8eda8f74bff5b6a9.tar.xz |
ixgbe: add support for addition VT_CTL defines
These defines allow for definition of target pool for packets that
pass L2 filtering but didn't pass any of the pool filters. They are
needed to reset the default pool.
Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com>
Acked-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ixgbe/ixgbe_type.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ixgbe/ixgbe_type.h b/drivers/net/ixgbe/ixgbe_type.h index 0d25036..50285c2 100644 --- a/drivers/net/ixgbe/ixgbe_type.h +++ b/drivers/net/ixgbe/ixgbe_type.h @@ -958,6 +958,8 @@ #define IXGBE_VT_CTL_DIS_DEFPL 0x20000000 /* disable default pool */ #define IXGBE_VT_CTL_REPLEN 0x40000000 /* replication enabled */ #define IXGBE_VT_CTL_VT_ENABLE 0x00000001 /* Enable VT Mode */ +#define IXGBE_VT_CTL_POOL_SHIFT 7 +#define IXGBE_VT_CTL_POOL_MASK (0x3F << IXGBE_VT_CTL_POOL_SHIFT) /* VMOLR bitmasks */ #define IXGBE_VMOLR_AUPE 0x01000000 /* accept untagged packets */ |