Searched refs:ethflow (Results 1 – 2 of 2) sorted by relevance
599 static void ethflow_to_filer_rules (struct gfar_private *priv, u64 ethflow) in ethflow_to_filer_rules() argument603 if (ethflow & RXH_L2DA) { in ethflow_to_filer_rules()619 if (ethflow & RXH_VLAN) { in ethflow_to_filer_rules()628 if (ethflow & RXH_IP_SRC) { in ethflow_to_filer_rules()637 if (ethflow & (RXH_IP_DST)) { in ethflow_to_filer_rules()646 if (ethflow & RXH_L3_PROTO) { in ethflow_to_filer_rules()655 if (ethflow & RXH_L4_B_0_1) { in ethflow_to_filer_rules()664 if (ethflow & RXH_L4_B_2_3) { in ethflow_to_filer_rules()674 static int gfar_ethflow_to_filer_table(struct gfar_private *priv, u64 ethflow, in gfar_ethflow_to_filer_table() argument757 ethflow_to_filer_rules(priv, ethflow); in gfar_ethflow_to_filer_table()
7010 u64 ethflow = 0; in niu_flowkey_to_ethflow() local7013 ethflow |= RXH_L2DA; in niu_flowkey_to_ethflow()7015 ethflow |= RXH_VLAN; in niu_flowkey_to_ethflow()7017 ethflow |= RXH_IP_SRC; in niu_flowkey_to_ethflow()7019 ethflow |= RXH_IP_DST; in niu_flowkey_to_ethflow()7021 ethflow |= RXH_L3_PROTO; in niu_flowkey_to_ethflow()7023 ethflow |= RXH_L4_B_0_1; in niu_flowkey_to_ethflow()7025 ethflow |= RXH_L4_B_2_3; in niu_flowkey_to_ethflow()7027 return ethflow; in niu_flowkey_to_ethflow()7031 static int niu_ethflow_to_flowkey(u64 ethflow, u64 *flow_key) in niu_ethflow_to_flowkey() argument[all …]