"problems. Run: ifconfig %s -rxcsum", ifname, ifname);
ret = 1;
}
+#ifdef IFCAP_TOE
if (if_caps & (IFCAP_TSO|IFCAP_TOE|IFCAP_LRO)) {
SCLogWarning(SC_ERR_NIC_OFFLOADING,
"Using %s with TSO, TOE or LRO activated can lead to "
ifname, ifname);
ret = 1;
}
+#else
+ if (if_caps & (IFCAP_TSO|IFCAP_LRO)) {
+ SCLogWarning(SC_ERR_NIC_OFFLOADING,
+ "Using %s with TSO or LRO activated can lead to "
+ "capture problems. Run: ifconfig %s -tso -lro",
+ ifname, ifname);
+ ret = 1;
+ }
+#endif
return ret;
}
#endif