src/dpdk/drivers/net/e1000/base/e1000_82575.c
void e1000_vmdq_set_replication_pf(struct e1000_hw *hw, bool enable)
{
	u32 vt_ctl = E1000_READ_REG(hw, E1000_VT_CTL);

	if (enable)
		vt_ctl |= E1000_VT_CTL_VM_REPL_EN;
	else
		vt_ctl &= ~E1000_VT_CTL_VM_REPL_EN;

	E1000_WRITE_REG(hw, E1000_VT_CTL, vt_ctl);
}
/**
 *  e1000_vmdq_set_replication_pf - enable or disable vmdq replication
 *  @hw: pointer to the hardware struct
 *  @enable: state to enter, either enabled or disabled
 *
 *  enables/disables replication of packets across multiple pools.
 **/
enable or disable vmdq replication
@hw: pointer to the hardware struct
@enable: state to enter, either enabled or disabled

enables/disables replication of packets across multiple pools.
enable or disable vmdq replication @hw : pointer to the hardware struct @enable : state to enter either enabled or disabled enables / disables replication of packets across multiple pools .
void e1000_vmdq_set_replication_pf(struct e1000_hw *hw, bool enable)
{
	u32 vt_ctl = E1000_READ_REG(hw, E1000_VT_CTL);
	if (enable)
		vt_ctl |= E1000_VT_CTL_VM_REPL_EN;
	else
		vt_ctl &= ~E1000_VT_CTL_VM_REPL_EN;
	E1000_WRITE_REG(hw, E1000_VT_CTL, vt_ctl);
}
void e1000_vmdq_set_replication_pf ( struct e1000_hw * hw , bool enable ) { u32 vt_ctl = E1000_READ_REG ( hw , E1000_VT_CTL ) ; if ( enable ) vt_ctl |= E1000_VT_CTL_VM_REPL_EN ; else vt_ctl &= ~ E1000_VT_CTL_VM_REPL_EN ; E1000_WRITE_REG ( hw , E1000_VT_CTL , vt_ctl ) ; }
e1000_vmdq_set_replication_pf - enable or disable vmdq replication
  @hw: pointer to the hardware struct
  @enable: state to enter, either enabled or disabled
e1000_vmdq_set_replication_pf - enable or disable vmdq replication @hw : pointer to the hardware struct @enable : state to enter either enabled or disabled