diff options
Diffstat (limited to 'drivers/net/ethernet/intel/i40e/i40e_hmc.h')
| -rw-r--r-- | drivers/net/ethernet/intel/i40e/i40e_hmc.h | 17 | 
1 files changed, 4 insertions, 13 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e_hmc.h b/drivers/net/ethernet/intel/i40e/i40e_hmc.h index aacd42a261e..b45d8fedc5e 100644 --- a/drivers/net/ethernet/intel/i40e/i40e_hmc.h +++ b/drivers/net/ethernet/intel/i40e/i40e_hmc.h @@ -1,7 +1,7 @@  /*******************************************************************************   *   * Intel Ethernet Controller XL710 Family Linux Driver - * Copyright(c) 2013 Intel Corporation. + * Copyright(c) 2013 - 2014 Intel Corporation.   *   * This program is free software; you can redistribute it and/or modify it   * under the terms and conditions of the GNU General Public License, @@ -12,9 +12,8 @@   * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for   * more details.   * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. + * You should have received a copy of the GNU General Public License along + * with this program.  If not, see <http://www.gnu.org/licenses/>.   *   * The full GNU General Public License is included in this distribution in   * the file called "COPYING". @@ -117,7 +116,6 @@ struct i40e_hmc_info {   * @hw: pointer to our hw struct   * @pa: pointer to physical address   * @sd_index: segment descriptor index - * @hmc_fn_id: hmc function id   * @type: if sd entry is direct or paged   **/  #define I40E_SET_PF_SD_ENTRY(hw, pa, sd_index, type)			\ @@ -139,7 +137,6 @@ struct i40e_hmc_info {   * I40E_CLEAR_PF_SD_ENTRY - marks the sd entry as invalid in the hardware   * @hw: pointer to our hw struct   * @sd_index: segment descriptor index - * @hmc_fn_id: hmc function id   * @type: if sd entry is direct or paged   **/  #define I40E_CLEAR_PF_SD_ENTRY(hw, sd_index, type)			\ @@ -160,18 +157,12 @@ struct i40e_hmc_info {   * @hw: pointer to our hw struct   * @sd_idx: segment descriptor index   * @pd_idx: page descriptor index - * @hmc_fn_id: hmc function id   **/  #define I40E_INVALIDATE_PF_HMC_PD(hw, sd_idx, pd_idx)			\  	wr32((hw), I40E_PFHMC_PDINV,					\  	    (((sd_idx) << I40E_PFHMC_PDINV_PMSDIDX_SHIFT) |		\  	     ((pd_idx) << I40E_PFHMC_PDINV_PMPDIDX_SHIFT))) -#define I40E_INVALIDATE_VF_HMC_PD(hw, sd_idx, pd_idx, hmc_fn_id)	   \ -	wr32((hw), I40E_GLHMC_VFPDINV((hmc_fn_id) - I40E_FIRST_VF_FPM_ID), \ -	     (((sd_idx) << I40E_PFHMC_PDINV_PMSDIDX_SHIFT) |		   \ -	      ((pd_idx) << I40E_PFHMC_PDINV_PMPDIDX_SHIFT))) -  /**   * I40E_FIND_SD_INDEX_LIMIT - finds segment descriptor index limit   * @hmc_info: pointer to the HMC configuration information structure @@ -230,7 +221,7 @@ i40e_status i40e_add_pd_table_entry(struct i40e_hw *hw,  					      u32 pd_index);  i40e_status i40e_remove_pd_bp(struct i40e_hw *hw,  					struct i40e_hmc_info *hmc_info, -					u32 idx, bool is_pf); +					u32 idx);  i40e_status i40e_prep_remove_sd_bp(struct i40e_hmc_info *hmc_info,  					     u32 idx);  i40e_status i40e_remove_sd_bp_new(struct i40e_hw *hw,  | 
