aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/af_unix.h
diff options
context:
space:
mode:
authorYijing Wang <[email protected]>2013-08-08 13:03:12 +0000
committerDavid S. Miller <[email protected]>2013-08-09 20:49:51 +0000
commit0f847584a84cfe2bb24d82df516d745db840bb5f (patch)
tree9f5d8bf1f95fdfbf3520a36fba26221865442201 /include/net/af_unix.h
parentnetxen: clean up unnecessary MSI/MSI-X capability find (diff)
downloadkernel-0f847584a84cfe2bb24d82df516d745db840bb5f.tar.gz
kernel-0f847584a84cfe2bb24d82df516d745db840bb5f.zip
tg3: clean up unnecessary MSI/MSI-X capability find
PCI core will initialize device MSI/MSI-X capability in pci_msi_init_pci_dev(). So device driver should use pci_dev->msi_cap/msix_cap to determine whether the device support MSI/MSI-X instead of using pci_find_capability(pci_dev, PCI_CAP_ID_MSI/MSIX). Access to PCIe device config space again will consume more time. Signed-off-by: Yijing Wang <[email protected]> Cc: Nithin Nayak Sujir <[email protected]> Cc: Michael Chan <[email protected]> Cc: [email protected] Cc: [email protected] Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/net/af_unix.h')
0 files changed, 0 insertions, 0 deletions