Great, some commentary, see below.
> BTW, it looks like not many people are using this driver: the original had
> a bug which made it spit out one printk per Tx packet, which was *not*
> funny. Also, the module could not be unloaded and reloaded, as it failed
> to release some of its resources (Alan already has a fix for that)..
Indeed.
Firstly, I would not configure the card to drop packets with bad
checksums. If you do this, the errors do not propagate into the
correct ipv4 snmp tables, which is bad. Also consider the case where
the card has some bug and it erroneously verifies rx checksums in some
strange cases, we would be hard pressed to find out with how you are
configuring it in this way.
Next, please remove the unconditional:
+ printk(KERN_DEBUG "sf: checksum_hw, status2 = %x\n", np->rx_done_q[np->rx_done].status2);
or at the very least make it print out netdev->name instead of the
cryptic "sf: " prefix.
Finally, what are the listed distribution terms of this firmware?
I want to make sure it is legal to distribute it.
Deal with these three issues, and I'll stick this into my zerocopy
patch sets. Thanks again.
Later,
David S. Miller
davem@redhat.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/