diff options
author | Huy Nguyen <[email protected]> | 2018-03-21 21:10:22 -0500 |
---|---|---|
committer | Saeed Mahameed <[email protected]> | 2018-05-24 14:23:33 -0700 |
commit | 0696d60853d58f1b9431bc689e4e4526845b790a (patch) | |
tree | 08ef41cc3e91aa751867ddc25c4e55329c510dec /tools/perf/scripts/python/syscall-counts.py | |
parent | 50b4a3c23646254c7345f3663ff1e0a6cbcd9abb (diff) |
net/mlx5e: Receive buffer configuration
Add APIs for buffer configuration based on the changes in
pfc configuration, cable len, buffer size configuration,
and priority to buffer mapping.
Note that the xoff fomula is as below
xoff = ((301+2.16 * len [m]) * speed [Gbps] + 2.72 MTU [B]
xoff_threshold = buffer_size - xoff
xon_threshold = xoff_threshold - MTU
Signed-off-by: Huy Nguyen <[email protected]>
Reviewed-by: Parav Pandit <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions