nvme-tcp: Set SO_PRIORITY for all host sockets
authorWunderlich, Mark <mark.wunderlich@intel.com>
Thu, 16 Jan 2020 00:46:12 +0000 (00:46 +0000)
committerKeith Busch <kbusch@kernel.org>
Wed, 4 Mar 2020 17:09:08 +0000 (09:09 -0800)
commit9912ade355902adb9dacbec640fac23c4e73019d
treee0af82ee37e3ffcb4cf2bc54bdd3dffc298edc9a
parentd3a9b0cadf8cea1746a6bf525d049198e705836a
nvme-tcp: Set SO_PRIORITY for all host sockets

Enable ability to associate all sockets related to NVMf TCP traffic
to a priority group that will perform optimized network processing for
this traffic class. Maintain initial default behavior of using priority
of zero.

Signed-off-by: Kiran Patil <kiran.patil@intel.com>
Signed-off-by: Mark Wunderlich <mark.wunderlich@intel.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/host/tcp.c