projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
878786d
)
mlxsw: Change the RX LAG hash function from XOR to CRC
author
Elad Raz
<
[email protected]
>
Mon, 19 Sep 2016 06:28:24 +0000
(08:28 +0200)
committer
David S. Miller
<
[email protected]
>
Tue, 20 Sep 2016 08:32:50 +0000
(
04:32
-0400)
Change the RX hash function from XOR to CRC in order to have better
distribution of the traffic.
Signed-off-by: Elad Raz <
[email protected]
>
Signed-off-by: Jiri Pirko <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/mellanox/mlxsw/reg.h
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/mellanox/mlxsw/reg.h
b/drivers/net/ethernet/mellanox/mlxsw/reg.h
index 4e2354ca0e4a559fadb0381f5a0ed57557068ca4..6460c7256f2ba0260245f69200bc176167b4c6ee 100644
(file)
--- a/
drivers/net/ethernet/mellanox/mlxsw/reg.h
+++ b/
drivers/net/ethernet/mellanox/mlxsw/reg.h
@@
-1392,7
+1392,7
@@
static inline void mlxsw_reg_slcr_pack(char *payload, u16 lag_hash)
{
MLXSW_REG_ZERO(slcr, payload);
mlxsw_reg_slcr_pp_set(payload, MLXSW_REG_SLCR_PP_GLOBAL);
- mlxsw_reg_slcr_type_set(payload, MLXSW_REG_SLCR_TYPE_
XOR
);
+ mlxsw_reg_slcr_type_set(payload, MLXSW_REG_SLCR_TYPE_
CRC
);
mlxsw_reg_slcr_lag_hash_set(payload, lag_hash);
}