Searched refs:link_speed_max (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
D | qos.c | 739 static int mlx5_esw_qos_max_link_speed_get(struct mlx5_core_dev *mdev, u32 *link_speed_max, in mlx5_esw_qos_max_link_speed_get() argument 750 *link_speed_max = mlx5_esw_qos_lag_link_speed_get_locked(mdev); in mlx5_esw_qos_max_link_speed_get() 755 if (*link_speed_max != (u32)SPEED_UNKNOWN) in mlx5_esw_qos_max_link_speed_get() 759 err = mlx5_port_max_linkspeed(mdev, link_speed_max); in mlx5_esw_qos_max_link_speed_get() 767 const char *name, u32 link_speed_max, in mlx5_esw_qos_link_speed_verify() argument 770 if (value > link_speed_max) { in mlx5_esw_qos_link_speed_verify() 772 name, value, link_speed_max); in mlx5_esw_qos_link_speed_verify() 784 u32 link_speed_max; in mlx5_esw_qos_modify_vport_rate() local 793 err = mlx5_esw_qos_max_link_speed_get(esw->dev, &link_speed_max, false, NULL); in mlx5_esw_qos_modify_vport_rate() 798 link_speed_max, rate_mbps, NULL); in mlx5_esw_qos_modify_vport_rate() [all …]
|
/linux-6.12.1/drivers/scsi/esas2r/ |
D | atioctl.h | 694 u8 link_speed_max; member
|
D | esas2r_ioctl.c | 798 gai->pci.link_speed_max = FIELD_GET(PCI_EXP_LNKCAP_SLS, caps); in hba_ioctl_callback()
|