summaryrefslogtreecommitdiff
path: root/drivers/spmi/Kconfig
diff options
context:
space:
mode:
authorSi-Wei Liu <si-wei.liu@oracle.com>2021-04-08 12:10:43 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-04-14 09:42:12 +0300
commit0ddb34c2ccce5e4c5c1566f6fa8ed20af3a3b858 (patch)
treec553f09109321598c4a0211441de3b23b03ffcb2 /drivers/spmi/Kconfig
parent5700c3d4abb2084aea0ff5b0ae69c32f8142db3a (diff)
downloadlinux-0ddb34c2ccce5e4c5c1566f6fa8ed20af3a3b858.tar.xz
vdpa/mlx5: should exclude header length and fcs from mtu
[ Upstream commit d084d996aaf53c0cc583dc75a4fc2a67fe485846 ] When feature VIRTIO_NET_F_MTU is negotiated on mlx5_vdpa, 22 extra bytes worth of MTU length is shown in guest. This is because the mlx5_query_port_max_mtu API returns the "hardware" MTU value, which does not just contain the Ethernet payload, but includes extra lengths starting from the Ethernet header up to the FCS altogether. Fix the MTU so packets won't get dropped silently. Fixes: 1a86b377aa21 ("vdpa/mlx5: Add VDPA driver for supported mlx5 devices") Signed-off-by: Si-Wei Liu <si-wei.liu@oracle.com> Acked-by: Jason Wang <jasowang@redhat.com> Acked-by: Eli Cohen <elic@nvidia.com> Link: https://lore.kernel.org/r/20210408091047.4269-2-elic@nvidia.com Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/spmi/Kconfig')
0 files changed, 0 insertions, 0 deletions