Lines Matching refs:vmolr
4582 u32 vmolr; in igb_set_vf_rlpml() local
4587 vmolr = rd32(E1000_VMOLR(vfn)); in igb_set_vf_rlpml()
4588 vmolr &= ~E1000_VMOLR_RLPML_MASK; in igb_set_vf_rlpml()
4589 vmolr |= size | E1000_VMOLR_LPE; in igb_set_vf_rlpml()
4590 wr32(E1000_VMOLR(vfn), vmolr); in igb_set_vf_rlpml()
4621 u32 vmolr; in igb_set_vmolr() local
4629 vmolr = rd32(E1000_VMOLR(vfn)); in igb_set_vmolr()
4631 vmolr |= E1000_VMOLR_AUPE; /* Accept untagged packets */ in igb_set_vmolr()
4633 vmolr &= ~(E1000_VMOLR_AUPE); /* Tagged packets ONLY */ in igb_set_vmolr()
4636 vmolr &= ~(E1000_VMOLR_BAM | E1000_VMOLR_RSSE); in igb_set_vmolr()
4639 vmolr |= E1000_VMOLR_RSSE; /* enable RSS */ in igb_set_vmolr()
4644 vmolr |= E1000_VMOLR_BAM; /* Accept broadcast */ in igb_set_vmolr()
4646 wr32(E1000_VMOLR(vfn), vmolr); in igb_set_vmolr()
5197 u32 rctl = 0, vmolr = 0, rlpml = MAX_JUMBO_FRAME_SIZE; in igb_set_rx_mode() local
5203 vmolr |= E1000_VMOLR_MPME; in igb_set_rx_mode()
5207 vmolr |= E1000_VMOLR_ROPE; in igb_set_rx_mode()
5211 vmolr |= E1000_VMOLR_MPME; in igb_set_rx_mode()
5220 vmolr |= E1000_VMOLR_MPME; in igb_set_rx_mode()
5222 vmolr |= E1000_VMOLR_ROMPE; in igb_set_rx_mode()
5233 vmolr |= E1000_VMOLR_ROPE; in igb_set_rx_mode()
5271 igb_set_uta(adapter, !!(vmolr & E1000_VMOLR_ROPE)); in igb_set_rx_mode()
5273 vmolr |= rd32(E1000_VMOLR(vfn)) & in igb_set_rx_mode()
5277 vmolr &= ~E1000_VMOLR_RLPML_MASK; in igb_set_rx_mode()
5280 vmolr |= IGB_MAX_FRAME_BUILD_SKB; in igb_set_rx_mode()
5283 vmolr |= MAX_JUMBO_FRAME_SIZE; in igb_set_rx_mode()
5284 vmolr |= E1000_VMOLR_LPE; in igb_set_rx_mode()
5286 wr32(E1000_VMOLR(vfn), vmolr); in igb_set_rx_mode()
7173 u32 vmolr = rd32(E1000_VMOLR(vf)); in igb_set_vf_promisc() local
7178 vmolr &= ~(E1000_VMOLR_ROPE | E1000_VMOLR_ROMPE | E1000_VMOLR_MPME); in igb_set_vf_promisc()
7181 vmolr |= E1000_VMOLR_MPME; in igb_set_vf_promisc()
7190 vmolr |= E1000_VMOLR_MPME; in igb_set_vf_promisc()
7194 vmolr |= E1000_VMOLR_ROMPE; in igb_set_vf_promisc()
7200 wr32(E1000_VMOLR(vf), vmolr); in igb_set_vf_promisc()
7244 u32 vmolr = rd32(E1000_VMOLR(i)); in igb_restore_vf_multicasts() local
7246 vmolr &= ~(E1000_VMOLR_ROMPE | E1000_VMOLR_MPME); in igb_restore_vf_multicasts()
7252 vmolr |= E1000_VMOLR_MPME; in igb_restore_vf_multicasts()
7254 vmolr |= E1000_VMOLR_ROMPE; in igb_restore_vf_multicasts()
7258 wr32(E1000_VMOLR(i), vmolr); in igb_restore_vf_multicasts()