linux/drivers/net/ethernet/mellanox/mlx5/core
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
..
accel net/mlx5: Add Makefiles for subdirectories 2017-07-06 15:13:20 +03:00
en_accel net/mlx5: IPSec, fix 64-bit division correctly 2017-07-10 19:34:00 +01:00
fpga net/mlx5: Add Makefiles for subdirectories 2017-07-06 15:13:20 +03:00
ipoib net/mlx5: Add Makefiles for subdirectories 2017-07-06 15:13:20 +03:00
lib net/mlx5: Add Makefiles for subdirectories 2017-07-06 15:13:20 +03:00
Kconfig net/mlx5e: IPSec, Innova IPSec offload infrastructure 2017-06-27 16:36:47 +03:00
Makefile net/mlx5: Build wq.o even if MLX5_CORE_EN is not selected 2017-07-06 15:13:20 +03:00
alloc.c net/mlx5: Avoid using multiple blank lines 2017-06-16 00:12:40 +03:00
cmd.c net/mlx5: FPGA, Add FW commands for FPGA QPs 2017-06-27 16:36:47 +03:00
cq.c IB/mlx5: Support 4k UAR for libmlx5 2017-01-09 20:25:09 +02:00
debugfs.c net/mlx5: Avoid using multiple blank lines 2017-06-16 00:12:40 +03:00
dev.c {net,IB}/mlx5: Refactor page fault handling 2017-01-02 15:51:20 -05:00
en.h net/mlx5e: IPSec, Add Innova IPSec offload TX data path 2017-06-27 16:36:48 +03:00
en_arfs.c net/mlx5e: Use function to map aRFS into traffic type 2017-06-16 00:12:41 +03:00
en_clock.c net/mlx5e: IPoIB, Add ioctl support to IPoIB device driver 2017-06-19 18:40:20 +03:00
en_common.c net/mlx5: Avoid using multiple blank lines 2017-06-16 00:12:40 +03:00
en_dcbnl.c net/mlx5e: Initialize CEE's getpermhwaddr address buffer to 0xff 2017-07-06 15:13:20 +03:00
en_ethtool.c net/mlx5e: IPSec, Add IPSec ethtool stats 2017-06-27 16:36:48 +03:00
en_fs.c net/mlx5: Avoid using multiple blank lines 2017-06-16 00:12:40 +03:00
en_fs_ethtool.c {net, IB}/mlx5: Replace mlx5_vzalloc with kvzalloc 2017-05-14 13:53:18 +03:00
en_main.c Merge https://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-07-03 03:42:10 -07:00
en_rep.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-06-21 17:35:22 -04:00
en_rep.h net/mlx5e: Update neighbour 'used' state using HW flow rules counters 2017-04-30 16:03:14 +03:00
en_rx.c net/mlx5e: IPSec, Add Innova IPSec offload RX data path 2017-06-27 16:36:47 +03:00
en_rx_am.c net/mlx5e: Fix wrong indications in DIM due to counter wraparound 2017-06-11 13:10:36 +03:00
en_selftest.c networking: make skb_push & __skb_push return void pointers 2017-06-16 11:48:40 -04:00
en_stats.h net/mlx5e: Introduce RX Page-Reuse 2017-06-22 14:30:13 +03:00
en_tc.c net/mlx5e: Add header re-write offloading of IPv6 hop-limit 2017-06-22 14:30:13 +03:00
en_tc.h net/mlx5e: Update neighbour 'used' state using HW flow rules counters 2017-04-30 16:03:14 +03:00
en_tx.c net/mlx5e: IPSec, Add Innova IPSec offload TX data path 2017-06-27 16:36:48 +03:00
en_txrx.c net/mlx5: Make get_cqe routine not ethernet-specific 2017-06-27 16:36:47 +03:00
eq.c net/mlx5: Avoid space after casting 2017-06-16 00:12:41 +03:00
eswitch.c net/mlx5: Avoid blank lines before/after closing/opening braces 2017-06-16 00:12:40 +03:00
eswitch.h net/mlx5e: Add cache for HW modify header IDs 2017-06-08 14:12:00 +03:00
eswitch_offloads.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-06-21 17:35:22 -04:00
fs_cmd.c net/mlx5: Update flow table commands layout 2017-06-08 14:12:00 +03:00
fs_cmd.h net/mlx5: Use underlay QPN from the root name space 2017-05-14 13:33:45 +03:00
fs_core.c net/mlx5: Avoid blank lines before/after closing/opening braces 2017-06-16 00:12:40 +03:00
fs_core.h net/mlx5: Use underlay QPN from the root name space 2017-05-14 13:33:45 +03:00
fs_counters.c net/mlx5e: Update neighbour 'used' state using HW flow rules counters 2017-04-30 16:03:14 +03:00
fw.c net/mlx5: Add mlxfw callbacks 2017-06-22 14:30:13 +03:00
health.c Merge https://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-07-03 03:42:10 -07:00
lag.c net/mlx5: Undo LAG upon request to create virtual functions 2017-06-16 00:12:41 +03:00
mad.c net/mlx5: Unify and improve command interface 2016-08-17 17:45:58 +03:00
main.c Merge https://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-07-03 03:42:10 -07:00
mcg.c net/mlx5: Unify and improve command interface 2016-08-17 17:45:58 +03:00
mlx5_core.h net/mlx5: Add mlxfw callbacks 2017-06-22 14:30:13 +03:00
mr.c net/mlx5: Unify and improve command interface 2016-08-17 17:45:58 +03:00
pagealloc.c net/mlx5: Avoid using multiple blank lines 2017-06-16 00:12:40 +03:00
pd.c net/mlx5: Unify and improve command interface 2016-08-17 17:45:58 +03:00
port.c {net, IB}/mlx5: Replace mlx5_vzalloc with kvzalloc 2017-05-14 13:53:18 +03:00
qp.c net/mlx5e: Move and optimize query out of buffer function 2017-06-16 00:19:02 +03:00
rl.c net/mlx5: Introduce TSAR manipulation firmware commands 2016-10-30 15:43:12 +02:00
sriov.c net/mlx5: Undo LAG upon request to create virtual functions 2017-06-16 00:12:41 +03:00
srq.c {net, IB}/mlx5: Replace mlx5_vzalloc with kvzalloc 2017-05-14 13:53:18 +03:00
transobj.c {net, IB}/mlx5: Replace mlx5_vzalloc with kvzalloc 2017-05-14 13:53:18 +03:00
uar.c net/mlx5: Fix UAR memory leak 2017-04-22 21:52:37 +03:00
vport.c net/mlx5: Add support for multiple RoCE enable 2017-06-27 16:36:47 +03:00
vxlan.c net/mlx5: Unify and improve command interface 2016-08-17 17:45:58 +03:00
vxlan.h mlx5: Fix merge errors. 2016-05-09 22:05:13 -04:00
wq.c net/mlx5: Add QP WQ support 2017-06-27 16:36:47 +03:00
wq.h net/mlx5: Add QP WQ support 2017-06-27 16:36:47 +03:00