]> git.baikalelectronics.ru Git - kernel.git/commit
bonding: Changed hashing function to just provide hash
authorMahesh Bandewar <maheshb@google.com>
Tue, 22 Apr 2014 23:30:15 +0000 (16:30 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Apr 2014 17:04:34 +0000 (13:04 -0400)
commit750c5d86191f99f1dbe4acfe9670359b7eea05c7
tree829f2b09fe54476555db2eb400520210e5783a00
parent31908ee8579c6f81edc98e374184f0b136e4842a
bonding: Changed hashing function to just provide hash

Modified the hash function to return just hash separating from the
modulo operation that can be performed by the caller. This is to
make way for the tlb mode to use the same hashing policies that
are used in the 802.3ad and Xor mode.

Change-Id: I276609e87e0ca213c4d1b17b79c5e0b0f3d0dd6f
Signed-off-by: Mahesh Bandewar <maheshb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_3ad.c
drivers/net/bonding/bond_main.c
drivers/net/bonding/bonding.h