src/dpdk/drivers/net/ixgbe/base/ixgbe_x550.c
void ixgbe_enable_mdd_X550(struct ixgbe_hw *hw)
{
	u32 reg;

	DEBUGFUNC("ixgbe_enable_mdd_X550");

	/* Enable MDD for TX DMA and interrupt */
	reg = IXGBE_READ_REG(hw, IXGBE_DMATXCTL);
	reg |= (IXGBE_DMATXCTL_MDP_EN | IXGBE_DMATXCTL_MBINTEN);
	IXGBE_WRITE_REG(hw, IXGBE_DMATXCTL, reg);

	/* Enable MDD for RX and interrupt */
	reg = IXGBE_READ_REG(hw, IXGBE_RDRXCTL);
	reg |= (IXGBE_RDRXCTL_MDP_EN | IXGBE_RDRXCTL_MBINTEN);
	IXGBE_WRITE_REG(hw, IXGBE_RDRXCTL, reg);
}
/**
 * ixgbe_enable_mdd_X550
 * @hw: pointer to hardware structure
 *
 * Enable malicious driver detection
 **/
ixgbe_enable_mdd_X550
@hw: pointer to hardware structure

Enable malicious driver detection
ixgbe_enable_mdd_X550 @hw : pointer to hardware structure Enable malicious driver detection
void ixgbe_enable_mdd_X550(struct ixgbe_hw *hw)
{
	u32 reg;
	DEBUGFUNC("ixgbe_enable_mdd_X550");
	reg = IXGBE_READ_REG(hw, IXGBE_DMATXCTL);
	reg |= (IXGBE_DMATXCTL_MDP_EN | IXGBE_DMATXCTL_MBINTEN);
	IXGBE_WRITE_REG(hw, IXGBE_DMATXCTL, reg);
	reg = IXGBE_READ_REG(hw, IXGBE_RDRXCTL);
	reg |= (IXGBE_RDRXCTL_MDP_EN | IXGBE_RDRXCTL_MBINTEN);
	IXGBE_WRITE_REG(hw, IXGBE_RDRXCTL, reg);
}
void ixgbe_enable_mdd_X550 ( struct ixgbe_hw * hw ) { u32 reg ; DEBUGFUNC ( " " ) ; reg = IXGBE_READ_REG ( hw , IXGBE_DMATXCTL ) ; reg |= ( IXGBE_DMATXCTL_MDP_EN | IXGBE_DMATXCTL_MBINTEN ) ; IXGBE_WRITE_REG ( hw , IXGBE_DMATXCTL , reg ) ; reg = IXGBE_READ_REG ( hw , IXGBE_RDRXCTL ) ; reg |= ( IXGBE_RDRXCTL_MDP_EN | IXGBE_RDRXCTL_MBINTEN ) ; IXGBE_WRITE_REG ( hw , IXGBE_RDRXCTL , reg ) ; }
ixgbe_enable_mdd_X550
 @hw: pointer to hardware structure
ixgbe_enable_mdd_X550 @hw : pointer to hardware structure
/* Enable MDD for TX DMA and interrupt */ /* Enable MDD for RX and interrupt */