netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v6 0/2] Improve virtio performance for 9k mtu
@ 2022-09-14 14:49 Gavin Li
  2022-09-14 14:49 ` [PATCH v6 1/2] virtio-net: introduce and use helper function for guest gso support checks Gavin Li
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Gavin Li @ 2022-09-14 14:49 UTC (permalink / raw)
  To: mst, stephen, davem, jesse.brandeburg, kuba, sridhar.samudrala,
	jasowang, loseweigh, netdev, virtualization, virtio-dev

This small series contains two patches that improves virtio netdevice
performance for 9K mtu when GRO/ guest TSO is disabled.

Gavin Li (2):
  virtio-net: introduce and use helper function for guest gso support
    checks
---
changelog:
v4->v5
- Addressed comments from Michael S. Tsirkin
- Remove unnecessary () in return clause
v1->v2
- Add new patch
---
  virtio-net: use mtu size as buffer length for big packets
---
changelog:
v5->v6
- Addressed comments from Jason and Michael S. Tsirkin
- Remove wrong commit log description
- Rename virtnet_set_big_packets_fields with virtnet_set_big_packets
- Add more test results for different feature combinations
v4->v5
- Addressed comments from Michael S. Tsirkin
- Improve commit message
v3->v4
- Addressed comments from Si-Wei
- Rename big_packets_sg_num with big_packets_num_skbfrags
v2->v3
- Addressed comments from Si-Wei
- Simplify the condition check to enable the optimization
v1->v2
- Addressed comments from Jason, Michael, Si-Wei.
- Remove the flag of guest GSO support, set sg_num for big packets and
  use it directly
- Recalculate sg_num for big packets in virtnet_set_guest_offloads
- Replace the round up algorithm with DIV_ROUND_UP
---

 drivers/net/virtio_net.c | 48 ++++++++++++++++++++++++++--------------
 1 file changed, 32 insertions(+), 16 deletions(-)

-- 
2.31.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-09-29  7:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-14 14:49 [PATCH v6 0/2] Improve virtio performance for 9k mtu Gavin Li
2022-09-14 14:49 ` [PATCH v6 1/2] virtio-net: introduce and use helper function for guest gso support checks Gavin Li
2022-09-22  1:39   ` Jason Wang
2022-09-14 14:49 ` [PATCH v6 2/2] virtio-net: use mtu size as buffer length for big packets Gavin Li
2022-09-22  1:41   ` Jason Wang
2022-09-29  6:50 ` [virtio-dev] [PATCH v6 0/2] Improve virtio performance for 9k mtu Gavin Li
2022-09-29  7:01   ` Michael S. Tsirkin
2022-09-29  7:00 ` Michael S. Tsirkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).