ixgbe: fix error handling in TC cls_u32 offload routines
authorSridhar Samudrala <sridhar.samudrala@intel.com>
Mon, 7 Mar 2016 17:41:47 +0000 (09:41 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 30 Mar 2016 06:05:51 +0000 (23:05 -0700)
commit176621c964e9279c42c6b641688360e5cd0baedf
tree3c8ebadaf5d5fb3c79d544a83e63269678856600
parent6e2a60b57a83ea134c06c5226aaff20e7e9ce221
ixgbe: fix error handling in TC cls_u32 offload routines

Check for handle ids when adding/deleting hash nodes OR adding/deleting
filter entries and limit them to max number of links or header nodes
supported(IXGBE_MAX_LINK_HANDLE).

Start from bit 0 when setting hash table bit-map.(adapter->tables)

Signed-off-by: Sridhar Samudrala <sridhar.samudrala@intel.com>
Acked-by: John Fastabend <john.r.fastabend@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c