MP-ify patch for ena(4)

KUSABA Takeshi <[email protected]>
Newsgroups gmane.os.netbsd.devel.network
Message-ID <[email protected]>
Hi,

I made some patches for ena(4): NIC for AWS EC2.
This patch fixes some bugs and MP-ifies ena(4) including RSS.

Patch: https://github.com/maleic1618/NetBSD/pull/1/commits

On t3.small instance, its forwarding throughput has grown as followings:

|                | 64 bytes | 256 bytes |
| -current 1flow | 21.58    | 110.51    |
| -current 8flow | 28.27    | 123.19    |
| patched  1flow | 37.20    | 142.21    |
| patched  8flow | 92.26    | 366.85    |

(Unit: Mbps, NET_MPSAFE enabled, Using https://github.com/iij/ipgen)

It also worked well on a aarch64 machine.

Could you comment on this patch?

Thanks,

-- 
Internet Initiative Japan Inc.

Network Division
Core Product Development Department
Device Engineering Section

KUSABA Takeshi <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.