]> git.baikalelectronics.ru Git - kernel.git/commit
virtio-net: introduce and use helper function for guest gso support checks
authorGavin Li <gavinl@nvidia.com>
Wed, 14 Sep 2022 14:49:10 +0000 (17:49 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 7 Oct 2022 13:32:40 +0000 (09:32 -0400)
commitb7017c7aaadab9f3324a1ae29abfa514e16985c3
tree0b0e3826c3ae9373c4265a1602ccef3daa5f19cf
parent0e0863e492ce21374cb3e877e1d3208a4ea60d33
virtio-net: introduce and use helper function for guest gso support checks

Probe routine is already several hundred lines.
Use helper function for guest gso support check.

Signed-off-by: Gavin Li <gavinl@nvidia.com>
Reviewed-by: Gavi Teitz <gavi@nvidia.com>
Reviewed-by: Parav Pandit <parav@nvidia.com>
Reviewed-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Reviewed-by: Si-Wei Liu <si-wei.liu@oracle.com>
Message-Id: <20220914144911.56422-2-gavinl@nvidia.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/net/virtio_net.c