MCPcopy Create free account
hub / github.com/F-Stack/f-stack / rte_rawdev_queue_count

Function rte_rawdev_queue_count

dpdk/lib/rawdev/rte_rawdev.c:174–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172}
173
174uint16_t
175rte_rawdev_queue_count(uint16_t dev_id)
176{
177 struct rte_rawdev *dev;
178
179 RTE_RAWDEV_VALID_DEVID_OR_ERR_RET(dev_id, -EINVAL);
180 dev = &rte_rawdevs[dev_id];
181
182 if (*dev->dev_ops->queue_count == NULL)
183 return -ENOTSUP;
184 return (*dev->dev_ops->queue_count)(dev);
185}
186
187int
188rte_rawdev_get_attr(uint16_t dev_id,

Callers 4

cnxk_gpio_selftestFunction · 0.85
bphy_rawdev_selftestFunction · 0.85
test_rawdev_queue_countFunction · 0.85

Calls

no outgoing calls

Tested by 3

cnxk_gpio_selftestFunction · 0.68
test_rawdev_queue_countFunction · 0.68