aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/dsa_loop.c
diff options
context:
space:
mode:
authorHuy Nguyen <[email protected]>2018-03-22 02:10:22 +0000
committerSaeed Mahameed <[email protected]>2018-05-24 21:23:33 +0000
commit0696d60853d58f1b9431bc689e4e4526845b790a (patch)
tree08ef41cc3e91aa751867ddc25c4e55329c510dec /drivers/net/dsa/dsa_loop.c
parentnet/mlx5: PPTB and PBMC register firmware command support (diff)
downloadkernel-0696d60853d58f1b9431bc689e4e4526845b790a.tar.gz
kernel-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 <[email protected]> Reviewed-by: Parav Pandit <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'drivers/net/dsa/dsa_loop.c')
0 files changed, 0 insertions, 0 deletions