kernel/drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c
.. .. @@ -112,7 +112,8 @@ 112 112 { 113 113 u32 crc = crc32(0, input_data, length); 114 114 115 - return (__force u32)htonl(crc);115 + return (__force u32)((crc >> 24) & 0xff) | ((crc << 8) & 0xff0000) |116 + ((crc >> 8) & 0xff00) | ((crc << 24) & 0xff000000);116 117 } 117 118 118 119 u32 mlx5dr_ste_calc_hash_index(u8 *hw_ste_p, struct mlx5dr_ste_htbl *htbl)