if(rob_var > RTL8367C_MAX_ROB_VAR)
return RT_ERR_OUT_OF_RANGE;
- /* Bourstness variable */
retVal = rtl8367c_setAsicRegBits(RTL8367C_REG_IGMP_MLD_CFG0, RTL8367C_ROBURSTNESS_VAR_MASK, rob_var);
+ /* Robustness variable */
if(retVal != RT_ERR_OK)
return retVal;
ret_t retVal;
rtk_uint32 value;
- /* Bourstness variable */
retVal = rtl8367c_getAsicRegBits(RTL8367C_REG_IGMP_MLD_CFG0, RTL8367C_ROBURSTNESS_VAR_MASK, &value);
+ /* Robustness variable */
if(retVal != RT_ERR_OK)
return retVal;
/* Function Name:
* rtl8367c_setAsicIGMPDropLeaveZero
* Description:
- * Set the function of droppping Leave packet with group IP = 0.0.0.0
+ * Set the function of dropping Leave packet with group IP = 0.0.0.0
* Input:
* drop - 1: Drop, 0:Bypass
* Output:
/* Function Name:
* rtl8367c_getAsicIGMPDropLeaveZero
* Description:
- * Get the function of droppping Leave packet with group IP = 0.0.0.0
+ * Get the function of dropping Leave packet with group IP = 0.0.0.0
* Input:
* None
* Output:
/* Function Name:
* rtl8367c_setAsicIGMPBypassStormCTRL
* Description:
- * Set the function of bypass strom control for IGMP/MLD packet
+ * Set the function of bypass storm control for IGMP/MLD packet
* Input:
* bypass - 1: Bypass, 0:not bypass
* Output:
/* Function Name:
* rtl8367c_getAsicIGMPBypassStormCTRL
* Description:
- * Set the function of bypass strom control for IGMP/MLD packet
+ * Set the function of bypass storm control for IGMP/MLD packet
* Input:
* None
* Output:
* Description:
* Get Port Isolation leaky for IGMP/MLD packet
* Input:
- * Noen
+ * None
* Output:
* pLeaky - 1: Leaky, 0:not leaky
* Return:
* Description:
* Get VLAN leaky for IGMP/MLD packet
* Input:
- * Noen
+ * None
* Output:
* pLeaky - 1: Leaky, 0:not leaky
* Return: