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)
commit46cd26f4108714d2e28c93d773e1602917ac0691
tree0b0e3826c3ae9373c4265a1602ccef3daa5f19cf
parentcdbd952bb7b5fca36676b3d318796b196b127397
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