K 10 svn:author V 2 mw K 8 svn:date V 27 2022-07-29T17:10:24.877070Z K 7 svn:log V 721 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. (cherry picked from commit 90232d18ca4f7a5a3073a8279a9b9d3228df5f87) Git Hash: bb98012e39ac55ed2d9a93b90404dfc3d2e77f7f Git Author: dgr@semihalf.com END