Lines Matching defs:ops

346 	const struct rte_flow_ops *ops;
355 code = dev->dev_ops->flow_ops_get(dev, &ops);
356 if (code == 0 && ops == NULL)
365 return ops;
376 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error);
387 if (unlikely(!ops))
389 if (likely(!!ops->validate)) {
391 ret = ops->validate(dev, attr, pattern, actions, error);
414 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error);
416 if (unlikely(!ops))
418 if (likely(!!ops->create)) {
420 flow = ops->create(dev, attr, pattern, actions, error);
441 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error);
444 if (unlikely(!ops))
446 if (likely(!!ops->destroy)) {
448 ret = ops->destroy(dev, flow, error);
468 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error);
471 if (unlikely(!ops))
473 if (likely(!!ops->actions_update)) {
475 ret = ops->actions_update(dev, flow, actions, error);
493 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error);
496 if (unlikely(!ops))
498 if (likely(!!ops->flush)) {
500 ret = ops->flush(dev, error);
522 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error);
525 if (!ops)
527 if (likely(!!ops->query)) {
529 ret = ops->query(dev, flow, action, data, error);
549 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error);
552 if (!ops)
554 if (likely(!!ops->isolate)) {
556 ret = ops->isolate(dev, set, error);
1235 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error);
1238 if (unlikely(!ops))
1240 if (likely(!!ops->dev_dump)) {
1242 ret = ops->dev_dump(dev, flow, file, error);
1256 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error);
1259 if (unlikely(!ops))
1261 if (likely(!!ops->get_aged_flows)) {
1263 ret = ops->get_aged_flows(dev, contexts, nb_contexts, error);
1281 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error);
1284 if (unlikely(!ops))
1286 if (likely(!!ops->get_q_aged_flows)) {
1288 ret = ops->get_q_aged_flows(dev, queue_id, contexts,
1310 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error);
1312 if (unlikely(!ops))
1314 if (unlikely(!ops->action_handle_create)) {
1320 handle = ops->action_handle_create(&rte_eth_devices[port_id],
1336 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error);
1338 if (unlikely(!ops))
1340 if (unlikely(!ops->action_handle_destroy))
1344 ret = ops->action_handle_destroy(&rte_eth_devices[port_id],
1360 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error);
1362 if (unlikely(!ops))
1364 if (unlikely(!ops->action_handle_update))
1368 ret = ops->action_handle_update(&rte_eth_devices[port_id], handle,
1384 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error);
1386 if (unlikely(!ops))
1388 if (unlikely(!ops->action_handle_query))
1392 ret = ops->action_handle_query(&rte_eth_devices[port_id], handle,
1409 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error);
1412 if (unlikely(!ops))
1414 if (likely(!!ops->tunnel_decap_set)) {
1416 ops->tunnel_decap_set(dev, tunnel, actions,
1438 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error);
1441 if (unlikely(!ops))
1443 if (likely(!!ops->tunnel_match)) {
1445 ops->tunnel_match(dev, tunnel, items,
1466 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error);
1469 if (unlikely(!ops))
1471 if (likely(!!ops->get_restore_info)) {
1473 ops->get_restore_info(dev, m, restore_info,
1520 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error);
1523 if (unlikely(!ops))
1525 if (likely(!!ops->tunnel_action_decap_release)) {
1527 ops->tunnel_action_decap_release(dev, actions,
1549 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error);
1552 if (unlikely(!ops))
1554 if (likely(!!ops->tunnel_item_release)) {
1556 ops->tunnel_item_release(dev, items,
1573 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error);
1577 if (unlikely(ops == NULL))
1580 if (ops->pick_transfer_proxy == NULL) {
1588 ops->pick_transfer_proxy(dev, proxy_port_id, error),
1602 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error);
1605 if (unlikely(!ops))
1607 if (unlikely(!ops->flex_item_create)) {
1613 handle = ops->flex_item_create(dev, conf, error);
1629 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error);
1631 if (unlikely(!ops || !ops->flex_item_release))
1635 ret = ops->flex_item_release(dev, handle, error);
1650 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error);
1653 if (unlikely(!ops))
1665 if (likely(!!ops->info_get)) {
1667 ops->info_get(dev, port_info, queue_info, error),
1687 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error);
1690 if (unlikely(!ops))
1718 if (likely(!!ops->configure)) {
1719 ret = ops->configure(dev, port_attr, nb_queue, queue_attr, error);
1740 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error);
1743 if (unlikely(!ops))
1772 if (likely(!!ops->pattern_template_create)) {
1773 template = ops->pattern_template_create(dev, template_attr,
1795 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error);
1798 if (unlikely(!ops))
1802 if (likely(!!ops->pattern_template_destroy)) {
1804 ops->pattern_template_destroy(dev,
1827 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error);
1830 if (unlikely(!ops))
1868 if (likely(!!ops->actions_template_create)) {
1869 template = ops->actions_template_create(dev, template_attr,
1891 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error);
1894 if (unlikely(!ops))
1898 if (likely(!!ops->actions_template_destroy)) {
1900 ops->actions_template_destroy(dev,
1925 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error);
1928 if (unlikely(!ops))
1966 if (likely(!!ops->template_table_create)) {
1967 table = ops->template_table_create(dev, table_attr,
1994 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error);
1997 if (unlikely(!ops))
2001 if (likely(!!ops->template_table_destroy)) {
2003 ops->template_table_destroy(dev,
2026 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error);
2028 if (unlikely(!ops))
2030 if (likely(!!ops->group_set_miss_actions)) {
2032 ops->group_set_miss_actions(dev, group_id, attr, actions, error),
2413 const struct rte_flow_ops *ops;
2421 ops = rte_flow_ops_get(port_id, error);
2422 if (!ops || !ops->action_handle_query_update)
2424 ret = ops->action_handle_query_update(dev, handle, update,
2464 const struct rte_flow_ops *ops;
2468 ops = rte_flow_ops_get(port_id, error);
2469 if (!ops || !ops->action_list_handle_create) {
2476 handle = ops->action_list_handle_create(dev, conf, actions, error);
2489 const struct rte_flow_ops *ops;
2492 ops = rte_flow_ops_get(port_id, error);
2493 if (!ops || !ops->action_list_handle_destroy)
2498 ret = ops->action_list_handle_destroy(dev, handle, error);
2576 const struct rte_flow_ops *ops;
2579 ops = rte_flow_ops_get(port_id, error);
2580 if (!ops || !ops->action_list_handle_query_update)
2585 ret = ops->action_list_handle_query_update(dev, handle, update, query,
2634 const struct rte_flow_ops *ops;
2637 ops = rte_flow_ops_get(port_id, error);
2638 if (!ops || !ops->flow_calc_table_hash)
2643 ret = ops->flow_calc_table_hash(dev, table, pattern, pattern_template_index,
2655 const struct rte_flow_ops *ops;
2658 ops = rte_flow_ops_get(port_id, error);
2659 if (!ops || !ops->flow_calc_encap_hash)
2673 ret = ops->flow_calc_encap_hash(dev, pattern, dest_field, hash, error);
2693 const struct rte_flow_ops *ops;
2696 ops = rte_flow_ops_get(port_id, error);
2697 if (!ops || !ops->flow_template_table_resize)
2702 ret = ops->flow_template_table_resize(dev, table, nb_rules, error);
2716 const struct rte_flow_ops *ops;
2719 ops = rte_flow_ops_get(port_id, error);
2720 if (!ops || !ops->flow_update_resized)
2725 ret = ops->flow_update_resized(dev, queue, attr, rule, user_data, error);
2739 const struct rte_flow_ops *ops;
2742 ops = rte_flow_ops_get(port_id, error);
2743 if (!ops || !ops->flow_template_table_resize_complete)
2748 ret = ops->flow_template_table_resize_complete(dev, table, error);