Skip to content

PCI: per pci device sysfs set_max_vfs support

Yinghai Lu linux-pci lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5PCI: Add pci_dev_typedrivers/pci/pci-sysfs.c drivers/pci/pci.h drivers/pci/probe.c+26 -01 reply
2/5PCI, sys: Use is_visable() with boot_vga attribute for pci_devdrivers/pci/pci-sysfs.c+10 -111 reply
3/5PCI: add set_max_vfs in pci_driver opsinclude/linux/pci.h+1 -03 replies
4/5PCI: Add max_vfs in sysfs per pci device where supportsdrivers/pci/pci-sysfs.c include/linux/pci.h+52 -02 replies
5/5ixgbe: add driver set_max_vfs supportdrivers/net/ethernet/intel/ixgbe/ixgbe.h drivers/net/ethernet/intel/ixgbe/ixgbe_main.c+37 -96 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchGreg Kroah-Hartman
1/5
2/5A-b
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] PCI: per pci device sysfs set_max_vfs support

First two patches are old patches in my queue. They introduce pci_dev_type and use it with vga in sysfs.

other two will add set_max_vfs in sysfs for device that support siov.

last one is draft version for ixgbe, still need ixgbe guys to sort it out.

Thanks

Yinghai

Yinghai Lu (5):
PCI: Add pci_dev_type
PCI, sys: Use is_visable() with boot_vga attribute for pci_dev
PCI: add set_max_vfs in pci_driver ops
PCI: Add max_vfs in sysfs per pci device where supports
ixgbe: add driver set_max_vfs support

 drivers/net/ethernet/intel/ixgbe/ixgbe.h      |    2 +
 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c |   44 +++++++++---
 drivers/pci/pci-sysfs.c                       |   96 ++++++++++++++++++++++---
 drivers/pci/pci.h                             |    1 +
 drivers/pci/probe.c                           |    1 +
 include/linux/pci.h                           |    2 +
 6 files changed, 126 insertions(+), 20 deletions(-)
Signature · 1 line
1.7.7