Lines Matching defs:xmit_policy
317 if (bond->params.xmit_policy == BOND_XMIT_POLICY_LAYER34)
336 if (bond->params.xmit_policy != BOND_XMIT_POLICY_VLAN_SRCMAC)
1627 switch (bond->params.xmit_policy) {
4115 bool l34 = bond->params.xmit_policy == BOND_XMIT_POLICY_LAYER34;
4118 switch (bond->params.xmit_policy) {
4157 static u32 bond_ip_hash(u32 hash, struct flow_keys *flow, int xmit_policy)
4165 if (xmit_policy == BOND_XMIT_POLICY_LAYER34 ||
4166 xmit_policy == BOND_XMIT_POLICY_ENCAP34)
4182 if (bond->params.xmit_policy == BOND_XMIT_POLICY_VLAN_SRCMAC)
4185 if (bond->params.xmit_policy == BOND_XMIT_POLICY_LAYER2 ||
4189 if (bond->params.xmit_policy == BOND_XMIT_POLICY_LAYER23 ||
4190 bond->params.xmit_policy == BOND_XMIT_POLICY_ENCAP23) {
4199 return bond_ip_hash(hash, &flow, bond->params.xmit_policy);
4208 * them to generate a hash based on the xmit_policy set in the bonding device
4212 if (bond->params.xmit_policy == BOND_XMIT_POLICY_ENCAP34 &&
5354 * them to generate a hash based on the LAYER34 xmit_policy.
6307 params->xmit_policy = xmit_hashtype;