Searched refs:dcbx (Results 1 – 13 of 13) sorted by relevance
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| A D | en_dcbnl.c | 89 struct mlx5e_dcbx *dcbx = &priv->dcbx; in mlx5e_dcbnl_switch_to_host_mode() local 390 if (priv->dcbx.manual_buffer) in mlx5e_dcbnl_ieee_setpfc() 411 return priv->dcbx.cap; in mlx5e_dcbnl_getdcbx() 417 struct mlx5e_dcbx *dcbx = &priv->dcbx; in mlx5e_dcbnl_setdcbx() local 442 dcbx->cap = mode; in mlx5e_dcbnl_setdcbx() 493 priv->dcbx.dscp_app_cnt++; in mlx5e_dcbnl_ieee_setapp() 516 if (!priv->dcbx.dscp_app_cnt) in mlx5e_dcbnl_ieee_delapp() 533 priv->dcbx.dscp_app_cnt--; in mlx5e_dcbnl_ieee_delapp() 536 if (!priv->dcbx.dscp_app_cnt) in mlx5e_dcbnl_ieee_delapp() 852 *cap = priv->dcbx.cap | in mlx5e_dcbnl_getcap() [all …]
|
| A D | en.h | 931 struct mlx5e_dcbx dcbx; member
|
| /linux/drivers/net/ethernet/amd/xgbe/ |
| A 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()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| A 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()
|
| /linux/net/dcb/ |
| A D | dcbnl.c | 1036 int dcbx; in dcbnl_ieee_fill() local 1129 dcbx = netdev->dcbnl_ops->getdcbx(netdev); in dcbnl_ieee_fill() 1131 dcbx = -EOPNOTSUPP; in dcbnl_ieee_fill() 1165 if (dcbx >= 0) { in dcbnl_ieee_fill() 1232 int dcbx, i, err = -EMSGSIZE; in dcbnl_cee_fill() local 1304 dcbx = netdev->dcbnl_ops->getdcbx(netdev); in dcbnl_cee_fill() 1306 dcbx = -EOPNOTSUPP; in dcbnl_cee_fill() 1356 if (dcbx >= 0) { in dcbnl_cee_fill() 1872 event.dcbx = dev->dcbnl_ops->getdcbx(dev); in dcb_setapp() 1939 event.dcbx = dev->dcbnl_ops->getdcbx(dev); in dcb_ieee_setapp() [all …]
|
| /linux/include/net/ |
| A D | dcbnl.h | 17 u8 dcbx; member
|
| /linux/drivers/target/iscsi/cxgbit/ |
| 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/ |
| A 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()
|
| /linux/drivers/scsi/qedf/ |
| A D | qedf.h | 316 atomic_t dcbx; member
|
| A D | qedf_main.c | 599 if (atomic_read(&qedf->dcbx) == QEDF_DCBX_DONE || in qedf_link_update() 616 atomic_set(&qedf->dcbx, QEDF_DCBX_PENDING); in qedf_link_update() 645 if (atomic_read(&qedf->dcbx) == QEDF_DCBX_DONE) { in qedf_dcbx_handler() 651 atomic_set(&qedf->dcbx, QEDF_DCBX_DONE); in qedf_dcbx_handler() 4023 atomic_set(&qedf->dcbx, QEDF_DCBX_PENDING); in qedf_recovery_handler()
|
| /linux/drivers/scsi/cxgbi/cxgb4i/ |
| A 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()
|
| /linux/Documentation/networking/device_drivers/ethernet/mellanox/ |
| A D | mlx5.rst | 57 …ps://community.mellanox.com/s/article/howto-auto-config-pfc-and-ets-on-connectx-4-via-lldp-dcbx>`_.
|
| /linux/include/linux/mlx5/ |
| A D | mlx5_ifc.h | 1466 u8 dcbx[0x1]; member
|
Completed in 93 milliseconds