diff options
author | Arjun Vynipadath | 2017-03-20 09:52:38 +0100 |
---|---|---|
committer | David S. Miller | 2017-03-22 18:53:49 +0100 |
commit | bb58d07964f2f09e133b46541447c567a7306dc1 (patch) | |
tree | 66f9c4176f5d5228d5e8792da557f2786a95308a /drivers/pps/sysfs.c | |
parent | net: dwc-xlgmac: add module license (diff) | |
download | kernel-qcow2-linux-bb58d07964f2f09e133b46541447c567a7306dc1.tar.gz kernel-qcow2-linux-bb58d07964f2f09e133b46541447c567a7306dc1.tar.xz kernel-qcow2-linux-bb58d07964f2f09e133b46541447c567a7306dc1.zip |
cxgb4: Update IngPad and IngPack values
We are using the smallest padding boundary (8 bytes), which isn't
smaller than the Memory Controller Read/Write Size
We get best performance in 100G when the Packing Boundary is a multiple
of the Maximum Payload Size. Its related to inefficient chopping of DMA
packets by PCIe, that causes more overhead on bus. So driver is helping
by making the starting address alignment to be MPS size.
We will try to determine PCIE MaxPayloadSize capabiltiy and set
IngPackBoundary based on this value. If cache line size is greater than
MPS or determinig MPS fails, we will use cache line size to determine
IngPackBoundary(as before).
Signed-off-by: Arjun Vynipadath <arjun@chelsio.com>
Signed-off-by: Casey Leedom <leedom@chelsio.com>
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/pps/sysfs.c')
0 files changed, 0 insertions, 0 deletions