Lines Matching refs:ethflow
7034 u64 ethflow = 0; in niu_flowkey_to_ethflow() local
7037 ethflow |= RXH_L2DA; in niu_flowkey_to_ethflow()
7039 ethflow |= RXH_VLAN; in niu_flowkey_to_ethflow()
7041 ethflow |= RXH_IP_SRC; in niu_flowkey_to_ethflow()
7043 ethflow |= RXH_IP_DST; in niu_flowkey_to_ethflow()
7045 ethflow |= RXH_L3_PROTO; in niu_flowkey_to_ethflow()
7047 ethflow |= RXH_L4_B_0_1; in niu_flowkey_to_ethflow()
7049 ethflow |= RXH_L4_B_2_3; in niu_flowkey_to_ethflow()
7051 return ethflow; in niu_flowkey_to_ethflow()
7055 static int niu_ethflow_to_flowkey(u64 ethflow, u64 *flow_key) in niu_ethflow_to_flowkey() argument
7059 if (ethflow & RXH_L2DA) in niu_ethflow_to_flowkey()
7061 if (ethflow & RXH_VLAN) in niu_ethflow_to_flowkey()
7063 if (ethflow & RXH_IP_SRC) in niu_ethflow_to_flowkey()
7065 if (ethflow & RXH_IP_DST) in niu_ethflow_to_flowkey()
7067 if (ethflow & RXH_L3_PROTO) in niu_ethflow_to_flowkey()
7069 if (ethflow & RXH_L4_B_0_1) in niu_ethflow_to_flowkey()
7071 if (ethflow & RXH_L4_B_2_3) in niu_ethflow_to_flowkey()