Comments (2)
Is there any particular reason for this move? I know there has been an issue with vectored operations being much slower than standard ones (at least in my testing), but I've never been able to pinpoint the source of the issue.
The vectored operations make the implementation of the unified packets delivered from/to tun2
a bit tricky. Moreover, the default implementations of read_vectored
and write_vectored
in the standard library are sufficient to cover most cases, so, with a trade-off, we removed the customed vectored operations.
However, it would be useful to have if this project ever got to implementing GSO/GRO.
We may implement this function if more details could be provided, of course, a PR is appreciated.
from rust-tun.
Seems wireguard-go
does not need vectored operations to achieve high throughput. They are also not required for GSO/GRO, so I'm thinking this might be closed.
from rust-tun.
Related Issues (20)
- Suggestion: Changing the type of mtu from usize to u16 HOT 1
- Replacing `cidr_util` with `ipnet`
- ioctl is marked as "deprecated", should be replaced with nix HOT 1
- Please don't pump minor version with breaking changes. HOT 6
- Routing setup seems broken in macOS and FreeBSD HOT 1
- Win7 error HOT 1
- How to generate GUID (Windows) HOT 1
- Apple(iOS) libc::sockaddr_in does not impl Debug trait
- Request to be a co-contributor and publisher HOT 1
- question on IOS HOT 3
- [Feature Request] Use embedded wintun.dll HOT 22
- Custom loading of wintun.dll should be a feature HOT 5
- Can this crate use a pre-existing TUN interface? HOT 2
- Build failure on FreeBSD HOT 2
- examples: ping-tun HOT 1
- Why windows platform MTU is always 65535? HOT 1
- SetInterfaceDnsSettings was not supported by older version of Windows HOT 4
- Fails to build with [email protected] HOT 1
- v2.0.4 Build Error in openWRT HOT 4
- `AsyncDevice` does not expose `Device` methods HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rust-tun.