Lines Matching refs:xmit_policy
317 if (bond->params.xmit_policy == BOND_XMIT_POLICY_LAYER34) in bond_sk_check()
336 if (bond->params.xmit_policy != BOND_XMIT_POLICY_VLAN_SRCMAC) in bond_xdp_check()
1740 switch (bond->params.xmit_policy) { in bond_lag_hash_type()
4230 bool l34 = bond->params.xmit_policy == BOND_XMIT_POLICY_LAYER34; in bond_flow_dissect()
4233 switch (bond->params.xmit_policy) { in bond_flow_dissect()
4272 static u32 bond_ip_hash(u32 hash, struct flow_keys *flow, int xmit_policy) in bond_ip_hash() argument
4280 if (xmit_policy == BOND_XMIT_POLICY_LAYER34 || in bond_ip_hash()
4281 xmit_policy == BOND_XMIT_POLICY_ENCAP34) in bond_ip_hash()
4297 if (bond->params.xmit_policy == BOND_XMIT_POLICY_VLAN_SRCMAC) in __bond_xmit_hash()
4300 if (bond->params.xmit_policy == BOND_XMIT_POLICY_LAYER2 || in __bond_xmit_hash()
4304 if (bond->params.xmit_policy == BOND_XMIT_POLICY_LAYER23 || in __bond_xmit_hash()
4305 bond->params.xmit_policy == BOND_XMIT_POLICY_ENCAP23) { in __bond_xmit_hash()
4314 return bond_ip_hash(hash, &flow, bond->params.xmit_policy); in __bond_xmit_hash()
4327 if (bond->params.xmit_policy == BOND_XMIT_POLICY_ENCAP34 && in bond_xmit_hash()
6401 params->xmit_policy = xmit_hashtype; in bond_check_params()