nvmet-tcp: set SO_PRIORITY for accepted sockets
authorWunderlich, Mark <mark.wunderlich@intel.com>
Thu, 16 Jan 2020 00:46:16 +0000 (00:46 +0000)
committerKeith Busch <kbusch@kernel.org>
Wed, 4 Mar 2020 17:09:09 +0000 (09:09 -0800)
commit43cc66892e81bb05283159e489a19cec177e6f9d
tree8af393148b8794ffec4f245ccf32dfa6ee35a154
parent9912ade355902adb9dacbec640fac23c4e73019d
nvmet-tcp: set SO_PRIORITY for accepted 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/target/tcp.c