Lines Matching refs:l3_proto
36 u16 l3_proto; /* protocol specified in the template */ member
73 st->l3_proto = be16_to_cpu(mt.key->n_proto); in sparx5_tc_flower_handler_basic_usage()
74 if (!sparx5_vcap_is_known_etype(st->admin, st->l3_proto)) { in sparx5_tc_flower_handler_basic_usage()
76 st->l3_proto, ~0); in sparx5_tc_flower_handler_basic_usage()
79 } else if (st->l3_proto == ETH_P_IP) { in sparx5_tc_flower_handler_basic_usage()
84 } else if (st->l3_proto == ETH_P_IPV6) { in sparx5_tc_flower_handler_basic_usage()
375 u16 l3_proto, in sparx5_tc_select_protocol_keyset() argument
401 l3_proto, in sparx5_tc_select_protocol_keyset()
434 if (l3_proto == ETH_P_ALL && count < portkeysetlist.cnt) in sparx5_tc_select_protocol_keyset()
1010 u16 l3_proto) in sparx5_tc_flower_simplify_rule() argument
1015 switch (l3_proto) { in sparx5_tc_flower_simplify_rule()
1026 switch (l3_proto) { in sparx5_tc_flower_simplify_rule()
1041 switch (l3_proto) { in sparx5_tc_flower_simplify_rule()
1068 sparx5_tc_flower_simplify_rule(admin, vrule, ftp->l3_proto); in sparx5_tc_flower_use_template()
1084 .l3_proto = ETH_P_ALL, in sparx5_tc_flower_replace()
1202 state.l3_proto, &multi); in sparx5_tc_flower_replace()
1211 err = vcap_val_rule(vrule, state.l3_proto); in sparx5_tc_flower_replace()
1221 if (state.l3_proto == ETH_P_ALL) in sparx5_tc_flower_replace()
1346 .l3_proto = ETH_P_ALL, in sparx5_tc_flower_template_create()
1393 ftp->l3_proto = state.l3_proto; in sparx5_tc_flower_template_create()
1395 sparx5_tc_flower_simplify_rule(admin, vrule, state.l3_proto); in sparx5_tc_flower_template_create()
1410 state.l3_proto, in sparx5_tc_flower_template_create()
1444 ftp->l3_proto, ftp->orig, in sparx5_tc_flower_template_destroy()