Home
last modified time | relevance | path

Searched refs:port_attr (Results 1 – 6 of 6) sorted by relevance

/f-stack/dpdk/drivers/net/mlx4/
H A Dmlx4_glue.c99 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 Dmlx4.c857 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 Dmlx4_glue.h45 struct ibv_port_attr *port_attr);
/f-stack/dpdk/drivers/net/mlx5/linux/
H A Dmlx5_os.c677 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 Dmlx5_glue.h151 struct ibv_port_attr *port_attr);
H A Dmlx5_glue.c85 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()