]> err.no Git - linux-2.6/commit
netxen: cut-through rx changes
authorDhananjay Phadke <dhananjay@netxen.com>
Tue, 22 Jul 2008 02:44:08 +0000 (19:44 -0700)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 22 Jul 2008 21:52:22 +0000 (17:52 -0400)
commitd9e651bc06690c5a5326e8d019fa7668409bc819
treedf3051523f4c30f5b6da4230c80e70957bb144ed
parentc9fc891f86c062449116fde8826a0ead650e17ac
netxen: cut-through rx changes

NX3031 supports cut-through operation where ingress packets are
directly dma'ed into host buffers to reduce latency.

This requires larger dma buffers (2kb) and different alignemnt.

The buffer posting logic is changed a bit. The free rx buffers
are maintained in linked list, since the received reference
handles can be out of order. However rx descriptors are still
posted sequentially, indexed by producer.

Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/netxen/netxen_nic.h
drivers/net/netxen/netxen_nic_ctx.c [new file with mode: 0644]
drivers/net/netxen/netxen_nic_init.c
drivers/net/netxen/netxen_nic_main.c