Arnd Bergmann
de92cd6cf4
net/mlx5: IPSec, fix 64-bit division correctly
...
The new IPSec offload code introduced a build error:
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.o: In function `mlx5e_ipsec_build_inverse_table':
ipsec_rxtx.c:(.text+0x556): undefined reference
Another patch was added on top to fix the build error, but
that introduced a new bug, as we now use the remainder of
the division rather than the result.
This makes it use the correct helper function instead.
Fixes: 5dfd87b67c ("net/mlx5: IPSec, Fix 64-bit division on 32-bit builds")
Fixes: 2ac9cfe782 ("net/mlx5e: IPSec, Add Innova IPSec offload TX data path")
Signed-off-by: Arnd Bergmann <arnd@arndb.de >
Reviewed-by: Ilan Tayari <ilant@mellanox.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2017-07-10 19:34:00 +01:00
..
2017-07-07 09:44:06 -07:00
2017-07-06 09:41:58 -07:00
2017-07-01 07:39:08 -07:00
2017-07-07 17:06:28 -07:00
2017-07-07 09:44:06 -07:00
2017-07-05 12:31:59 -07:00
2017-07-04 14:47:47 -07:00
2017-06-27 12:13:45 -06:00
2017-07-07 17:06:28 -07:00
2017-07-04 14:37:25 -07:00
2017-07-04 14:47:47 -07:00
2017-07-04 14:47:47 -07:00
2017-07-07 13:55:45 -07:00
2017-07-06 19:20:54 -07:00
2017-07-07 19:38:17 -07:00
2017-07-08 12:36:50 -07:00
2017-06-29 10:37:50 +02:00
2017-07-06 19:20:54 -07:00
2017-07-07 13:30:05 -07:00
2017-07-08 15:51:57 -07:00
2017-07-03 20:27:48 -07:00
2017-07-04 14:28:22 -07:00
2017-07-06 12:10:33 -07:00
2017-07-03 20:55:59 -07:00
2017-07-03 20:55:59 -07:00
2017-06-29 22:58:35 +02:00
2017-07-04 11:48:27 -07:00
2017-07-07 17:06:28 -07:00
2017-07-08 12:39:37 -07:00
2017-07-06 19:20:54 -07:00
2017-07-05 17:09:27 -07:00
2017-07-05 13:13:32 -07:00
2017-07-06 11:32:40 -07:00
2017-06-30 11:08:18 -06:00
2017-07-05 13:13:32 -07:00
2017-07-07 10:24:07 -07:00
2017-07-08 12:50:18 -07:00
2017-07-06 11:15:19 -07:00
2017-07-04 14:47:47 -07:00
2017-07-08 12:39:37 -07:00
2017-07-07 13:55:45 -07:00
2017-07-06 11:38:59 -07:00
2017-07-06 11:38:59 -07:00
2017-07-10 19:34:00 +01:00
2017-07-01 14:30:39 -07:00
2017-07-07 09:44:06 -07:00
2017-07-08 15:51:57 -07:00
2017-07-08 15:51:57 -07:00
2017-07-05 21:46:42 +02:00
2017-07-08 15:51:57 -07:00
2017-06-26 10:54:27 +01:00
2017-07-06 11:38:59 -07:00
2017-07-07 13:30:05 -07:00
2017-07-07 12:40:27 -07:00
2017-07-04 14:25:14 -07:00
2017-06-28 00:38:34 +02:00
2017-07-06 11:40:58 +01:00
2017-07-05 17:09:27 -07:00
2017-07-03 16:52:21 +01:00
2017-06-27 16:21:34 -07:00
2017-07-04 14:47:47 -07:00
2017-07-06 15:38:31 -07:00
2017-07-07 09:44:06 -07:00
2017-06-27 12:13:45 -06:00
2017-07-06 12:10:33 -07:00
2017-07-06 16:24:30 -07:00
2017-07-04 14:47:47 -07:00
2017-07-08 10:41:53 -07:00
2017-07-06 11:15:19 -07:00
2017-07-05 14:35:57 -07:00
2017-07-07 13:30:05 -07:00
2017-07-07 12:40:27 -07:00
2017-07-07 13:42:04 -07:00
2017-07-03 20:27:48 -07:00
2017-07-05 12:31:59 -07:00
2017-07-08 15:51:57 -07:00
2017-07-06 19:20:54 -07:00