Searched refs:dcbx_mode (Results 1 – 11 of 11) sorted by relevance
112 return priv->dcbx_mode; in dpaa2_eth_dcbnl_getdcbx()119 return (mode != (priv->dcbx_mode)) ? 1 : 0; in dpaa2_eth_dcbnl_setdcbx()134 *cap = priv->dcbx_mode; in dpaa2_eth_dcbnl_getcap()
610 u8 dcbx_mode; member
4942 priv->dcbx_mode = DCB_CAP_DCBX_HOST | DCB_CAP_DCBX_VER_IEEE; in dpaa2_eth_probe()
783 dcbcfg->dcbx_mode = ICE_DCBX_MODE_CEE; in ice_cee_to_dcb_cfg()891 static int ice_get_ieee_or_cee_dcb_cfg(struct ice_port_info *pi, u8 dcbx_mode) in ice_get_ieee_or_cee_dcb_cfg() argument899 if (dcbx_mode == ICE_DCBX_MODE_IEEE) in ice_get_ieee_or_cee_dcb_cfg()901 else if (dcbx_mode == ICE_DCBX_MODE_CEE) in ice_get_ieee_or_cee_dcb_cfg()947 dcbx_cfg->dcbx_mode = ICE_DCBX_MODE_IEEE; in ice_get_dcb_cfg()966 u8 change_type, dcbx_mode; in ice_get_dcb_cfg_from_mib_change() local974 dcbx_mode = FIELD_GET(ICE_AQ_LLDP_DCBX_M, mib->type); in ice_get_dcb_cfg_from_mib_change()976 switch (dcbx_mode) { in ice_get_dcb_cfg_from_mib_change()978 dcbx_cfg->dcbx_mode = ICE_DCBX_MODE_IEEE; in ice_get_dcb_cfg_from_mib_change()
192 qos_cfg->local_dcbx_cfg.dcbx_mode = ICE_DCBX_MODE_CEE; in ice_dcbnl_setdcbx()194 qos_cfg->local_dcbx_cfg.dcbx_mode = ICE_DCBX_MODE_IEEE; in ice_dcbnl_setdcbx()
721 u8 dcbx_mode; member
96 if (port_info->qos_cfg.local_dcbx_cfg.dcbx_mode & ICE_DCBX_MODE_CEE) in ice_dcb_get_mode()
797 pf->hw.local_dcbx_config.dcbx_mode = I40E_DCBX_MODE_CEE; in i40e_dcbnl_setdcbx()799 pf->hw.local_dcbx_config.dcbx_mode = I40E_DCBX_MODE_IEEE; in i40e_dcbnl_setdcbx()
741 hw->local_dcbx_config.dcbx_mode = I40E_DCBX_MODE_IEEE; in i40e_get_ieee_dcb_config()782 hw->local_dcbx_config.dcbx_mode = I40E_DCBX_MODE_CEE; in i40e_get_dcb_config()793 hw->local_dcbx_config.dcbx_mode = I40E_DCBX_MODE_CEE; in i40e_get_dcb_config()
468 u8 dcbx_mode; member
1068 "port dcbx_mode=%d\n", cfg->dcbx_mode); in i40e_dbg_command_write()