Searched refs:flow_type_lut (Results 1 – 1 of 1) sorted by relevance
15 static const u16 flow_type_lut[] = { in gve_fill_ethtool_flow_spec() local28 if (be16_to_cpu(flow_rule->flow_type) >= ARRAY_SIZE(flow_type_lut)) in gve_fill_ethtool_flow_spec()31 fsp->flow_type = flow_type_lut[be16_to_cpu(flow_rule->flow_type)]; in gve_fill_ethtool_flow_spec()109 static const u16 flow_type_lut[] = { in gve_generate_flow_rule() local132 if (!flow_type || flow_type >= ARRAY_SIZE(flow_type_lut)) in gve_generate_flow_rule()135 rule->flow_type = cpu_to_be16(flow_type_lut[flow_type]); in gve_generate_flow_rule()
Completed in 4 milliseconds