]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: IPsec, fix byte count in CQE
authorBoris Pismenny <borisp@mellanox.com>
Fri, 13 Jul 2018 11:33:52 +0000 (14:33 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Jul 2018 07:13:28 +0000 (00:13 -0700)
commite97f84605780902b41c1b535bdb5cfdafee86069
treeda01409572e97ae50e7cac7d584cd913dceb1208
parent9ceab8e96b7f7e8c95d8bdf1b890034d37a35e14
net/mlx5e: IPsec, fix byte count in CQE

This patch fixes the byte count indication in CQE for processed IPsec
packets that contain a metadata header.

Signed-off-by: Boris Pismenny <borisp@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.h
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c