Home
last modified time | relevance | path

Searched refs:dcbx_mode (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-eth-dcb.c112 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()
H A Ddpaa2-eth.h610 u8 dcbx_mode; member
H A Ddpaa2-eth.c4942 priv->dcbx_mode = DCB_CAP_DCBX_HOST | DCB_CAP_DCBX_VER_IEEE; in dpaa2_eth_probe()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_dcb.c783 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() argument
899 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() local
974 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()
H A Dice_dcb_nl.c192 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()
H A Dice_type.h721 u8 dcbx_mode; member
H A Dice_dcb_lib.c96 if (port_info->qos_cfg.local_dcbx_cfg.dcbx_mode & ICE_DCBX_MODE_CEE) in ice_dcb_get_mode()
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_dcb_nl.c797 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()
H A Di40e_dcb.c741 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()
H A Di40e_type.h468 u8 dcbx_mode; member
H A Di40e_debugfs.c1068 "port dcbx_mode=%d\n", cfg->dcbx_mode); in i40e_dbg_command_write()