Comments (2)
Hi,
You can find the TDWB change here : https://github.com/tbarbette/netmap, that is the part where instead of poking the device registers for the current tail pointer of the ring, we use the TD writeback feature, where the tail is written in any memory location you choose. The specific patch is this one : tbarbette/netmap@c14ff0f
However after some rebase I lost the second part (I mostly moved to DPDK for my tests now) , but it is not complex, the fastclick code hasn't changed though, we can see here :
https://github.com/tbarbette/fastclick/blob/master/elements/userlevel/tonetmapdevice.cc#L160
that I pass 1 instead of 0. I modified Netmap to only call the "reclaim" part if an interrupt has happened.
The two most important things in that Netmap version are the TDWB and the support for dynamic buffer allocation (IOCTLs NIOCALLOCBUFF and NIOCFREEBUF) which allows to dynamically release and allocate buffers.
I can try to dig into backups for the reclaim part, but it is not a big deal anymore as the TDWB make it much lighter anyway.
Note that those changes are IXGBE-specific, so it concerns all 82599-based nics. i40e use TDWB by default, including in the Netmap drivers. I guess that's why Luigi never merged the patch probably just moved on... He showed interest at that time though... Probably have too much to do.
from fastclick.
Can I close this?
from fastclick.
Related Issues (20)
- Create Element HOT 2
- Secondary DPDK with FastClick HOT 2
- Access useful_kcycles() HOT 3
- Input aggregation element HOT 1
- --with-netmap does not compile HOT 3
- FastClick can't identify DPDK PORT,whatever Integer or PCI address.
- port 0 Rx queue allocation failed: Cannot allocate memory HOT 7
- Illegal instruction (core dumped) when using ToDPDKDevice() HOT 3
- rte_mempool segmentation fault. HOT 8
- storeing data in packet HOT 2
- How to enable scattered mode in fastclick? HOT 7
- issue in make package element HOT 3
- How to use replayUnqueue or MultiReplayUnqueue to limit the tx rate? HOT 3
- Automatically update wiki doc with CI
- middleclick configuration HOT 1
- compile error about context HOT 1
- Allow loop in FromDump HOT 4
- Non-existent librairies when parsing llvm-config's output
- FromDPDKDevice(FLOW_RULES_FILE) only work with DPDK<=21.11 HOT 2
- About address of IIO LLC WAYS in Ice lake HOT 3
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 fastclick.