Assume offloading in use if 1/10th of the packets has a bad checksum.

remotes/origin/master-1.2.x
Victor Julien 15 years ago
parent ea34aeff3d
commit ff9fb7e1b5

@ -31,6 +31,6 @@ int ChecksumAutoModeCheck(uint32_t thread_count,
/* constant linked with detection of interface with /* constant linked with detection of interface with
* invalid checksums */ * invalid checksums */
#define CHECKSUM_SAMPLE_COUNT 1000 #define CHECKSUM_SAMPLE_COUNT 1000
#define CHECKSUM_INVALID_RATIO 5 #define CHECKSUM_INVALID_RATIO 10
#endif #endif

Loading…
Cancel
Save