dcbx 262 drivers/net/ethernet/amd/xgbe/xgbe-dcb.c static u8 xgbe_dcb_setdcbx(struct net_device *netdev, u8 dcbx) dcbx 267 drivers/net/ethernet/amd/xgbe/xgbe-dcb.c netif_dbg(pdata, drv, netdev, "DCBX=%#hhx\n", dcbx); dcbx 269 drivers/net/ethernet/amd/xgbe/xgbe-dcb.c if (dcbx & ~support) dcbx 272 drivers/net/ethernet/amd/xgbe/xgbe-dcb.c if ((dcbx & support) != support) dcbx 864 drivers/net/ethernet/mellanox/mlx5/core/en.h struct mlx5e_dcbx dcbx; dcbx 139 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c xoff = (301 + 216 * priv->dcbx.cable_len / 100) * speed / 1000 + 272 * mtu / 100; dcbx 338 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c if (!update_buffer && xoff != priv->dcbx.xoff) { dcbx 344 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c priv->dcbx.xoff = xoff; dcbx 81 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c struct mlx5e_dcbx *dcbx = &priv->dcbx; dcbx 84 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c if (!MLX5_CAP_GEN(priv->mdev, dcbx)) dcbx 87 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c if (dcbx->mode == MLX5E_DCBX_PARAM_VER_OPER_HOST) dcbx 94 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c dcbx->mode = MLX5E_DCBX_PARAM_VER_OPER_HOST; dcbx 144 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c priv->dcbx.tc_tsa[i] = IEEE_8021QAZ_TSA_ETS; dcbx 147 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c priv->dcbx.tc_tsa[i] = IEEE_8021QAZ_TSA_VENDOR; dcbx 149 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c memcpy(ets->tc_tsa, priv->dcbx.tc_tsa, sizeof(ets->tc_tsa)); dcbx 265 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c memcpy(priv->dcbx.tc_tsa, ets->tc_tsa, sizeof(ets->tc_tsa)); dcbx 347 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c pfc->delay = priv->dcbx.cable_len; dcbx 357 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c u32 old_cable_len = priv->dcbx.cable_len; dcbx 375 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c pfc->delay != priv->dcbx.cable_len) { dcbx 376 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c priv->dcbx.cable_len = pfc->delay; dcbx 382 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c if (priv->dcbx.manual_buffer) dcbx 388 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c priv->dcbx.cable_len = old_cable_len; dcbx 403 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c return priv->dcbx.cap; dcbx 409 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c struct mlx5e_dcbx *dcbx = &priv->dcbx; dcbx 414 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c if ((!mode) && MLX5_CAP_GEN(priv->mdev, dcbx)) { dcbx 415 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c if (dcbx->mode == MLX5E_DCBX_PARAM_VER_OPER_AUTO) dcbx 420 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c dcbx->mode = MLX5E_DCBX_PARAM_VER_OPER_AUTO; dcbx 421 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c dcbx->cap &= ~DCB_CAP_DCBX_HOST; dcbx 434 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c dcbx->cap = mode; dcbx 460 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c if (!priv->dcbx.dscp_app_cnt) { dcbx 485 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c priv->dcbx.dscp_app_cnt++; dcbx 508 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c if (!priv->dcbx.dscp_app_cnt) dcbx 525 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c priv->dcbx.dscp_app_cnt--; dcbx 528 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c if (!priv->dcbx.dscp_app_cnt) dcbx 614 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c struct mlx5e_cee_config *cee_cfg = &priv->dcbx.cee_cfg; dcbx 691 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c struct mlx5e_cee_config *cee_cfg = &priv->dcbx.cee_cfg; dcbx 712 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c struct mlx5e_cee_config *cee_cfg = &priv->dcbx.cee_cfg; dcbx 768 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c struct mlx5e_cee_config *cee_cfg = &priv->dcbx.cee_cfg; dcbx 844 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c *cap = priv->dcbx.cap | dcbx 888 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c struct mlx5e_cee_config *cee_cfg = &priv->dcbx.cee_cfg; dcbx 974 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c priv->dcbx.manual_buffer = true; dcbx 1088 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c priv->dcbx.dscp_app_cnt = (action == INIT) ? MLX5E_MAX_DSCP : 0; dcbx 1185 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c struct mlx5e_dcbx *dcbx = &priv->dcbx; dcbx 1192 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c if (MLX5_CAP_GEN(priv->mdev, dcbx)) dcbx 1193 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c mlx5e_dcbnl_query_dcbx_mode(priv, &dcbx->mode); dcbx 1195 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c priv->dcbx.cap = DCB_CAP_DCBX_VER_CEE | dcbx 1197 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c if (priv->dcbx.mode == MLX5E_DCBX_PARAM_VER_OPER_HOST) dcbx 1198 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c priv->dcbx.cap |= DCB_CAP_DCBX_HOST; dcbx 1200 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c priv->dcbx.manual_buffer = false; dcbx 1201 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c priv->dcbx.cable_len = MLX5E_DEFAULT_CABLE_LEN; dcbx 2266 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c if (iscsi_app->dcbx & DCB_CAP_DCBX_VER_IEEE) { dcbx 2272 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c } else if (iscsi_app->dcbx & DCB_CAP_DCBX_VER_CEE) { dcbx 1815 drivers/scsi/fcoe/fcoe.c if (entry->dcbx & DCB_CAP_DCBX_VER_CEE) dcbx 2149 drivers/scsi/fcoe/fcoe.c int dcbx; dcbx 2159 drivers/scsi/fcoe/fcoe.c dcbx = netdev->dcbnl_ops->getdcbx(netdev); dcbx 2161 drivers/scsi/fcoe/fcoe.c if (dcbx & DCB_CAP_DCBX_VER_IEEE) { dcbx 319 drivers/scsi/qedf/qedf.h atomic_t dcbx; dcbx 535 drivers/scsi/qedf/qedf_main.c if (atomic_read(&qedf->dcbx) == QEDF_DCBX_DONE || dcbx 552 drivers/scsi/qedf/qedf_main.c atomic_set(&qedf->dcbx, QEDF_DCBX_PENDING); dcbx 581 drivers/scsi/qedf/qedf_main.c if (atomic_read(&qedf->dcbx) == QEDF_DCBX_DONE) { dcbx 587 drivers/scsi/qedf/qedf_main.c atomic_set(&qedf->dcbx, QEDF_DCBX_DONE); dcbx 591 drivers/target/iscsi/cxgbit/cxgbit_main.c if (iscsi_app->dcbx & DCB_CAP_DCBX_VER_IEEE) { dcbx 598 drivers/target/iscsi/cxgbit/cxgbit_main.c } else if (iscsi_app->dcbx & DCB_CAP_DCBX_VER_CEE) { dcbx 1245 include/linux/mlx5/mlx5_ifc.h u8 dcbx[0x1]; dcbx 17 include/net/dcbnl.h u8 dcbx; dcbx 1036 net/dcb/dcbnl.c int dcbx; dcbx 1129 net/dcb/dcbnl.c dcbx = netdev->dcbnl_ops->getdcbx(netdev); dcbx 1131 net/dcb/dcbnl.c dcbx = -EOPNOTSUPP; dcbx 1165 net/dcb/dcbnl.c if (dcbx >= 0) { dcbx 1166 net/dcb/dcbnl.c err = nla_put_u8(skb, DCB_ATTR_DCBX, dcbx); dcbx 1232 net/dcb/dcbnl.c int dcbx, i, err = -EMSGSIZE; dcbx 1304 net/dcb/dcbnl.c dcbx = netdev->dcbnl_ops->getdcbx(netdev); dcbx 1306 net/dcb/dcbnl.c dcbx = -EOPNOTSUPP; dcbx 1356 net/dcb/dcbnl.c if (dcbx >= 0) { dcbx 1357 net/dcb/dcbnl.c err = nla_put_u8(skb, DCB_ATTR_DCBX, dcbx); dcbx 1858 net/dcb/dcbnl.c event.dcbx = dev->dcbnl_ops->getdcbx(dev); dcbx 1921 net/dcb/dcbnl.c event.dcbx = dev->dcbnl_ops->getdcbx(dev); dcbx 1953 net/dcb/dcbnl.c event.dcbx = dev->dcbnl_ops->getdcbx(dev);