summaryrefslogtreecommitdiff
path: root/lookup.h
diff options
context:
space:
mode:
authorIvan Koveshnikov <ivan.koveshnikov@gcorelabs.com>2021-03-29 16:12:15 +0500
committerTobias Klauser <tobias.klauser@gmail.com>2021-04-06 12:26:32 +0200
commit5a9ca6230ed00f5cb15401dbdb516734f8d17328 (patch)
treee626bf1e01714d0d469bed8094a9d936edc40249 /lookup.h
parent02d9fbd7397bd6c0ba30ee35edd48d085620aebf (diff)
trafgen: allow to set packet rate in kpps and Mpps
Signed-off-by: Ivan Koveshnikov <ivan.koveshnikov@gcorelabs.com>
Diffstat (limited to 'lookup.h')
0 files changed, 0 insertions, 0 deletions
erature thresholds the temperature data is a 9-bit signed value. This allows and additional 0.5 degrees of precision on the reading but makes handling negative values slightly harder. In order to have sign-extension applied correctly the 9-bit value is stored in the upper bits of a signed 16-bit value. When presenting this in sysfs the value is shifted and scaled appropriately. Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation')