Tom Chen wrote:
During the NICDrv load_unload test, we recently notice that, recent OpenSolaris release (nv119, 121) requests the driver to send large packet (larger than mtu) but does not indicate TSO/LSO offload. Earlier version of OpenSolaris, like nv112, do not have this issue. I am afraid this is a new bug of OpenSolaris. Below are our code in the sending path and what we found: hcksum_retrieve(mp, NULL, NULL, NULL, NULL, NULL, NULL, &pflags); if (pflags != 0) { uint32_t lso_flags = 0; lso_info_get(mp, &mss, &lso_flags); use_lso = (lso_flags == HW_LSO); } else { if (total_len > 1536) { cmn_err(CE_WARN, "large Tx packet: %d\n", total_len); } }
Where is total_len coming from and what did you report as your MTU to the stack when you registered?
Paul -- =================================== Paul Durrant http://www.linkedin.com/in/pdurrant =================================== _______________________________________________ driver-discuss mailing list driver-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/driver-discuss