ANLAB-KAIST / Packet-IO-Engine

A high-performance and batching-oriented device driver for Intel 82598/82599-based network interface cards, the work is done in cooperation with ANLAB and NDSL.
http://shader.kaist.edu/packetshader/io_engine/
Other
144 stars 43 forks source link

Linux 3.6 support #3

Closed zendibar closed 10 years ago

zendibar commented 11 years ago

Please support Linux kernel 3.6 onwards

AntonioSimba commented 11 years ago

I vote for this too...

ngilero commented 11 years ago

I think this pull request ( https://github.com/PacketShader/Packet-IO-Engine/pull/6 ) takes one step closer to this... would be great to see the latest stable kernel supported (3.7.9 at the moment)

tbarbette commented 10 years ago

Is there any improvement on that matter with current kernel version (let's say 3.13) ? A compilable version on a fork/branch somewhere?

achimnol commented 10 years ago

I began to upgrade kernel support to 3.13. It compiles but needs run-time tests. :)

achimnol commented 10 years ago

It seems to work (RX and TX), but the NUMA nodes of devices are detected incorrectly. There was a workaround for this, by masking 0x80 to PCI bus number, but it needs to be generalized. I don't know why putting dev_to_node(&pdev->dev) around the line 6907 of ixgbe_main.c does not give the correct result. Maybe numa_node should be set by the driver, if not automatically set by the kernel. Any help is welcome!

achimnol commented 10 years ago

Ok, now it transmits and receives the packets correctly. In my test machine, pspgen using eight 10GbE ports can send 64 B packets in 76.6 Gbps. The performance issues will be investigated afterwards. I'm closing the issue.