Re: SIL24: pcie_set_readrq 4096

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

 



Jassi Brar wrote:
> On Thu, Jul 22, 2010 at 10:18 PM, Tejun Heo <tj@xxxxxxxxxx> wrote:
> > It's been a while since I read pci-e spec but IIUC readrq size and
> > payload size are independent and if readrq is larger than payload size
> > it's supposed to complete in multiple steps.  I could be wrong tho.
> 
> AFAIUI readrq size is independent and not greater than the max_payload
> size. Payload size is what max a device can handle and readrq is what a
> device can ask.

The first and third statements are correct, the second is not. Read request may 
be larger than the usual payload size.

However that is something the complete PCIe fabric up to that device has to 
support. So if the root port does only support read request of something 
smaller the device must be configured with that maximum size so it will not 
issue any bigger requests. Blindly configuring a device to the maximum allowed 
value looks dangerous and broken to me.

Eike

Attachment: signature.asc
Description: This is a digitally signed message part.


[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux