OK.
> > rather than using the IS_CYCLONE stuff. Then we can add cards
> > individually as confirmation comes in.
>
> Seems, you meaned opposite way. To add this flag to all the chips,
> except for several, and to remove it as soon as it is "confirmed"
> that it does not work. 8)
errr.. Well that certainly ensures we'll hear about it quickly :)
Problem is, some of these NICs are very rare, and the driver could
be broken for quite some time before we hear about it. Months.
I think what I'd prefer to do is this:
In vortex_close() we _know_ whether the NIC is doing hardware checksumming,
so we can add:
if (rx_csumhits && (dev->drv_flags&HAS_HWCKSM) == 0)
printk("this NIC supports hardware checksums! Please see <some URL>")
This will work well - people are quite helpful.
> Also, please, reset the state. Until this snapshot, hw checksumming
> did not work due to bugs in netfilter, so that all the reports about
> failures to checksum are dubious.
That's good to hear.
It's possible that some devices in the device table are marked
as Cyclone when in fact they're Boomerangs. It's pretty confusing.
So these will support scatter/gather but not checksumming.
Using rx_csumhits should be reliable. It's a global counter at
present - I'll make it per-device.
-
-
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/