| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_dcbnl.c | 104 struct mlx5e_dcbx *dcbx = &priv->dcbx; in mlx5e_dcbnl_switch_to_host_mode() local 107 if (!MLX5_CAP_GEN(priv->mdev, dcbx)) in mlx5e_dcbnl_switch_to_host_mode() 110 if (dcbx->mode == MLX5E_DCBX_PARAM_VER_OPER_HOST) in mlx5e_dcbnl_switch_to_host_mode() 117 dcbx->mode = MLX5E_DCBX_PARAM_VER_OPER_HOST; in mlx5e_dcbnl_switch_to_host_mode() 169 priv->dcbx.tc_tsa[i] = IEEE_8021QAZ_TSA_ETS; in mlx5e_dcbnl_ieee_getets() 172 priv->dcbx.tc_tsa[i] = IEEE_8021QAZ_TSA_VENDOR; in mlx5e_dcbnl_ieee_getets() 174 memcpy(ets->tc_tsa, priv->dcbx.tc_tsa, sizeof(ets->tc_tsa)); in mlx5e_dcbnl_ieee_getets() 290 memcpy(priv->dcbx.tc_tsa, ets->tc_tsa, sizeof(ets->tc_tsa)); in mlx5e_dcbnl_ieee_setets_core() 372 pfc->delay = priv->dcbx.cable_len; in mlx5e_dcbnl_ieee_getpfc() 383 u32 old_cable_len = priv->dcbx.cable_len; in mlx5e_dcbnl_ieee_setpfc() [all …]
|
| H A D | en.h | 950 struct mlx5e_dcbx dcbx; member
|
| /linux/drivers/net/ethernet/amd/xgbe/ |
| H A D | xgbe-dcb.c | 153 static u8 xgbe_dcb_setdcbx(struct net_device *netdev, u8 dcbx) in xgbe_dcb_setdcbx() argument 158 netif_dbg(pdata, drv, netdev, "DCBX=%#hhx\n", dcbx); in xgbe_dcb_setdcbx() 160 if (dcbx & ~support) in xgbe_dcb_setdcbx() 163 if ((dcbx & support) != support) in xgbe_dcb_setdcbx()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| H A D | port_buffer.c | 37 u16 port_buff_cell_sz = priv->dcbx.port_buff_cell_sz; in mlx5e_port_query_buffer() 288 u16 port_buff_cell_sz = priv->dcbx.port_buff_cell_sz; in port_set_buffer() 355 xoff = (301 + 216 * priv->dcbx.cable_len / 100) * speed / 1000 + 272 * mtu / 100; in calculate_xoff() 488 u16 port_buff_cell_sz = priv->dcbx.port_buff_cell_sz; in mlx5e_port_manual_buffer_config() 572 if (!update_buffer && xoff != priv->dcbx.xoff) { in mlx5e_port_manual_buffer_config() 586 priv->dcbx.xoff = xoff; in mlx5e_port_manual_buffer_config()
|
| /linux/net/dcb/ |
| H A D | dcbnl.c | 1143 int dcbx; in dcbnl_ieee_fill() local 1237 dcbx = netdev->dcbnl_ops->getdcbx(netdev); in dcbnl_ieee_fill() 1239 dcbx = -EOPNOTSUPP; in dcbnl_ieee_fill() 1300 if (dcbx >= 0) { in dcbnl_ieee_fill() 1301 err = nla_put_u8(skb, DCB_ATTR_DCBX, dcbx); in dcbnl_ieee_fill() 1367 int dcbx, i, err = -EMSGSIZE; in dcbnl_cee_fill() local 1439 dcbx = netdev->dcbnl_ops->getdcbx(netdev); in dcbnl_cee_fill() 1441 dcbx = -EOPNOTSUPP; in dcbnl_cee_fill() 1491 if (dcbx >= 0) { in dcbnl_cee_fill() 1492 err = nla_put_u8(skb, DCB_ATTR_DCBX, dcbx); in dcbnl_cee_fill() [all …]
|
| /linux/include/net/ |
| H A D | dcbnl.h | 19 u8 dcbx; member
|
| /linux/drivers/target/iscsi/cxgbit/ |
| H A D | cxgbit_main.c | 598 if (iscsi_app->dcbx & DCB_CAP_DCBX_VER_IEEE) { in cxgbit_dcb_workfn() 605 } else if (iscsi_app->dcbx & DCB_CAP_DCBX_VER_CEE) { in cxgbit_dcb_workfn()
|
| /linux/drivers/scsi/fcoe/ |
| H A D | fcoe.c | 1785 if (entry->dcbx & DCB_CAP_DCBX_VER_CEE) in fcoe_dcb_app_notification() 2113 int dcbx; in fcoe_dcb_create() local 2123 dcbx = netdev->dcbnl_ops->getdcbx(netdev); in fcoe_dcb_create() 2125 if (dcbx & DCB_CAP_DCBX_VER_IEEE) { in fcoe_dcb_create()
|
| /linux/drivers/scsi/qedf/ |
| H A D | qedf.h | 325 atomic_t dcbx; member
|
| H A D | qedf_main.c | 607 if (atomic_read(&qedf->dcbx) == QEDF_DCBX_DONE || in qedf_link_update() 624 atomic_set(&qedf->dcbx, QEDF_DCBX_PENDING); in qedf_link_update() 653 if (atomic_read(&qedf->dcbx) == QEDF_DCBX_DONE) { in qedf_dcbx_handler() 659 atomic_set(&qedf->dcbx, QEDF_DCBX_DONE); in qedf_dcbx_handler() 4098 atomic_set(&qedf->dcbx, QEDF_DCBX_PENDING); in qedf_recovery_handler()
|
| /linux/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/ |
| H A D | kconfig.rst | 39 …terprise-support.nvidia.com/s/article/howto-auto-config-pfc-and-ets-on-connectx-4-via-lldp-dcbx>`_.
|
| /linux/drivers/scsi/cxgbi/cxgb4i/ |
| H A D | cxgb4i.c | 2391 if (iscsi_app->dcbx & DCB_CAP_DCBX_VER_IEEE) { in cxgb4_dcb_change_notify() 2397 } else if (iscsi_app->dcbx & DCB_CAP_DCBX_VER_CEE) { in cxgb4_dcb_change_notify()
|
| /linux/Documentation/networking/device_drivers/ethernet/intel/ |
| H A D | ice.rst | 997 * dcbx
|
| /linux/include/linux/mlx5/ |
| H A D | mlx5_ifc.h | 1782 u8 dcbx[0x1]; member
|