]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4/cxgb4vf: For T6 adapter, set FBMIN to 64 bytes
authorHariprasad Shenai <hariprasad@chelsio.com>
Tue, 1 Mar 2016 11:49:33 +0000 (17:19 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Mar 2016 19:46:29 +0000 (14:46 -0500)
commit8ff99aa4945da244084c36ac56d6c10de5405520
tree22d2e1c3285a33eb2ef6b593dce7101bfa269ca0
parent8b195a7b488a2a760a345b74742107d6a7b0beac
cxgb4/cxgb4vf: For T6 adapter, set FBMIN to 64 bytes

T4 and T5 hardware will not coalesce Free List PCI-E Fetch Requests if
the Host Driver provides more Free List Pointers than the Fetch Burst
Minimum value.  So if we set FBMIN to 64 bytes and the Host Driver
supplies 128 bytes of Free List Pointer data, the hardware will issue two
64-byte PCI-E Fetch Requests rather than a single coallesced 128-byte
Fetch Request. T6 fixes this. So, for T4/T5 we set the FBMIN value to 128

Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/sge.c
drivers/net/ethernet/chelsio/cxgb4/t4_values.h
drivers/net/ethernet/chelsio/cxgb4vf/sge.c