diff options
author | 2025-01-04 13:59:36 +0900 | |
---|---|---|
committer | 2025-01-10 19:30:47 -0800 | |
commit | 15e9d26445441a0c05ee14bef7ba752088f66a0c (patch) | |
tree | 16b17f2aa3e7121ab0c8d3afe8a2c59c453a714f /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | nvmet: Add vendor_id and subsys_vendor_id subsystem attributes (diff) | |
download | wireguard-linux-15e9d26445441a0c05ee14bef7ba752088f66a0c.tar.xz wireguard-linux-15e9d26445441a0c05ee14bef7ba752088f66a0c.zip |
nvmet: Export nvmet_update_cc() and nvmet_cc_xxx() helpers
Make the function nvmet_update_cc() available to target drivers by
exporting it. To also facilitate the manipulation of the cc register
bits, move the inline helper functions nvmet_cc_en(), nvmet_cc_css(),
nvmet_cc_mps(), nvmet_cc_ams(), nvmet_cc_shn(), nvmet_cc_iosqes(), and
nvmet_cc_iocqes() from core.c to nvmet.h so that these functions can be
reused in target controller drivers.
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Tested-by: Rick Wertenbroek <rick.wertenbroek@gmail.com>
Tested-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions