Lines Matching defs:flow
1843 /* ensure the new Rx count fits within the configured Rx flow
3144 struct ethtool_rx_flow_rule *flow;
3147 flow = kzalloc(sizeof(struct ethtool_rx_flow_rule) +
3149 if (!flow)
3153 flow->rule = flow_rule_alloc(1);
3154 if (!flow->rule) {
3155 kfree(flow);
3159 match = (struct ethtool_rx_flow_match *)flow->priv;
3160 flow->rule->match.dissector = &match->dissector;
3161 flow->rule->match.mask = &match->mask;
3162 flow->rule->match.key = &match->key;
3293 ethtool_rx_flow_rule_destroy(flow);
3363 act = &flow->rule->action.entries[0];
3381 return flow;
3385 void ethtool_rx_flow_rule_destroy(struct ethtool_rx_flow_rule *flow)
3387 kfree(flow->rule);
3388 kfree(flow);