Lines Matching defs:flow

5540 			"Unsupported flow director mode %u\n",
6139 "unsupported flow type for user-def bytes, ret = %d\n",
6213 "failed to check flow union tuple, ret = %d\n",
6525 "flow table director is not supported\n");
6531 "please enable flow director first\n");
6934 /* The flow type of fd rule has been checked before adding in to rule
6935 * list. As other flow types have been handled, it must be ETHER_FLOW
7077 /* check is there flow director filter existed for this flow,
7172 static void hclge_get_cls_key_basic(const struct flow_rule *flow,
7175 if (flow_rule_match_key(flow, FLOW_DISSECTOR_KEY_BASIC)) {
7179 flow_rule_match_basic(flow, &match);
7197 static void hclge_get_cls_key_mac(const struct flow_rule *flow,
7200 if (flow_rule_match_key(flow, FLOW_DISSECTOR_KEY_ETH_ADDRS)) {
7203 flow_rule_match_eth_addrs(flow, &match);
7214 static void hclge_get_cls_key_vlan(const struct flow_rule *flow,
7217 if (flow_rule_match_key(flow, FLOW_DISSECTOR_KEY_VLAN)) {
7220 flow_rule_match_vlan(flow, &match);
7230 static int hclge_get_cls_key_ip(const struct flow_rule *flow,
7236 if (flow_rule_match_key(flow, FLOW_DISSECTOR_KEY_CONTROL)) {
7239 flow_rule_match_control(flow, &match);
7249 flow_rule_match_ipv4_addrs(flow, &match);
7259 flow_rule_match_ipv6_addrs(flow, &match);
7276 static void hclge_get_cls_key_port(const struct flow_rule *flow,
7279 if (flow_rule_match_key(flow, FLOW_DISSECTOR_KEY_PORTS)) {
7282 flow_rule_match_ports(flow, &match);
7298 struct flow_rule *flow = flow_cls_offload_flow_rule(cls_flower);
7300 struct flow_dissector *dissector = flow->match.dissector;
7316 hclge_get_cls_key_basic(flow, rule);
7317 hclge_get_cls_key_mac(flow, rule);
7318 hclge_get_cls_key_vlan(flow, rule);
7320 ret = hclge_get_cls_key_ip(flow, rule, extack);
7324 hclge_get_cls_key_port(flow, rule);
11050 "Priority flow control enabled. Cannot set link flow control.\n");