Searched hist:"90232 d18ca4f7a5a3073a8279a9b9d3228df5f87" (Results 1 – 1 of 1) sorted by relevance
/freebsd/sys/dev/ena/ |
H A D | ena.c | diff 90232d18ca4f7a5a3073a8279a9b9d3228df5f87 Fri Jun 10 11:18:08 CEST 2022 Dawid Gorecki <dgr@semihalf.com> ena: Prevent LLQ initialization when membar isn't exposed
The ena_com_config_dev_mode() function performs many LLQ related calculations and sends an admin command to configure LLQ in the device.
All the LLQ related operations are unnecessary if the driver fails to find LLQ memory bar.
Move LLQ memory bar allocation to separate helper function ena_map_llq_mem_bar and execute this function before LLQ configuration. If the LLQ memory bar cannot be allocated, then LLQ configuration is skipped.
Obtained from: Semihalf MFC after: 2 weeks Sponsored by: Amazon, Inc.
|