linux_dsm_epyc7002/drivers/net/ethernet/intel/ixgbe
Amritha Nambiar 12746fd21e ixgbe: Error handler for duplicate filter locations in hardware for cls_u32 offloads
For u32 classifier filters, avoid overwriting existing filter
in a hardware location without removing it first, to clean up
inconsistencies due to duplicate values for filter location.

Verified with the following filters:

Create child hash tables:
	handle 1: u32 divisor 1
	handle 2: u32 divisor 1

Link to the child hash table from parent hash table:
	handle 800:0:11 u32 ht 800: link 1: \
	offset at 0 mask 0f00 shift 6 plus 0 eat \
	match ip protocol 6 ff match ip dst 15.0.0.1/32

	handle 800:0:12 u32 ht 800: link 2: \
	offset at 0 mask 0f00 shift 6 plus 0 eat \
	match ip protocol 17 ff match ip dst 16.0.0.1/32

Add filter into child hash table:
	handle 1:0:3 u32 ht 1: \
	match tcp src 22 ffff action drop

Add another filter to the same location:
	handle 2:0:3 u32 ht 2: \
	match tcp src 33 ffff action drop

Signed-off-by: Amritha Nambiar <amritha.nambiar@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2016-06-29 10:44:02 -07:00
..
ixgbe_82598.c ixgbe: use BIT() macro 2016-04-25 04:15:11 -07:00
ixgbe_82599.c ixgbe: use BIT() macro 2016-04-25 04:15:11 -07:00
ixgbe_common.c ixgbe: use BIT() macro 2016-04-25 04:15:11 -07:00
ixgbe_common.h ixgbe: consolidate the configuration of spoof checking 2016-04-24 17:54:22 -07:00
ixgbe_dcb_82598.c ixgbe: use BIT() macro 2016-04-25 04:15:11 -07:00
ixgbe_dcb_82598.h ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_dcb_82599.c ixgbe: use BIT() macro 2016-04-25 04:15:11 -07:00
ixgbe_dcb_82599.h ixgbe: clean up checkpatch warnings about CODE_INDENT and LEADING_SPACE 2014-05-23 05:24:04 -07:00
ixgbe_dcb_nl.c ixgbe: use BIT() macro 2016-04-25 04:15:11 -07:00
ixgbe_dcb.c ixgbe: use BIT() macro 2016-04-25 04:15:11 -07:00
ixgbe_dcb.h IXGBE: Set the SW prio_tc values at initialization to the HW setting. 2013-05-21 03:14:21 -07:00
ixgbe_debugfs.c ixgbe: don't check NULL for debugfs_remove_recursive 2014-05-23 05:28:24 -07:00
ixgbe_ethtool.c ixgbe: Revise populating few registers and macro definitions 2016-05-04 00:24:31 -07:00
ixgbe_fcoe.c ixgbe: Fix MDD events generated when FCoE+SRIOV are enabled 2016-01-08 04:15:00 -08:00
ixgbe_fcoe.h ixgbe: adds x550 specific FCoE offloads 2015-04-10 00:15:55 -07:00
ixgbe_lib.c ixgbe: Add support for x550em_a 10G MAC type 2016-04-07 16:15:35 -07:00
ixgbe_main.c ixgbe: Error handler for duplicate filter locations in hardware for cls_u32 offloads 2016-06-29 10:44:02 -07:00
ixgbe_mbx.c ixgbe: use BIT() macro 2016-04-25 04:15:11 -07:00
ixgbe_mbx.h ixgbe: Make all unchanging ops structures const 2016-04-04 13:36:58 -07:00
ixgbe_model.h ixgbe: Fix deleting link filters for cls_u32 offloads 2016-06-29 10:05:24 -07:00
ixgbe_phy.c ixgbe: Always turn PHY power on when requested 2015-12-03 02:45:13 -08:00
ixgbe_phy.h ixgbe: use BIT() macro 2016-04-25 04:15:11 -07:00
ixgbe_ptp.c ixgbe: use BIT() macro 2016-04-25 04:15:11 -07:00
ixgbe_sriov.c ixgbe: use BIT() macro 2016-04-25 04:15:11 -07:00
ixgbe_sriov.h ixgbe: add a callback to set the maximum transmit bitrate 2016-04-04 17:44:46 -07:00
ixgbe_sysfs.c ixgbe: add Linux NICS mailing list to contact info 2014-03-12 19:05:30 -07:00
ixgbe_type.h ixgbe: Disable DCB and FCoE for X550EM_x and x550em_a 2016-05-04 00:24:32 -07:00
ixgbe_x540.c ixgbe: use BIT() macro 2016-04-25 04:15:11 -07:00
ixgbe_x540.h ixgbe: Place SWFW semaphore in known valid state at probe 2016-04-04 17:44:50 -07:00
ixgbe_x550.c ixgbe: use msleep for long delays 2016-04-25 04:55:20 -07:00
ixgbe.h ixgbe: Disable DCB and FCoE for X550EM_x and x550em_a 2016-05-04 00:24:32 -07:00
Makefile ixgbe: Add X550 support function pointers 2014-12-05 09:13:07 -08:00