All of lore.kernel.org
 help / color / mirror / Atom feed
* bonding xmit_policy
@ 2011-11-13  2:55 Simon Chen
  2011-11-13 20:26 ` Nicolas de Pesloüan
  0 siblings, 1 reply; 4+ messages in thread
From: Simon Chen @ 2011-11-13  2:55 UTC (permalink / raw)
  To: netdev

Hi folks,

It looks like that there are three entries in xmit_policy (hashing for
deciding egress phy int) for bonded interfaces:

const struct bond_parm_tbl xmit_hashtype_tbl[] = {
{       "layer2",               BOND_XMIT_POLICY_LAYER2},
{       "layer3+4",             BOND_XMIT_POLICY_LAYER34},
{       "layer2+3",             BOND_XMIT_POLICY_LAYER23},
{       NULL,                   -1},
};


We can set the xmit_policy either at module initiation, or later via
/sys. However, this xmit_policy isn't really read anywhere. Are
different policies really implemented?

Thanks.
-Simon

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-11-15  7:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-13  2:55 bonding xmit_policy Simon Chen
2011-11-13 20:26 ` Nicolas de Pesloüan
2011-11-15  6:20   ` Simon Chen
2011-11-15  7:12     ` Eric Dumazet

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.