Home
last modified time | relevance | path

Searched refs:ethflow (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c603 static void ethflow_to_filer_rules (struct gfar_private *priv, u64 ethflow) in ethflow_to_filer_rules() argument
607 if (ethflow & RXH_L2DA) { in ethflow_to_filer_rules()
623 if (ethflow & RXH_VLAN) { in ethflow_to_filer_rules()
632 if (ethflow & RXH_IP_SRC) { in ethflow_to_filer_rules()
641 if (ethflow & (RXH_IP_DST)) { in ethflow_to_filer_rules()
650 if (ethflow & RXH_L3_PROTO) { in ethflow_to_filer_rules()
659 if (ethflow & RXH_L4_B_0_1) { in ethflow_to_filer_rules()
668 if (ethflow & RXH_L4_B_2_3) { in ethflow_to_filer_rules()
678 static int gfar_ethflow_to_filer_table(struct gfar_private *priv, u64 ethflow, in gfar_ethflow_to_filer_table() argument
761 ethflow_to_filer_rules(priv, ethflow); in gfar_ethflow_to_filer_table()
/linux-5.19.10/drivers/net/ethernet/sun/
Dniu.c7028 u64 ethflow = 0; in niu_flowkey_to_ethflow() local
7031 ethflow |= RXH_L2DA; in niu_flowkey_to_ethflow()
7033 ethflow |= RXH_VLAN; in niu_flowkey_to_ethflow()
7035 ethflow |= RXH_IP_SRC; in niu_flowkey_to_ethflow()
7037 ethflow |= RXH_IP_DST; in niu_flowkey_to_ethflow()
7039 ethflow |= RXH_L3_PROTO; in niu_flowkey_to_ethflow()
7041 ethflow |= RXH_L4_B_0_1; in niu_flowkey_to_ethflow()
7043 ethflow |= RXH_L4_B_2_3; in niu_flowkey_to_ethflow()
7045 return ethflow; in niu_flowkey_to_ethflow()
7049 static int niu_ethflow_to_flowkey(u64 ethflow, u64 *flow_key) in niu_ethflow_to_flowkey() argument
[all …]