Lines Matching refs:ops
163 const struct tc_ops *ops;
341 tc_init(struct tc *tc, const struct tc_ops *ops)
343 tc->ops = ops;
368 const struct tc_ops *ops = *opsp;
369 if (strcmp(name, ops->ovs_name) == 0) {
370 return (ops);
412 if (netdev->tc->ops->tc_destroy) {
413 netdev->tc->ops->tc_destroy(netdev->tc);
429 const struct tc_ops *ops;
442 ops = &tc_ops_default;
446 load_error = ops->tc_load(CONST_CAST(struct netdev *, netdev_), NULL);
1632 const struct tc_ops *ops = *opsp;
1634 if (ops->tc_install && ops->ovs_name[0] != '\0')
1635 sset_add(types, ops->ovs_name);
1646 const struct tc_ops *ops = tc_lookup_ovs_name(type);
1651 if (!ops)
1658 caps->n_queues = ops->n_queues;
1676 *typep = netdev->tc->ops->ovs_name;
1677 error = (netdev->tc->ops->qdisc_get ?
1678 netdev->tc->ops->qdisc_get(netdev_, details) : 0);
1706 if (new_ops == netdev->tc->ops) {
1744 netdev->tc->ops->class_get(netdev_, queue, details) :
1766 error = (queue_id < netdev->tc->ops->n_queues &&
1767 netdev->tc->ops->class_set ?
1768 netdev->tc->ops->class_set(netdev_, queue_id, details) :
1790 if (netdev->tc->ops->class_delete) {
1795 ? netdev->tc->ops->class_delete(netdev_, queue)
1837 if (netdev->tc->ops->class_get) {
1887 if (!netdev->tc || !netdev->tc->ops ||
1888 !netdev->tc->ops->class_get) {
1891 error = netdev->tc->ops->class_get(netdev_, queue,