Searched refs:dcbx (Results 1 – 9 of 9) sorted by relevance
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_dcbnl.c | 89 struct mlx5e_dcbx *dcbx = &priv->dcbx; in mlx5e_dcbnl_switch_to_host_mode() local 92 if (!MLX5_CAP_GEN(priv->mdev, dcbx)) in mlx5e_dcbnl_switch_to_host_mode() 95 if (dcbx->mode == MLX5E_DCBX_PARAM_VER_OPER_HOST) in mlx5e_dcbnl_switch_to_host_mode() 102 dcbx->mode = MLX5E_DCBX_PARAM_VER_OPER_HOST; in mlx5e_dcbnl_switch_to_host_mode() 154 priv->dcbx.tc_tsa[i] = IEEE_8021QAZ_TSA_ETS; in mlx5e_dcbnl_ieee_getets() 157 priv->dcbx.tc_tsa[i] = IEEE_8021QAZ_TSA_VENDOR; in mlx5e_dcbnl_ieee_getets() 159 memcpy(ets->tc_tsa, priv->dcbx.tc_tsa, sizeof(ets->tc_tsa)); in mlx5e_dcbnl_ieee_getets() 275 memcpy(priv->dcbx.tc_tsa, ets->tc_tsa, sizeof(ets->tc_tsa)); in mlx5e_dcbnl_ieee_setets_core() 357 pfc->delay = priv->dcbx.cable_len; in mlx5e_dcbnl_ieee_getpfc() 367 u32 old_cable_len = priv->dcbx.cable_len; in mlx5e_dcbnl_ieee_setpfc() [all …]
|
D | en.h | 875 struct mlx5e_dcbx dcbx; member
|
/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-dcb.c | 262 static u8 xgbe_dcb_setdcbx(struct net_device *netdev, u8 dcbx) in xgbe_dcb_setdcbx() argument 267 netif_dbg(pdata, drv, netdev, "DCBX=%#hhx\n", dcbx); in xgbe_dcb_setdcbx() 269 if (dcbx & ~support) in xgbe_dcb_setdcbx() 272 if ((dcbx & support) != support) in xgbe_dcb_setdcbx()
|
/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | port_buffer.c | 37 u16 port_buff_cell_sz = priv->dcbx.port_buff_cell_sz; in mlx5e_port_query_buffer() 92 u16 port_buff_cell_sz = priv->dcbx.port_buff_cell_sz; in port_set_buffer() 142 xoff = (301 + 216 * priv->dcbx.cable_len / 100) * speed / 1000 + 272 * mtu / 100; in calculate_xoff() 269 u16 port_buff_cell_sz = priv->dcbx.port_buff_cell_sz; in mlx5e_port_manual_buffer_config() 343 if (!update_buffer && xoff != priv->dcbx.xoff) { in mlx5e_port_manual_buffer_config() 349 priv->dcbx.xoff = xoff; in mlx5e_port_manual_buffer_config()
|
/drivers/target/iscsi/cxgbit/ |
D | cxgbit_main.c | 591 if (iscsi_app->dcbx & DCB_CAP_DCBX_VER_IEEE) { in cxgbit_dcb_workfn() 598 } else if (iscsi_app->dcbx & DCB_CAP_DCBX_VER_CEE) { in cxgbit_dcb_workfn()
|
/drivers/scsi/fcoe/ |
D | fcoe.c | 1813 if (entry->dcbx & DCB_CAP_DCBX_VER_CEE) in fcoe_dcb_app_notification() 2144 int dcbx; in fcoe_dcb_create() local 2154 dcbx = netdev->dcbnl_ops->getdcbx(netdev); in fcoe_dcb_create() 2156 if (dcbx & DCB_CAP_DCBX_VER_IEEE) { in fcoe_dcb_create()
|
/drivers/scsi/qedf/ |
D | qedf.h | 316 atomic_t dcbx; member
|
D | qedf_main.c | 600 if (atomic_read(&qedf->dcbx) == QEDF_DCBX_DONE || in qedf_link_update() 617 atomic_set(&qedf->dcbx, QEDF_DCBX_PENDING); in qedf_link_update() 646 if (atomic_read(&qedf->dcbx) == QEDF_DCBX_DONE) { in qedf_dcbx_handler() 652 atomic_set(&qedf->dcbx, QEDF_DCBX_DONE); in qedf_dcbx_handler() 4064 atomic_set(&qedf->dcbx, QEDF_DCBX_PENDING); in qedf_recovery_handler()
|
/drivers/scsi/cxgbi/cxgb4i/ |
D | cxgb4i.c | 2390 if (iscsi_app->dcbx & DCB_CAP_DCBX_VER_IEEE) { in cxgb4_dcb_change_notify() 2396 } else if (iscsi_app->dcbx & DCB_CAP_DCBX_VER_CEE) { in cxgb4_dcb_change_notify()
|