h...@inspur.com;
> yuying...@yxlink.com; fanchengg...@sunyainfo.com;
> davidf...@tencent.com; liuzho...@chinaunicom.cn;
> zhaoyon...@huawei.com; o...@yunify.com; j...@netgate.com;
> hongjun...@intel.com; j.bromh...@titan-ic.com; d...@ntop.org;
> f...@napatech.com; arthur...@lionic.com; Thom
Hi,
> +int
> +rte_regexdev_configure(uint8_t dev_id, const struct rte_regexdev_config
> +*cfg) {
> + struct rte_regexdev *dev;
> + struct rte_regexdev_info dev_info;
> + int ret;
> +
> + RTE_REGEXDEV_VALID_DEV_ID_OR_ERR_RET(dev_id, -EINVAL);
> + if (cfg == NULL)
> +
.com;
> yuying...@yxlink.com; fanchengg...@sunyainfo.com;
> davidf...@tencent.com; liuzho...@chinaunicom.cn;
> zhaoyon...@huawei.com; o...@yunify.com; j...@netgate.com;
> hongjun...@intel.com; j.bromh...@titan-ic.com; d...@ntop.org;
> f...@napatech.com; arthur...@lionic.com; Thom
Hi,
> +int
> +rte_regexdev_is_valid_dev(uint16_t dev_id) {
> + if (dev_id >= RTE_MAX_REGEXDEV_DEVS ||
> + rte_regex_devices[dev_id].state != RTE_REGEXDEV_READY)
> + return 0;
> + return 1;
> +}
When is the state changed to RTE_REGEXDEV_READY?
Should the PMD change it a
4 matches
Mail list logo