Andrew Gallatin wrote:

 > > My driver claims to do GLD_CAP_CKSUM_PARTIAL.  Am I claiming the wrong
 > > thing?  What does it mean to claim GLD_CAP_CKSUM_FULL_V4?
 > > GLD_CAP_CKSUM_FULL_V6?
> > All the flags you specify will affect the way the network
 > stack generates checksum info for outbound packets.  For
 > inbound, it'll take anything it recognizes.  That means
 > the feature can be asymmetric, e.g. partial on transmit
 > and full/partial/both/none on receive.

Hmm.. This does not seem to happen, at least on 10U1.  On 10U1,
I claim to be GLD_CAP_CKSUM_PARTIAL.  For IPv6, I attach
the correct start/suff/end/csum and call it HCK_PARTIALCKSUM
and dtrace shows that it is ignored (hot stacks below).  If
I cheat and claim a 0xffff HCK_FULLCKSUM, then it is still
ignored.  Eg:

Right; you'd have to wait for S10 Update 2 (or whichever update
the changes went into) for this to take effect.  There's no IPV6
checksum offload support in Update 1.

Adi
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to