linux/drivers/net/ethernet/intel/i40e
Anjali Singhai Jain 49d7d93331 i40e/i40evf: Do not free the dummy packet buffer synchronously
The HW still needs to consume it and freeing it in the function
that created it would mean we will be racing with the HW. The
i40e_clean_tx_ring() routine will free up the buffer attached once
the HW has consumed it.  The clean_fdir_tx_irq function had to be fixed
to handle the freeing correctly.

Cases where we program more than one filter per flow (Ipv4), the
code had to be changed to allocate dummy buffer multiple times
since it will be freed by the clean routine.  This also fixes an issue
where the filter program routine was not checking if there were
descriptors available for programming a filter.

Change-ID: Idf72028fd873221934e319d021ef65a1e51acaf7
Signed-off-by: Anjali Singhai Jain <anjali.singhai@intel.com>
Tested-by: Jim Young <jamesx.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2014-07-02 19:02:18 -07:00
..
i40e_adminq_cmd.h i40e/i40evf: AdminQ API update for new FW 2014-06-11 08:47:35 -07:00
i40e_adminq.c i40e/i40evf: add ASQ write back timeout variable to AQ structure 2014-06-30 23:46:15 -07:00
i40e_adminq.h i40e/i40evf: add ASQ write back timeout variable to AQ structure 2014-06-30 23:46:15 -07:00
i40e_alloc.h i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_common.c i40e: limit GLLAN_TXPRE_QDIS to QINDX 0-127 2014-07-01 00:21:25 -07:00
i40e_dcb_nl.c i40e: Separate out DCB capability and enabled flags 2014-06-11 08:48:15 -07:00
i40e_dcb.c i40e: Fix static checker warning 2014-03-06 18:41:50 -08:00
i40e_dcb.h i40e: implement DCB support infastructure 2014-01-17 19:13:04 -08:00
i40e_debugfs.c i40e: Add debugfs hooks to print current total FD filter count 2014-06-26 04:45:31 -07:00
i40e_diag.c i40e: Rework register diagnostic 2014-06-05 01:27:46 -07:00
i40e_diag.h i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_ethtool.c i40e: Add ablitity to enable/disable link from set_link_restart_an 2014-06-24 18:19:04 -07:00
i40e_hmc.c i40e/i40evf: Fix code to accommodate i40e_register.h changes 2014-06-08 02:01:23 -07:00
i40e_hmc.h i40e/i40evf: Fix code to accommodate i40e_register.h changes 2014-06-08 02:01:23 -07:00
i40e_lan_hmc.c i40e: Correct mask assignment value 2014-06-30 23:45:46 -07:00
i40e_lan_hmc.h i40e/i40evf: Big endian fixes for handling HMC 2014-06-26 04:44:57 -07:00
i40e_main.c i40e/i40evf: Do not free the dummy packet buffer synchronously 2014-07-02 19:02:18 -07:00
i40e_nvm.c i40e: do not take NVM ownership for SR read 2014-06-26 04:44:57 -07:00
i40e_osdep.h i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_prototype.h i40e: clear all queues and interrupts 2014-06-30 23:45:45 -07:00
i40e_ptp.c i40e: remove linux/export.h header from i40e_ptp.c 2014-07-01 00:29:06 -07:00
i40e_register.h i40e/i40evf: i40e_register.h update 2014-06-19 20:22:02 -07:00
i40e_status.h i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_txrx.c i40e/i40evf: Do not free the dummy packet buffer synchronously 2014-07-02 19:02:18 -07:00
i40e_txrx.h i40e/i40evf: Do not free the dummy packet buffer synchronously 2014-07-02 19:02:18 -07:00
i40e_type.h i40e/i40evf: remove reserved type 2014-06-24 18:19:02 -07:00
i40e_virtchnl_pf.c i40e: Stop the VF device after setting its MAC address 2014-06-24 18:15:46 -07:00
i40e_virtchnl_pf.h i40e: implement anti-spoofing for VFs 2014-06-08 23:52:33 -07:00
i40e_virtchnl.h i40e/i40evf: Clean up a few things 2014-06-08 02:01:26 -07:00
i40e.h i40e: Fix the FD sideband logic to detect a FD table full condition 2014-06-26 04:45:30 -07:00
Makefile i40e: add DCB option to Kconfig 2014-01-17 19:13:04 -08:00