summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorHuy Nguyen <huyn@mellanox.com>2018-03-21 21:39:17 -0500
committerSaeed Mahameed <saeedm@mellanox.com>2018-05-24 14:23:33 -0700
commitecdf2dadee8e8c5015771b802a9851ff332d3fc4 (patch)
treebdd4db7813649a1aa9d3969cc0109a6cc73388c2 /include/net
parent0696d60853d58f1b9431bc689e4e4526845b790a (diff)
downloadlinux-0-day-ecdf2dadee8e8c5015771b802a9851ff332d3fc4.tar.gz
linux-0-day-ecdf2dadee8e8c5015771b802a9851ff332d3fc4.tar.xz
net/mlx5e: Receive buffer support for DCBX
Add dcbnl's set/get buffer configuration callback that allows user to set/get buffer size configuration and priority to buffer mapping. By default, firmware controls receive buffer configuration and priority of buffer mapping based on the changes in pfc settings. When set buffer call back is triggered, the buffer configuration changes to manual mode. The manual mode means mlx5 driver will adjust the buffer configuration accordingly based on the changes in pfc settings. ConnectX buffer stride is 128 Bytes. If the buffer size is not multiple of 128, the buffer size will be rounded down to the nearest multiple of 128. 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 'include/net')
0 files changed, 0 insertions, 0 deletions