New tunable parameters

Commit 55d85d5a8c45c4559a4a0e675c37b0c3afb19c2f (backport of the upstream changes)
replaced three hardcoded constants with a tunable parameters.
This commit makes these tunables available as module parameters in Linux.