Home
last modified time | relevance | path

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

/dpdk/drivers/net/enic/
H A Denic_vf_representor.c295 adjust_flow_attr(const struct rte_flow_attr *attrs, in adjust_flow_attr() argument
299 if (!attrs) { in adjust_flow_attr()
308 *vf_attrs = *attrs; in adjust_flow_attr()
309 if (attrs->ingress && !attrs->egress) { in adjust_flow_attr()
321 const struct rte_flow_attr *attrs, in enic_vf_flow_validate() argument
329 ret = adjust_flow_attr(attrs, &vf_attrs, error); in enic_vf_flow_validate()
332 attrs = &vf_attrs; in enic_vf_flow_validate()
338 const struct rte_flow_attr *attrs, in enic_vf_flow_create() argument
345 if (adjust_flow_attr(attrs, &vf_attrs, error)) in enic_vf_flow_create()
347 attrs = &vf_attrs; in enic_vf_flow_create()
[all …]
H A Denic_fm_flow.c2221 if (attrs) { in enic_fm_flow_parse()
2222 if (attrs->group != FM_TCAM_RTE_GROUP && attrs->priority) { in enic_fm_flow_parse()
2234 } else if (attrs->ingress && attrs->egress) { in enic_fm_flow_parse()
2734 attrs->group, attrs->ingress, error)) { in enic_fm_flow_add_entry()
3443 attrs.group = 0; in enic_fm_add_rep2vf_flow()
3445 attrs.egress = 1; in enic_fm_add_rep2vf_flow()
3475 attrs.group = 0; in enic_fm_add_rep2vf_flow()
3477 attrs.egress = 0; in enic_fm_add_rep2vf_flow()
3536 attrs.group = 0; in enic_fm_add_vf2rep_flow()
3538 attrs.egress = 1; in enic_fm_add_vf2rep_flow()
[all …]
H A Denic_flow.c1499 const struct rte_flow_attr *attrs, in enic_flow_parse() argument
1530 if (attrs) { in enic_flow_parse()
1531 if (attrs->group) { in enic_flow_parse()
1537 } else if (attrs->priority) { in enic_flow_parse()
1543 } else if (attrs->egress) { in enic_flow_parse()
1549 } else if (attrs->transfer) { in enic_flow_parse()
1555 } else if (!attrs->ingress) { in enic_flow_parse()
1694 enic_flow_validate(struct rte_eth_dev *dev, const struct rte_flow_attr *attrs, in enic_flow_validate() argument
1705 ret = enic_flow_parse(dev, attrs, pattern, actions, error, in enic_flow_validate()
1720 const struct rte_flow_attr *attrs, in enic_flow_create() argument
[all …]