tjcw / bpf-examples Goto Github PK
View Code? Open in Web Editor NEWThis project forked from xdp-project/bpf-examples
Making eBPF programming easier via build env and examples
This project forked from xdp-project/bpf-examples
Making eBPF programming easier via build env and examples
At the moment, I have receive socket and send socket using separate umems. That causes a requirement for a 'memcpy' in user space between where the packet is received to, and where the packet can be sent from. This issue replaces the separate umems wiith a shared umem and eliminates this memcpy.
It should also be possible to reinject the packet to the same queue from where it was redirected to user space. This should cause the packet to go to the transmitting interface, then be redirected again to the veth where it was initially redirected to user space, then be sent to the bridge and on its way. Pakcet time-to-live should be decremented by 1 at each hop. and the packet should reach its destination before the time-to-live gets to zero.
At the moment, packets are reinjected to the destination node's transmit queue. This is OK when there are only 2 namespaces involved, but becomes cumbersome as the number of namespaces increases as would be the case in a Kubernetes system. This issue will change to using the source node's transmit queue, from where linux kerne; routing weill get the packet to the right destination. The packet will not be directed to user space a second time because the map is updated before the packet arrives again.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.