linux/drivers/nvme/target
Max Gurtovoy a40aae6bbf nvmet-tcp: constify nvmet_tcp_ops
nvmet_tcp_ops is never modified and can be made const to allow the
compiler to put it in read-only memory, as done in other transports.

Before:
   text    data     bss     dec     hex filename
  16164     160      12   16336    3fd0 drivers/nvme/target/tcp.o

After:
   text    data     bss     dec     hex filename
  16277      64      12   16353    3fe1 drivers/nvme/target/tcp.o

Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Reviewed-by: Israel Rukshin <israelr@mellanox.com>
Acked-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2020-06-11 09:10:05 -06:00
..
admin-cmd.c nvmet: add metadata/T10-PI support 2020-05-27 07:12:40 +02:00
configfs.c nvmet: add metadata/T10-PI support 2020-05-27 07:12:40 +02:00
core.c nvmet: cleanups the loop in nvmet_async_events_process 2020-05-27 07:12:40 +02:00
discovery.c nvmet: rename nvmet_check_data_len to nvmet_check_transfer_len 2020-05-27 07:12:39 +02:00
fabrics-cmd.c nvmet: add metadata/T10-PI support 2020-05-27 07:12:40 +02:00
fc.c nvmet-fc: slight cleanup for kbuild test warnings 2020-05-09 16:18:35 -06:00
fcloop.c nvme-fcloop: add target to host LS request support 2020-05-09 16:18:34 -06:00
io-cmd-bdev.c for-5.8/drivers-2020-06-01 2020-06-02 15:37:03 -07:00
io-cmd-file.c nvmet: rename nvmet_check_data_len to nvmet_check_transfer_len 2020-05-27 07:12:39 +02:00
Kconfig nvmet: add metadata characteristics for a namespace 2020-05-27 07:12:39 +02:00
loop.c nvme: Make nvme_uninit_ctrl symmetric to nvme_init_ctrl 2020-03-26 04:51:56 +09:00
Makefile nvmet: introduce target-side trace 2019-06-21 11:15:46 +02:00
nvmet.h nvmet: add metadata support for block devices 2020-05-27 07:12:40 +02:00
rdma.c nvmet-rdma: add metadata/T10-PI support 2020-05-27 07:12:40 +02:00
tcp.c nvmet-tcp: constify nvmet_tcp_ops 2020-06-11 09:10:05 -06:00
trace.c nvmet: trace: parse Get LBA Status command in detail 2019-08-29 12:55:01 -07:00
trace.h nvmet: add async event tracing support 2020-05-27 07:12:38 +02:00