self.transport_tcp_options: Optional[Dict[str, int]] = transport_tcp_options
#: ``tgt_cmd_extra_args`` extra arguments for the nvmf_tgt process
self.tgt_cmd_extra_args = tgt_cmd_extra_args
+ if not self.tgt_cmd_extra_args:
+ self.tgt_cmd_extra_args = '--cpumask=0xF'
+ elif '--cpumask' not in self.tgt_cmd_extra_args:
+ self.tgt_cmd_extra_args = self.tgt_cmd_extra_args + ' --cpumask=0xF'
#: ``discovery_addr`` address of the discovery service
self.discovery_addr = discovery_addr
#: ``discovery_port`` port of the discovery service