]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-tcp: Add TOS for tcp transport
authorIsrael Rukshin <israelr@mellanox.com>
Sun, 18 Aug 2019 09:08:54 +0000 (12:08 +0300)
committerSagi Grimberg <sagi@grimberg.me>
Thu, 29 Aug 2019 19:55:02 +0000 (12:55 -0700)
commite5b171f31fe9edaf6325c279c0cee0fc605731c0
treeb5df635a80bfbb6c4a6185f5bc362f6e2a4aeaf4
parent30a0b682fcd4ccb31ea7e13d011d7b6b72230e20
nvme-tcp: Add TOS for tcp transport

TOS provide clients the ability to segregate traffic flows for
different type of data.
One of the TOS usage is bandwidth management which allows setting bandwidth
limits for QoS classes, e.g. 80% bandwidth to controllers at QoS class A
and 20% to controllers at QoS class B.

usage examples:
nvme connect --tos=0 --transport=tcp --traddr=10.0.1.1 --nqn=test-nvme

Signed-off-by: Israel Rukshin <israelr@mellanox.com>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
drivers/nvme/host/tcp.c