]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
IB/mlx4: Add Scatter FCS support over WQ creation
authorGuy Levi <guyle@mellanox.com>
Thu, 15 Mar 2018 14:56:40 +0000 (16:56 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 15 Mar 2018 21:58:05 +0000 (15:58 -0600)
commit6d06c9aa3816c26144f54d18c5b63ba9ff026fb9
treec8c5f85355835c100308aa973d7611b1f40ca416
parent9c71172c4a2f6695fdfb89780da160f579a002c2
IB/mlx4: Add Scatter FCS support over WQ creation

As a default, for Ethernet packets, the device scatters only the payload
of ingress packets. The scatter FCS feature lets the user to get the FCS
(Ethernet's frame check sequence) in the received WR's buffer as a 4
Bytes trailer following the packet's payload.

Reviewed-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Guy Levi <guyle@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx4/main.c
drivers/infiniband/hw/mlx4/mlx4_ib.h
drivers/infiniband/hw/mlx4/qp.c