Lines Matching refs:dcbx_enabled
844 if (bp->dcbx_enabled == BNX2X_DCBX_ENABLED_ON_NEG_ON) in bnx2x_dcbx_admin_mib_updated_params()
952 void bnx2x_dcbx_set_state(struct bnx2x *bp, bool dcb_on, u32 dcbx_enabled) in bnx2x_dcbx_set_state() argument
956 bp->dcbx_enabled = dcbx_enabled; in bnx2x_dcbx_set_state()
959 bp->dcbx_enabled = BNX2X_DCBX_ENABLED_INVALID; in bnx2x_dcbx_set_state()
963 dcbx_enabled == BNX2X_DCBX_ENABLED_OFF ? "user-mode" : in bnx2x_dcbx_set_state()
964 dcbx_enabled == BNX2X_DCBX_ENABLED_ON_NEG_OFF ? "on-chip static" : in bnx2x_dcbx_set_state()
965 dcbx_enabled == BNX2X_DCBX_ENABLED_ON_NEG_ON ? in bnx2x_dcbx_set_state()
1031 if (bp->dcbx_enabled <= 0) in bnx2x_dcbx_init()
1954 if (state && ((bp->dcbx_enabled == BNX2X_DCBX_ENABLED_OFF) || in bnx2x_dcbnl_set_state()
1955 (bp->dcbx_enabled == BNX2X_DCBX_ENABLED_INVALID))) { in bnx2x_dcbnl_set_state()
1960 bnx2x_dcbx_set_state(bp, (state ? true : false), bp->dcbx_enabled); in bnx2x_dcbnl_set_state()
2368 if (bp->dcbx_enabled == BNX2X_DCBX_ENABLED_ON_NEG_OFF) in bnx2x_dcbnl_get_dcbx()
2393 bp->dcbx_enabled = BNX2X_DCBX_ENABLED_ON_NEG_OFF; in bnx2x_dcbnl_set_dcbx()
2395 bp->dcbx_enabled = BNX2X_DCBX_ENABLED_ON_NEG_ON; in bnx2x_dcbnl_set_dcbx()