MCPcopy Create free account
hub / github.com/F-Stack/f-stack / t4_fixup_host_params

Function t4_fixup_host_params

dpdk/drivers/net/cxgbe/base/t4_hw.c:3662–3667  ·  view source on GitHub ↗

* t4_fixup_host_params - fix up host-dependent parameters (T4 compatible) * @adap: the adapter * @page_size: the host's Base Page Size * @cache_line_size: the host's Cache Line Size * * Various registers in T4 contain values which are dependent on the * host's Base Page and Cache Line Sizes. This function will fix all of * those registers with the appropriate values as passed in ... * *

Source from the content-addressed store, hash-verified

3660 * This routine makes changes which are compatible with T4 chips.
3661 */
3662int t4_fixup_host_params(struct adapter *adap, unsigned int page_size,
3663 unsigned int cache_line_size)
3664{
3665 return t4_fixup_host_params_compat(adap, page_size, cache_line_size,
3666 T4_LAST_REV);
3667}
3668
3669/**
3670 * t4_fw_initialize - ask FW to initialize the device

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected