summaryrefslogtreecommitdiff
path: root/drivers/net/dsa/dsa_loop.c
diff options
context:
space:
mode:
authorHuy Nguyen <huyn@mellanox.com>2018-03-21 21:10:22 -0500
committerSaeed Mahameed <saeedm@mellanox.com>2018-05-24 14:23:33 -0700
commit0696d60853d58f1b9431bc689e4e4526845b790a (patch)
tree08ef41cc3e91aa751867ddc25c4e55329c510dec /drivers/net/dsa/dsa_loop.c
parent50b4a3c23646254c7345f3663ff1e0a6cbcd9abb (diff)
downloadlinux-0696d60853d58f1b9431bc689e4e4526845b790a.tar.gz
linux-0696d60853d58f1b9431bc689e4e4526845b790a.tar.bz2
linux-0696d60853d58f1b9431bc689e4e4526845b790a.zip
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 <huyn@mellanox.com> Reviewed-by: Parav Pandit <parav@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/dsa/dsa_loop.c')
0 files changed, 0 insertions, 0 deletions