Lines Matching refs:ethflow
7012 u64 ethflow = 0; in niu_flowkey_to_ethflow() local
7015 ethflow |= RXH_L2DA; in niu_flowkey_to_ethflow()
7017 ethflow |= RXH_VLAN; in niu_flowkey_to_ethflow()
7019 ethflow |= RXH_IP_SRC; in niu_flowkey_to_ethflow()
7021 ethflow |= RXH_IP_DST; in niu_flowkey_to_ethflow()
7023 ethflow |= RXH_L3_PROTO; in niu_flowkey_to_ethflow()
7025 ethflow |= RXH_L4_B_0_1; in niu_flowkey_to_ethflow()
7027 ethflow |= RXH_L4_B_2_3; in niu_flowkey_to_ethflow()
7029 return ethflow; in niu_flowkey_to_ethflow()
7033 static int niu_ethflow_to_flowkey(u64 ethflow, u64 *flow_key) in niu_ethflow_to_flowkey() argument
7037 if (ethflow & RXH_L2DA) in niu_ethflow_to_flowkey()
7039 if (ethflow & RXH_VLAN) in niu_ethflow_to_flowkey()
7041 if (ethflow & RXH_IP_SRC) in niu_ethflow_to_flowkey()
7043 if (ethflow & RXH_IP_DST) in niu_ethflow_to_flowkey()
7045 if (ethflow & RXH_L3_PROTO) in niu_ethflow_to_flowkey()
7047 if (ethflow & RXH_L4_B_0_1) in niu_ethflow_to_flowkey()
7049 if (ethflow & RXH_L4_B_2_3) in niu_ethflow_to_flowkey()