Re: [PATCH 2/9] scsi: introduce a max_segment_size host_template parameters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Dec 11, 2018 at 10:02:38AM +0800, Ming Lei wrote:
> Just one concern, max segment size is often related with one specific
> controller's DMA capability.
> 
> Is it possible that HBAs have different segment size, but all are driven
> by same driver(shared scsi_host_template)?

It is support just like most other attributes - by having one variable
in the host template and one in the host, allowing the driver to
override the per-host one between scsi_host_alloc and scsi_add_host.



[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux