Searched refs:port_attr (Results 1 – 6 of 6) sorted by relevance
| /f-stack/dpdk/drivers/net/mlx4/ |
| H A D | mlx4_glue.c | 99 struct ibv_port_attr *port_attr) in mlx4_glue_query_port() argument 101 return ibv_query_port(context, port_num, port_attr); in mlx4_glue_query_port()
|
| H A D | mlx4.c | 857 struct ibv_port_attr port_attr; in mlx4_pci_probe() local 922 err = mlx4_glue->query_port(ctx, port, &port_attr); in mlx4_pci_probe() 928 if (port_attr.link_layer != IBV_LINK_LAYER_ETHERNET) { in mlx4_pci_probe() 934 if (port_attr.state != IBV_PORT_ACTIVE) in mlx4_pci_probe() 936 port, mlx4_glue->port_state_str(port_attr.state), in mlx4_pci_probe() 937 port_attr.state); in mlx4_pci_probe()
|
| H A D | mlx4_glue.h | 45 struct ibv_port_attr *port_attr);
|
| /f-stack/dpdk/drivers/net/mlx5/linux/ |
| H A D | mlx5_os.c | 677 struct ibv_port_attr port_attr; in mlx5_dev_spawn() local 917 err = mlx5_glue->query_port(sh->ctx, spawn->phys_port, &port_attr); in mlx5_dev_spawn() 922 if (port_attr.link_layer != IBV_LINK_LAYER_ETHERNET) { in mlx5_dev_spawn() 927 if (port_attr.state != IBV_PORT_ACTIVE) in mlx5_dev_spawn() 929 mlx5_glue->port_state_str(port_attr.state), in mlx5_dev_spawn() 930 port_attr.state); in mlx5_dev_spawn()
|
| /f-stack/dpdk/drivers/common/mlx5/linux/ |
| H A D | mlx5_glue.h | 151 struct ibv_port_attr *port_attr);
|
| H A D | mlx5_glue.c | 85 struct ibv_port_attr *port_attr) in mlx5_glue_query_port() argument 87 return ibv_query_port(context, port_num, port_attr); in mlx5_glue_query_port()
|