Lines Matching refs:ethflow
7049 u64 ethflow = 0; in niu_flowkey_to_ethflow() local
7052 ethflow |= RXH_L2DA; in niu_flowkey_to_ethflow()
7054 ethflow |= RXH_VLAN; in niu_flowkey_to_ethflow()
7056 ethflow |= RXH_IP_SRC; in niu_flowkey_to_ethflow()
7058 ethflow |= RXH_IP_DST; in niu_flowkey_to_ethflow()
7060 ethflow |= RXH_L3_PROTO; in niu_flowkey_to_ethflow()
7062 ethflow |= RXH_L4_B_0_1; in niu_flowkey_to_ethflow()
7064 ethflow |= RXH_L4_B_2_3; in niu_flowkey_to_ethflow()
7066 return ethflow; in niu_flowkey_to_ethflow()
7070 static int niu_ethflow_to_flowkey(u64 ethflow, u64 *flow_key) in niu_ethflow_to_flowkey() argument
7074 if (ethflow & RXH_L2DA) in niu_ethflow_to_flowkey()
7076 if (ethflow & RXH_VLAN) in niu_ethflow_to_flowkey()
7078 if (ethflow & RXH_IP_SRC) in niu_ethflow_to_flowkey()
7080 if (ethflow & RXH_IP_DST) in niu_ethflow_to_flowkey()
7082 if (ethflow & RXH_L3_PROTO) in niu_ethflow_to_flowkey()
7084 if (ethflow & RXH_L4_B_0_1) in niu_ethflow_to_flowkey()
7086 if (ethflow & RXH_L4_B_2_3) in niu_ethflow_to_flowkey()