summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ixgbe/ixgbe.h
diff options
context:
space:
mode:
authorJohn Fastabend2016-02-17 06:19:19 +0100
committerDavid S. Miller2016-02-17 15:47:37 +0100
commitdb956ae882f4e7aa99c9c242a91ae942d08b6939 (patch)
treea13405bcc7436c5c70b65096bc774ecf9134d6a9 /drivers/net/ethernet/intel/ixgbe/ixgbe.h
parentnet: ixgbe: add support for tc_u32 offload (diff)
downloadkernel-qcow2-linux-db956ae882f4e7aa99c9c242a91ae942d08b6939.tar.gz
kernel-qcow2-linux-db956ae882f4e7aa99c9c242a91ae942d08b6939.tar.xz
kernel-qcow2-linux-db956ae882f4e7aa99c9c242a91ae942d08b6939.zip
net: ixgbe: abort with cls u32 divisor groups greater than 1
This patch ensures ixgbe will not try to offload hash tables from the u32 module. The device class does not currently support this so until it is enabled just abort on these tables. Interestingly the more flexible your hardware is the less code you need to implement to guard against these cases. Signed-off-by: John Fastabend <john.r.fastabend@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbe/ixgbe.h')
-rw-r--r--drivers/net/ethernet/intel/ixgbe/ixgbe.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe.h b/drivers/net/ethernet/intel/ixgbe/ixgbe.h
index fc877c715c64..84fa28ceb200 100644
--- a/drivers/net/ethernet/intel/ixgbe/ixgbe.h
+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe.h
@@ -798,6 +798,7 @@ struct ixgbe_adapter {
#define IXGBE_MAX_LINK_HANDLE 10
struct ixgbe_mat_field *jump_tables[IXGBE_MAX_LINK_HANDLE];
+ unsigned long tables;
/* maximum number of RETA entries among all devices supported by ixgbe
* driver: currently it's x550 device in non-SRIOV mode