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) {
4117 bool l34 = bond->params.xmit_policy == BOND_XMIT_POLICY_LAYER34;
4120 switch (bond->params.xmit_policy) {
4159 static u32 bond_ip_hash(u32 hash, struct flow_keys *flow, int xmit_policy)
4167 if (xmit_policy == BOND_XMIT_POLICY_LAYER34 ||
4168 xmit_policy == BOND_XMIT_POLICY_ENCAP34)
4184 if (bond->params.xmit_policy == BOND_XMIT_POLICY_VLAN_SRCMAC)
4187 if (bond->params.xmit_policy == BOND_XMIT_POLICY_LAYER2 ||
4191 if (bond->params.xmit_policy == BOND_XMIT_POLICY_LAYER23 ||
4192 bond->params.xmit_policy == BOND_XMIT_POLICY_ENCAP23) {
4201 return bond_ip_hash(hash, &flow, bond->params.xmit_policy);
4210 * them to generate a hash based on the xmit_policy set in the bonding device
4214 if (bond->params.xmit_policy == BOND_XMIT_POLICY_ENCAP34 &&
5356 * them to generate a hash based on the LAYER34 xmit_policy.
6284 params->xmit_policy = xmit_hashtype;