]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'qed-Add-Multi-TC-RoCE-support'
authorDavid S. Miller <davem@davemloft.net>
Tue, 7 Aug 2018 20:22:11 +0000 (13:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Aug 2018 20:22:11 +0000 (13:22 -0700)
commit30fbb61c42c7b0a26b6bec28ebcb924991954f5b
treef2f9f5cdfecc816dfe2b0d9247f381ebcffb3d72
parent02c338fddcd800094fa7133f9c5664d788a3462e
parent3c2d437b9dae37f22bb12e473a0a8dac2864ebe0
Merge branch 'qed-Add-Multi-TC-RoCE-support'

Denis Bolotin says:

====================
qed: Add Multi-TC RoCE support

This patch series adds support for multiple concurrent traffic classes for RoCE.
The first three patches enable the required parts of the driver to learn the TC
configuration, and the last one makes use of it to enable the feature.
Please consider applying this to net-next.

V1->V2:
-------
Avoid allocation in qed_dcbx_get_priority_tc().
Move qed_dcbx_get_priority_tc() out of CONFIG_DCB section since it doesn't call
qed_dcbx_query_params() anymore.

v2->V3:
-------
patch 1/3:
qed_dcbx_get_priority_tc() always returns a valid TC by value. In error cases,
it returns QED_DCBX_DEFAULT_TC (currently defined 0).
patch 3/3:
Cosmetic changes in qed_dev.c.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>