diff options
| author | Borislav Petkov <bp@suse.de> | 2022-09-27 15:29:33 +0200 | 
|---|---|---|
| committer | Borislav Petkov <bp@suse.de> | 2022-09-27 15:29:33 +0200 | 
| commit | c0cca6a66458a0daa627774de7ca2b678a6bb3d8 (patch) | |
| tree | a3fc9914daf2ca2fdedc7e4810302affdeb5680b /drivers/net/ethernet/intel/ice/ice_lib.c | |
| parent | 57646d6769f13f9484ffc6869c493e25a6568073 (diff) | |
| parent | e7ccba7728cff0e0f1299951571f209fcadcb7b1 (diff) | |
Merge tag 'irqchip-fixes-6.0-2' of git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms into irq/urgent
Pull more irqchip fixes for 6.0 from Marc Zyngier:
  - A couple of configuration fixes for the recently merged Loongarch drivers
  - A fix to avoid dynamic allocation of a cpumask which was causing issues
    with PREEMPT_RT and the GICv3 ITS
  - A tightening of an error check in the stm32 exti driver
Link: https://lore.kernel.org/r/20220916085158.2592518-1-maz@kernel.org
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.c')
| -rw-r--r-- | drivers/net/ethernet/intel/ice/ice_lib.c | 12 | 
1 files changed, 8 insertions, 4 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_lib.c b/drivers/net/ethernet/intel/ice/ice_lib.c index a830f7f9aed0..0c4ec9264071 100644 --- a/drivers/net/ethernet/intel/ice/ice_lib.c +++ b/drivers/net/ethernet/intel/ice/ice_lib.c @@ -1986,8 +1986,8 @@ int ice_vsi_cfg_xdp_txqs(struct ice_vsi *vsi)  	if (ret)  		return ret; -	ice_for_each_xdp_txq(vsi, i) -		vsi->xdp_rings[i]->xsk_pool = ice_tx_xsk_pool(vsi->xdp_rings[i]); +	ice_for_each_rxq(vsi, i) +		ice_tx_xsk_pool(vsi, i);  	return ret;  } @@ -3181,7 +3181,7 @@ int ice_vsi_rebuild(struct ice_vsi *vsi, bool init_vsi)  	pf = vsi->back;  	vtype = vsi->type; -	if (WARN_ON(vtype == ICE_VSI_VF) && !vsi->vf) +	if (WARN_ON(vtype == ICE_VSI_VF && !vsi->vf))  		return -EINVAL;  	ice_vsi_init_vlan_ops(vsi); @@ -4062,7 +4062,11 @@ int ice_vsi_del_vlan_zero(struct ice_vsi *vsi)  	if (err && err != -EEXIST)  		return err; -	return 0; +	/* when deleting the last VLAN filter, make sure to disable the VLAN +	 * promisc mode so the filter isn't left by accident +	 */ +	return ice_clear_vsi_promisc(&vsi->back->hw, vsi->idx, +				    ICE_MCAST_VLAN_PROMISC_BITS, 0);  }  /**  | 
