/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_main.c | 70 MLX4_EN_PARM_INT(pfctx, 0, "Priority based Flow Control policy on TX[7:0]." 166 params->prof[i].rx_pause = !(pfcrx || pfctx); in mlx4_en_get_profile() 168 params->prof[i].tx_pause = !(pfcrx || pfctx); in mlx4_en_get_profile() 169 params->prof[i].tx_ppp = pfctx; in mlx4_en_get_profile() 365 if (pfctx > MAX_PFC_TX) { in mlx4_en_verify_params() 366 pr_warn("mlx4_en: WARNING: illegal module parameter pfctx 0x%x - should be in range 0-0x%x, will be changed to default (0)\n", in mlx4_en_verify_params() 367 pfctx, MAX_PFC_TX); in mlx4_en_verify_params() 368 pfctx = 0; in mlx4_en_verify_params()
|
H A D | port.c | 1609 u8 pptx, u8 pfctx, u8 pprx, u8 pfcrx) in mlx4_SET_PORT_general() 1622 context->pptx = (pptx * (!pfctx)) << 7; in mlx4_SET_PORT_general() 1623 context->pfctx = pfctx; in mlx4_SET_PORT_general() 1608 mlx4_SET_PORT_general(struct mlx4_dev *dev, u8 port, int mtu, u8 pptx, u8 pfctx, u8 pprx, u8 pfcrx) mlx4_SET_PORT_general() argument
|
H A D | mlx4.h | 800 u8 pfctx; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_main.c | 70 MLX4_EN_PARM_INT(pfctx, 0, "Priority based Flow Control policy on TX[7:0]." 166 params->prof[i].rx_pause = !(pfcrx || pfctx); in mlx4_en_get_profile() 168 params->prof[i].tx_pause = !(pfcrx || pfctx); in mlx4_en_get_profile() 169 params->prof[i].tx_ppp = pfctx; in mlx4_en_get_profile() 401 if (pfctx > MAX_PFC_TX) { in mlx4_en_verify_params() 402 pr_warn("mlx4_en: WARNING: illegal module parameter pfctx 0x%x - should be in range 0-0x%x, will be changed to default (0)\n", in mlx4_en_verify_params() 403 pfctx, MAX_PFC_TX); in mlx4_en_verify_params() 404 pfctx = 0; in mlx4_en_verify_params()
|
H A D | port.c | 1609 u8 pptx, u8 pfctx, u8 pprx, u8 pfcrx) in mlx4_SET_PORT_general() 1622 context->pptx = (pptx * (!pfctx)) << 7; in mlx4_SET_PORT_general() 1623 context->pfctx = pfctx; in mlx4_SET_PORT_general() 1608 mlx4_SET_PORT_general(struct mlx4_dev *dev, u8 port, int mtu, u8 pptx, u8 pfctx, u8 pprx, u8 pfcrx) mlx4_SET_PORT_general() argument
|
H A D | mlx4.h | 803 u8 pfctx; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | port.c | 563 MLX5_SET(pfcc_reg, in, pfctx, pfc_en_tx); in mlx5_set_port_pfc() 583 *pfc_en_tx = MLX5_GET(pfcc_reg, out, pfctx); in mlx5_query_port_pfc()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | port.c | 590 MLX5_SET(pfcc_reg, in, pfctx, pfc_en_tx); in mlx5_set_port_pfc() 610 *pfc_en_tx = MLX5_GET(pfcc_reg, out, pfctx); in mlx5_query_port_pfc()
|
/kernel/linux/linux-5.10/include/linux/mlx4/ |
H A D | device.h | 1384 u8 pptx, u8 pfctx, u8 pprx, u8 pfcrx);
|
/kernel/linux/linux-6.6/include/linux/mlx4/ |
H A D | device.h | 1403 u8 pptx, u8 pfctx, u8 pprx, u8 pfcrx);
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | reg.h | 4561 * updated based on bit pfctx. 4597 * Note: pfctx and pptx must be mutually exclusive. 4599 MLXSW_ITEM32(reg, pfcc, pfctx, 0x08, 16, 8);
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | reg.h | 5026 * updated based on bit pfctx. 5062 * Note: pfctx and pptx must be mutually exclusive. 5064 MLXSW_ITEM32(reg, pfcc, pfctx, 0x08, 16, 8);
|
/kernel/linux/linux-5.10/include/linux/mlx5/ |
H A D | mlx5_ifc.h | 8986 u8 pfctx[0x8]; member
|
/kernel/linux/linux-6.6/include/linux/mlx5/ |
H A D | mlx5_ifc.h | 9965 u8 pfctx[0x8]; member
|