Home
last modified time | relevance | path

Searched refs:dcbx (Results 1 - 24 of 24) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_dcbnl.c67 /* If dcbx mode is non-host set the dcbx mode to host.
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 in mlx5e_dcbnl_ieee_getets()
419 struct mlx5e_dcbx *dcbx = &priv->dcbx; mlx5e_dcbnl_setdcbx() local
1255 struct mlx5e_dcbx *dcbx = &priv->dcbx; mlx5e_dcbnl_initialize() local
[all...]
H A Den.h815 struct mlx5e_dcbx dcbx; member
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_dcbnl.c67 /* If dcbx mode is non-host set the dcbx mode to host.
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 in mlx5e_dcbnl_ieee_getets()
419 struct mlx5e_dcbx *dcbx = &priv->dcbx; mlx5e_dcbnl_setdcbx() local
1237 struct mlx5e_dcbx *dcbx = &priv->dcbx; mlx5e_dcbnl_initialize() local
[all...]
H A Den.h916 struct mlx5e_dcbx dcbx; member
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-dcb.c262 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-dcb.c262 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dport_buffer.c37 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dport_buffer.c37 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()
354 xoff = (301 + 216 * priv->dcbx.cable_len / 100) * speed / 1000 + 272 * mtu / 100; in calculate_xoff()
487 u16 port_buff_cell_sz = priv->dcbx.port_buff_cell_sz; in mlx5e_port_manual_buffer_config()
571 if (!update_buffer && xoff != priv->dcbx.xoff) { in mlx5e_port_manual_buffer_config()
577 priv->dcbx.xoff = xoff; in mlx5e_port_manual_buffer_config()
/kernel/linux/linux-5.10/net/dcb/
H A Ddcbnl.c1036 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()
1166 err = nla_put_u8(skb, DCB_ATTR_DCBX, dcbx); 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()
1357 err = nla_put_u8(skb, DCB_ATTR_DCBX, dcbx); in dcbnl_cee_fill()
[all...]
/kernel/linux/linux-6.6/net/dcb/
H A Ddcbnl.c1144 int dcbx; in dcbnl_ieee_fill() local
1238 dcbx = netdev->dcbnl_ops->getdcbx(netdev); in dcbnl_ieee_fill()
1240 dcbx = -EOPNOTSUPP; in dcbnl_ieee_fill()
1301 if (dcbx >= 0) { in dcbnl_ieee_fill()
1302 err = nla_put_u8(skb, DCB_ATTR_DCBX, dcbx); in dcbnl_ieee_fill()
1368 int dcbx, i, err = -EMSGSIZE; in dcbnl_cee_fill() local
1440 dcbx = netdev->dcbnl_ops->getdcbx(netdev); in dcbnl_cee_fill()
1442 dcbx = -EOPNOTSUPP; in dcbnl_cee_fill()
1492 if (dcbx >= 0) { in dcbnl_cee_fill()
1493 err = nla_put_u8(skb, DCB_ATTR_DCBX, dcbx); in dcbnl_cee_fill()
[all...]
/kernel/linux/linux-5.10/include/net/
H A Ddcbnl.h17 u8 dcbx; member
/kernel/linux/linux-6.6/include/net/
H A Ddcbnl.h19 u8 dcbx; member
/kernel/linux/linux-5.10/drivers/target/iscsi/cxgbit/
H A Dcxgbit_main.c591 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()
/kernel/linux/linux-6.6/drivers/target/iscsi/cxgbit/
H A Dcxgbit_main.c598 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()
/kernel/linux/linux-5.10/drivers/scsi/fcoe/
H A Dfcoe.c1815 if (entry->dcbx & DCB_CAP_DCBX_VER_CEE) in fcoe_dcb_app_notification()
2147 int dcbx; in fcoe_dcb_create() local
2157 dcbx = netdev->dcbnl_ops->getdcbx(netdev); in fcoe_dcb_create()
2159 if (dcbx & DCB_CAP_DCBX_VER_IEEE) { in fcoe_dcb_create()
/kernel/linux/linux-6.6/drivers/scsi/fcoe/
H A Dfcoe.c1805 if (entry->dcbx & DCB_CAP_DCBX_VER_CEE) in fcoe_dcb_app_notification()
2133 int dcbx; in fcoe_dcb_create() local
2143 dcbx = netdev->dcbnl_ops->getdcbx(netdev); in fcoe_dcb_create()
2145 if (dcbx & DCB_CAP_DCBX_VER_IEEE) { in fcoe_dcb_create()
/kernel/linux/linux-5.10/drivers/scsi/qedf/
H A Dqedf.h319 atomic_t dcbx; member
H A Dqedf_main.c600 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()
3377 * honor it even if dcbx doesn't converge. in __qedf_probe()
4040 * Reset link and dcbx to down state since we will not get a link down in qedf_recovery_handler()
4045 atomic_set(&qedf->dcbx, QEDF_DCBX_PENDING); in qedf_recovery_handler()
/kernel/linux/linux-6.6/drivers/scsi/qedf/
H A Dqedf.h324 atomic_t dcbx; member
H A Dqedf_main.c600 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()
3376 * honor it even if dcbx doesn't converge. in __qedf_probe()
4054 * Reset link and dcbx to down state since we will not get a link down in qedf_recovery_handler()
4059 atomic_set(&qedf->dcbx, QEDF_DCBX_PENDING); in qedf_recovery_handler()
/kernel/linux/linux-5.10/drivers/scsi/cxgbi/cxgb4i/
H A Dcxgb4i.c2390 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()
/kernel/linux/linux-6.6/drivers/scsi/cxgbi/cxgb4i/
H A Dcxgb4i.c2391 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()
/kernel/linux/linux-5.10/include/linux/mlx5/
H A Dmlx5_ifc.h1347 u8 dcbx[0x1]; member
/kernel/linux/linux-6.6/include/linux/mlx5/
H A Dmlx5_ifc.h1602 u8 dcbx[0x1]; member

Completed in 103 milliseconds