Searched refs:vmolr (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_sriov.c | 375 u32 vmolr = IXGBE_READ_REG(hw, IXGBE_VMOLR(vf)); in ixgbe_set_vf_multicasts() local 402 vmolr |= IXGBE_VMOLR_ROMPE; in ixgbe_set_vf_multicasts() 403 IXGBE_WRITE_REG(hw, IXGBE_VMOLR(vf), vmolr); in ixgbe_set_vf_multicasts() 419 u32 vmolr = IXGBE_READ_REG(hw, IXGBE_VMOLR(i)); in ixgbe_restore_vf_multicasts() local 431 vmolr |= IXGBE_VMOLR_ROMPE; in ixgbe_restore_vf_multicasts() 433 vmolr &= ~IXGBE_VMOLR_ROMPE; in ixgbe_restore_vf_multicasts() 434 IXGBE_WRITE_REG(hw, IXGBE_VMOLR(i), vmolr); in ixgbe_restore_vf_multicasts() 562 u32 vmolr = IXGBE_READ_REG(hw, IXGBE_VMOLR(vf)); in ixgbe_set_vmolr() local 563 vmolr |= IXGBE_VMOLR_BAM; in ixgbe_set_vmolr() 565 vmolr |= IXGBE_VMOLR_AUPE; in ixgbe_set_vmolr() [all …]
|
D | ixgbe_main.c | 4178 u32 reg_offset, vf_shift, vmolr; in ixgbe_configure_virtualization() local 4195 vmolr = IXGBE_VMOLR_AUPE; in ixgbe_configure_virtualization() 4197 IXGBE_WRITE_REG(hw, IXGBE_VMOLR(VMDQ_P(pool)), vmolr); in ixgbe_configure_virtualization() 4897 u32 fctrl, vmolr = IXGBE_VMOLR_BAM | IXGBE_VMOLR_AUPE; in ixgbe_set_rx_mode() local 4915 vmolr |= IXGBE_VMOLR_MPE; in ixgbe_set_rx_mode() 4920 vmolr |= IXGBE_VMOLR_MPE; in ixgbe_set_rx_mode() 4932 vmolr |= IXGBE_VMOLR_ROPE; in ixgbe_set_rx_mode() 4942 vmolr |= IXGBE_VMOLR_MPE; in ixgbe_set_rx_mode() 4944 vmolr |= IXGBE_VMOLR_ROMPE; in ixgbe_set_rx_mode() 4948 vmolr |= IXGBE_READ_REG(hw, IXGBE_VMOLR(VMDQ_P(0))) & in ixgbe_set_rx_mode() [all …]
|
/Linux-v6.6/drivers/net/ethernet/wangxun/libwx/ |
D | wx_hw.c | 1137 u32 fctrl, vmolr, vlnctrl; in wx_set_rx_mode() local 1145 vmolr = rd32(wx, WX_PSR_VM_L2CTL(0)); in wx_set_rx_mode() 1146 vmolr &= ~(WX_PSR_VM_L2CTL_UPE | in wx_set_rx_mode() 1155 vmolr |= WX_PSR_VM_L2CTL_BAM | in wx_set_rx_mode() 1165 vmolr |= WX_PSR_VM_L2CTL_MPE; in wx_set_rx_mode() 1171 vmolr |= WX_PSR_VM_L2CTL_MPE; in wx_set_rx_mode() 1175 vmolr |= (WX_PSR_VM_L2CTL_UPE | WX_PSR_VM_L2CTL_MPE); in wx_set_rx_mode() 1182 vmolr |= WX_PSR_VM_L2CTL_ROPE | WX_PSR_VM_L2CTL_ROMPE; in wx_set_rx_mode() 1191 vmolr &= ~WX_PSR_VM_L2CTL_ROPE; in wx_set_rx_mode() 1192 vmolr |= WX_PSR_VM_L2CTL_UPE; in wx_set_rx_mode() [all …]
|
/Linux-v6.6/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 4662 u32 vmolr; in igb_set_vf_rlpml() local 4667 vmolr = rd32(E1000_VMOLR(vfn)); in igb_set_vf_rlpml() 4668 vmolr &= ~E1000_VMOLR_RLPML_MASK; in igb_set_vf_rlpml() 4669 vmolr |= size | E1000_VMOLR_LPE; in igb_set_vf_rlpml() 4670 wr32(E1000_VMOLR(vfn), vmolr); in igb_set_vf_rlpml() 4701 u32 vmolr; in igb_set_vmolr() local 4709 vmolr = rd32(E1000_VMOLR(vfn)); in igb_set_vmolr() 4711 vmolr |= E1000_VMOLR_AUPE; /* Accept untagged packets */ in igb_set_vmolr() 4713 vmolr &= ~(E1000_VMOLR_AUPE); /* Tagged packets ONLY */ in igb_set_vmolr() 4716 vmolr &= ~(E1000_VMOLR_BAM | E1000_VMOLR_RSSE); in igb_set_vmolr() [all …]
|