Home
last modified time | relevance | path

Searched refs:ibv (Results 1 – 3 of 3) sorted by relevance

/f-stack/dpdk/drivers/net/mlx5/linux/
H A Dmlx5_verbs.c201 struct ibv_cq_init_attr_ex ibv; in mlx5_rxq_ibv_cq_create() member
205 cq_attr.ibv = (struct ibv_cq_init_attr_ex){ in mlx5_rxq_ibv_cq_create()
229 cq_attr.ibv.cqe *= 2; in mlx5_rxq_ibv_cq_create()
243 &cq_attr.ibv, in mlx5_rxq_ibv_cq_create()
268 struct ibv_wq_init_attr ibv; in mlx5_rxq_ibv_wq_create() member
274 wq_attr.ibv = (struct ibv_wq_init_attr){ in mlx5_rxq_ibv_wq_create()
289 wq_attr.ibv.create_flags |= IBV_WQ_FLAGS_SCATTER_FCS; in mlx5_rxq_ibv_wq_create()
290 wq_attr.ibv.comp_mask |= IBV_WQ_INIT_ATTR_FLAGS; in mlx5_rxq_ibv_wq_create()
295 wq_attr.ibv.comp_mask |= IBV_WQ_INIT_ATTR_FLAGS; in mlx5_rxq_ibv_wq_create()
298 wq_attr.ibv.comp_mask |= IBV_WQ_INIT_ATTR_FLAGS; in mlx5_rxq_ibv_wq_create()
[all …]
/f-stack/dpdk/drivers/regex/mlx5/
H A Dmlx5_regex.c116 struct ibv_device *ibv; in mlx5_regex_pci_probe() local
123 ibv = mlx5_regex_get_ib_device_match(&pci_dev->addr); in mlx5_regex_pci_probe()
124 if (!ibv) { in mlx5_regex_pci_probe()
132 ibv->name); in mlx5_regex_pci_probe()
133 ctx = mlx5_glue->dv_open_device(ibv); in mlx5_regex_pci_probe()
135 DRV_LOG(ERR, "Failed to open IB device \"%s\".", ibv->name); in mlx5_regex_pci_probe()
/f-stack/dpdk/drivers/vdpa/mlx5/
H A Dmlx5_vdpa.c580 mlx5_vdpa_roce_disable(struct rte_pci_addr *addr, struct ibv_device **ibv) in mlx5_vdpa_roce_disable() argument
598 *ibv = ibv_new; in mlx5_vdpa_roce_disable()
683 struct ibv_device *ibv; in mlx5_vdpa_pci_probe() local
689 ibv = mlx5_vdpa_get_ib_device_match(&pci_dev->addr); in mlx5_vdpa_pci_probe()
690 if (!ibv) { in mlx5_vdpa_pci_probe()
698 ibv->name); in mlx5_vdpa_pci_probe()
700 if (mlx5_vdpa_roce_disable(&pci_dev->addr, &ibv) != 0) { in mlx5_vdpa_pci_probe()
702 ibv->name); in mlx5_vdpa_pci_probe()
705 ctx = mlx5_glue->dv_open_device(ibv); in mlx5_vdpa_pci_probe()
707 DRV_LOG(ERR, "Failed to open IB device \"%s\".", ibv->name); in mlx5_vdpa_pci_probe()