RFC Sample driver using raw Ethernet packet interface
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | gianfar: reserve the first transmit queuedrivers/ | +7 | 0 replies | |
| 2/4 | gianfar: reserve the first receive queuedrivers/ drivers/ drivers/ | +23 | 0 replies | |
| 3/4 | Add a real time module for the gianfar driver.drivers/ drivers/ drivers/ +1 more | +399 | 0 replies | |
| 4/4 | Add a real time packet reception to the gianfar driver.drivers/ drivers/ drivers/ | +62 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Xenomai-core] [RFC 0/4] Sample driver using raw Ethernet packet interface
*** Applies to ipipe-2.6.36-powerpc-2.12-03
This patch provides an example driver for the raw packet interface. Much of the code is copy/paste from the main gainfar driver. The patch uses the hardware priority queues of the P2020 to make a fast path for real time traffic. Note this might not work on other eTSEC devices due to slight implementation differences in the hardware!
If you really want to run this code, you might also apply the following patch.
cd0ea241 gianfar: Fix crashes on RX path
Richard Cochran (4):
gianfar: reserve the first transmit queue
gianfar: reserve the first receive queue
Add a real time module for the gianfar driver. Add a real time packet reception to the gianfar driver.
drivers/net/Makefile | 5 + drivers/net/gianfar.c | 120 ++++---------- drivers/net/gianfar.h | 90 ++++++++++- drivers/net/gianfar_ethtool.c | 163 +------------------ drivers/net/gianfar_rt.c | 366 +++++++++++++++++++++++++++++++++++++++++ 5 files changed, 487 insertions(+), 257 deletions(-) create mode 100644 drivers/net/gianfar_rt.c
Signature · 1 line
1.7.2.5