diff options
author | Bjorn Helgaas <[email protected]> | 2018-01-25 12:49:27 -0600 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2018-01-30 15:25:33 -0600 |
commit | e3c44b8ddc2349b48950b3b15c3b9d74655356c7 (patch) | |
tree | aeaaca17b24a4699403b3f6791f509510e7a83b6 /net/unix/sysctl_net_unix.c | |
parent | be3039a39265a0d7208f347db95306f343ff8bc0 (diff) |
PCI/DPC: Read RP PIO Log Size once at probe
The RP PIO Log Size is a read-only field in the DPC Capability, so it is
constant and known at probe-time, but previously we read it every time we
processed an RP PIO error.
Read it once in dpc_probe() (if the RP Extensions for DPC are supported)
and remember the size in struct dpc_dev. No functional change intended.
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Keith Busch <[email protected]>
Reviewed-by: Sinan Kaya <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions