diff options
author | Damien Le Moal <dlemoal@kernel.org> | 2025-01-04 07:59:41 +0300 |
---|---|---|
committer | Keith Busch <kbusch@kernel.org> | 2025-01-11 06:30:47 +0300 |
commit | 43043c9b97258a008b3402cfbbf1c5d82151c77f (patch) | |
tree | aa0f302ea68b328fd1a1d8d2a9b5e82fcbc75100 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 6202783184bf063c57efb8d83ce0adaf8da11090 (diff) | |
download | linux-43043c9b97258a008b3402cfbbf1c5d82151c77f.tar.xz |
nvmet: Introduce nvmet_req_transfer_len()
Add the new function nvmet_req_transfer_len() to parse a request command
to extract the transfer length of the command. This function
implementation relies on multiple helper functions for parsing I/O
commands (nvmet_io_cmd_transfer_len()), admin commands
(nvmet_admin_cmd_data_len()) and fabrics connect commands
(nvmet_connect_cmd_data_len).
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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions