Skip to content

PCI: add two more values for PCIe Max_Read_Request_Size and initially use them in r8169 network driver

Heiner Kallweit linux-pci netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2PCI: Add two more values for PCIe Max_Read_Request_Sizeinclude/uapi/linux/pci_regs.h+2 -02 replies
2/2r8169: replace magic numbers with PCI MRRS constantdrivers/net/ethernet/realtek/r8169.c+19 -200 replies

Reviews trailers per patch

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

PatchBjorn Helgaas
1/2A-b
2/2

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 net-next 0/2] PCI: add two more values for PCIe Max_Read_Request_Size and initially use them in r8169 network driver

In r8169 network driver I stumbled across a magic number translating to PCI MRRS size 4K. The PCI core is still missing constants for values 2K and 4K (as defined in PCI standard).

So let's add these two constants and use the 4K constant in r8169.

Second patch depends on the first one, therefore both patches preferrably should go through either PCI or netdev tree.

Heiner Kallweit (2):
PCI: add two more values for PCIe Max_Read_Request_Size
r8169: replace magic numbers with PCI MRRS constant

 drivers/net/ethernet/realtek/r8169.c | 39 ++++++++++++++--------------
 include/uapi/linux/pci_regs.h        |  2 ++
 2 files changed, 21 insertions(+), 20 deletions(-)
Signature · 1 line
2.17.0