Home
last modified time | relevance | path

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

/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.c861 struct ibv_port_attr port_attr; in mlx4_pci_probe() local
933 err = mlx4_glue->query_port(ctx, port, &port_attr); in mlx4_pci_probe()
939 if (port_attr.link_layer != IBV_LINK_LAYER_ETHERNET) { in mlx4_pci_probe()
945 if (port_attr.state != IBV_PORT_ACTIVE) in mlx4_pci_probe()
947 port, mlx4_glue->port_state_str(port_attr.state), in mlx4_pci_probe()
948 port_attr.state); in mlx4_pci_probe()
H A Dmlx4_glue.h45 struct ibv_port_attr *port_attr);
/dpdk/lib/ethdev/
H A Drte_flow_driver.h164 const struct rte_flow_port_attr *port_attr,
H A Drte_flow.c1429 const struct rte_flow_port_attr *port_attr, in rte_flow_configure() argument
1452 if (port_attr == NULL) { in rte_flow_configure()
1461 ret = ops->configure(dev, port_attr, nb_queue, queue_attr, error); in rte_flow_configure()
H A Drte_flow.h5026 const struct rte_flow_port_attr *port_attr,
/dpdk/drivers/net/mlx5/linux/
H A Dmlx5_os.c1024 struct ibv_port_attr port_attr = { .state = IBV_PORT_NOP }; in mlx5_dev_spawn() local
1125 &port_attr); in mlx5_dev_spawn()
1130 if (port_attr.link_layer != IBV_LINK_LAYER_ETHERNET) { in mlx5_dev_spawn()
1146 port_attr.state = (enum ibv_port_state)err; in mlx5_dev_spawn()
1148 if (port_attr.state != IBV_PORT_ACTIVE) in mlx5_dev_spawn()
1150 mlx5_glue->port_state_str(port_attr.state), in mlx5_dev_spawn()
1151 port_attr.state); in mlx5_dev_spawn()
/dpdk/drivers/common/mlx5/linux/
H A Dmlx5_glue.h170 struct ibv_port_attr *port_attr);
H A Dmlx5_glue.c123 struct ibv_port_attr *port_attr) in mlx5_glue_query_port() argument
125 return ibv_query_port(context, port_num, port_attr); in mlx5_glue_query_port()
/dpdk/drivers/net/mlx5/
H A Dmlx5_flow_hw.c2035 const struct rte_flow_port_attr *port_attr, in flow_hw_configure() argument
2056 if (!port_attr || !nb_queue || !queue_attr) { in flow_hw_configure()
H A Dmlx5_flow.h1415 const struct rte_flow_port_attr *port_attr,
H A Dmlx5_flow.c852 const struct rte_flow_port_attr *port_attr,
8307 const struct rte_flow_port_attr *port_attr, in mlx5_flow_port_configure() argument
8320 return fops->configure(dev, port_attr, nb_queue, queue_attr, error); in mlx5_flow_port_configure()
/dpdk/app/test-pmd/
H A Dtestpmd.h916 const struct rte_flow_port_attr *port_attr,
H A Dcmdline_flow.c972 struct rte_flow_port_attr port_attr; member
2651 args.configure.port_attr.nb_counters)),
2659 args.configure.port_attr.nb_aging_objects)),
2667 args.configure.port_attr.nb_meters)),
10428 &in->args.configure.port_attr, in cmd_flow_parsed()
H A Dconfig.c1794 const struct rte_flow_port_attr *port_attr, in port_flow_configure() argument
1813 if (rte_flow_configure(port_id, port_attr, nb_queue, attr_list, &error)) in port_flow_configure()
/dpdk/doc/guides/prog_guide/
H A Drte_flow.rst3634 const struct rte_flow_port_attr *port_attr,