Home
last modified time | relevance | path

Searched refs:vmolr (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sriov.c370 u32 vmolr = IXGBE_READ_REG(hw, IXGBE_VMOLR(vf)); in ixgbe_set_vf_multicasts() local
397 vmolr |= IXGBE_VMOLR_ROMPE; in ixgbe_set_vf_multicasts()
398 IXGBE_WRITE_REG(hw, IXGBE_VMOLR(vf), vmolr); in ixgbe_set_vf_multicasts()
414 u32 vmolr = IXGBE_READ_REG(hw, IXGBE_VMOLR(i)); in ixgbe_restore_vf_multicasts() local
426 vmolr |= IXGBE_VMOLR_ROMPE; in ixgbe_restore_vf_multicasts()
428 vmolr &= ~IXGBE_VMOLR_ROMPE; in ixgbe_restore_vf_multicasts()
429 IXGBE_WRITE_REG(hw, IXGBE_VMOLR(i), vmolr); in ixgbe_restore_vf_multicasts()
558 u32 vmolr = IXGBE_READ_REG(hw, IXGBE_VMOLR(vf)); in ixgbe_set_vmolr() local
559 vmolr |= IXGBE_VMOLR_BAM; in ixgbe_set_vmolr()
561 vmolr |= IXGBE_VMOLR_AUPE; in ixgbe_set_vmolr()
[all …]
Dixgbe_main.c4130 u32 reg_offset, vf_shift, vmolr; in ixgbe_configure_virtualization() local
4147 vmolr = IXGBE_VMOLR_AUPE; in ixgbe_configure_virtualization()
4149 IXGBE_WRITE_REG(hw, IXGBE_VMOLR(VMDQ_P(pool)), vmolr); in ixgbe_configure_virtualization()
4850 u32 fctrl, vmolr = IXGBE_VMOLR_BAM | IXGBE_VMOLR_AUPE; in ixgbe_set_rx_mode() local
4868 vmolr |= IXGBE_VMOLR_MPE; in ixgbe_set_rx_mode()
4873 vmolr |= IXGBE_VMOLR_MPE; in ixgbe_set_rx_mode()
4885 vmolr |= IXGBE_VMOLR_ROPE; in ixgbe_set_rx_mode()
4895 vmolr |= IXGBE_VMOLR_MPE; in ixgbe_set_rx_mode()
4897 vmolr |= IXGBE_VMOLR_ROMPE; in ixgbe_set_rx_mode()
4901 vmolr |= IXGBE_READ_REG(hw, IXGBE_VMOLR(VMDQ_P(0))) & in ixgbe_set_rx_mode()
[all …]
/Linux-v4.19/drivers/net/ethernet/intel/igb/
Digb_main.c4424 u32 vmolr; in igb_set_vf_rlpml() local
4429 vmolr = rd32(E1000_VMOLR(vfn)); in igb_set_vf_rlpml()
4430 vmolr &= ~E1000_VMOLR_RLPML_MASK; in igb_set_vf_rlpml()
4431 vmolr |= size | E1000_VMOLR_LPE; in igb_set_vf_rlpml()
4432 wr32(E1000_VMOLR(vfn), vmolr); in igb_set_vf_rlpml()
4463 u32 vmolr; in igb_set_vmolr() local
4471 vmolr = rd32(E1000_VMOLR(vfn)); in igb_set_vmolr()
4473 vmolr |= E1000_VMOLR_AUPE; /* Accept untagged packets */ in igb_set_vmolr()
4475 vmolr &= ~(E1000_VMOLR_AUPE); /* Tagged packets ONLY */ in igb_set_vmolr()
4478 vmolr &= ~(E1000_VMOLR_BAM | E1000_VMOLR_RSSE); in igb_set_vmolr()
[all …]