aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc/tx_common.c
diff options
context:
space:
mode:
authorEdward Cree <ecree@solarflare.com>2020-08-03 21:33:20 +0100
committerDavid S. Miller <davem@davemloft.net>2020-08-03 18:22:54 -0700
commitadcfc3482ffff813fa2c34e5902005853f79c2aa (patch)
treeac77f1b4b1d797c63fc06444e7660a3d572de9aa /drivers/net/ethernet/sfc/tx_common.c
parentsfc_ef100: fail the probe if NIC uses unsol_ev credits (diff)
downloadlinux-dev-adcfc3482ffff813fa2c34e5902005853f79c2aa.tar.xz
linux-dev-adcfc3482ffff813fa2c34e5902005853f79c2aa.zip
sfc_ef100: read Design Parameters at probe time
Several parts of the EF100 architecture are parameterised (to allow varying capabilities on FPGAs according to resource constraints), and these parameters are exposed to the driver through a TLV-encoded region of the BAR. For the most part we either don't care about these values at all or just need to sanity-check them against the driver's assumptions, but there are a number of TSO limits which we record so that we will be able to check against them in the TX path when handling GSO skbs. Signed-off-by: Edward Cree <ecree@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/tx_common.c')
0 files changed, 0 insertions, 0 deletions