diff options
| author | Or Gerlitz <[email protected]> | 2015-03-18 12:57:34 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-03-18 18:55:19 +0000 |
| commit | fc31e2560a2443410fe45c27116fae736541a7b5 (patch) | |
| tree | 6b2d25803b612cb1fcb2038d069d4063a843a4eb /drivers/net/xen-netback/interface.c | |
| parent | net: Add max rate tx queue attribute (diff) | |
| download | kernel-fc31e2560a2443410fe45c27116fae736541a7b5.tar.gz kernel-fc31e2560a2443410fe45c27116fae736541a7b5.zip | |
net/mlx4_core: Add basic support for QP max-rate limiting
Add the low-level device commands and definitions used for QP max-rate limiting.
This is done through the following elements:
- read rate-limit device caps in QUERY_DEV_CAP: number of different
rates and the min/max rates in Kbs/Mbs/Gbs units
- enhance the QP context struct to contain rate limit units and value
- allow to do run time rate-limit setting to QPs through the
update-qp firmware command
- QP rate-limiting is disallowed for VFs
Signed-off-by: Or Gerlitz <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
