Hello,

In the fr_fastroute() method of ip_fil_solaris.c, there is a call
to DB_CKSUMFLAGS(mb) which is intended to disable hardware checksum.

I am just trying to understand the code deeply; so my question is: 
I wonder : for what is DB_CKSUMFLAGS() needed ? 

I have a machine in which there is the following line 
in /etc/system:

set ip:dohwcksum = 0

Which means as far as I know, that hw checksum is disabled.
Also , as far as I know, you can verify that hw checksum is disabled,
by running:
echo dohwcksum/D | mdb -k 
And indeed it has a value 0 on my machine (disbaled). 

So why is this needed ? 

Do be more spcecific: on a machine on which hw checksum is disabled,
is this call redundant an unneeded ? (I am just trying to understand better 
the code).

Regards,
David
 
 
This message posted from opensolaris.org
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to