S2io: Enable multi ring support
authorSreenivasa Honnur <Sreenivasa.Honnur@neterion.com>
Tue, 29 Apr 2008 01:08:45 +0000 (21:08 -0400)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 29 Apr 2008 05:55:30 +0000 (01:55 -0400)
commit0425b46a4beef234c522f183d5c2934edbb0f625
tree429f3eca8dde628cd6d4b9ceca421222445c9adf
parentdfd44151e8888b964b7f2400f26794154a58c86b
S2io: Enable multi ring support

- Seperate ring specific data
- Initialize all configured rings with equal priority.
- Updated boundary check for number of Rings.
- Updated per ring statistics of rx_bytes and rx_packets.
- Moved lro struct from struct s2io_nic to struct ring_info.
- Access respective rx ring directly in fill_rx_buffers.
- Moved rx_bufs_left struct s2io_nic to struct ring_info.
- Added per ring variables -  rxd_mode, rxd_count, dev, pdev.

Signed-off-by: Surjit Reang <surjit.reang@neterion.com>
Signed-off-by: Sreenivasa Honnur <sreenivasa.honnur@neterion.com>
Signed-off-by: Ramkrishna Vepa <ram.vepa@neterion.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/s2io.c
drivers/net/s2io.h