commit | 5dc162682d4901025a02b7045f3112d569b4bab9 | [log] [tgz] |
---|---|---|
author | Dhananjay Phadke <dhananjay@netxen.com> | Mon Dec 31 10:08:57 2007 -0800 |
committer | Jeff Garzik <jeff@garzik.org> | Sat Jan 12 17:35:38 2008 -0500 |
tree | 410daa76d45f3f7aee13eb0750b890a9ba8ad49f | |
parent | 53a01e00f8c78bc5875e09aca7749ea54bb09798 [diff] |
netxen: fix byte-swapping in tx and rx Here's the reworked patch. This cleans up some unnecessary byte-swapping while setting up tx and interpreting rx desc. The 64 bit rx status data should be converted to host endian format only once and the macros just need to extract bitfields. This saves a spate of interrupts on pseries blades caused by buggy (non) processing rx status ring. Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>