|
@@ -975,6 +975,13 @@ i40e_status i40e_aq_get_link_info(struct i40e_hw *hw,
|
|
|
hw_link_info->an_info = resp->an_info;
|
|
|
hw_link_info->ext_info = resp->ext_info;
|
|
|
hw_link_info->loopback = resp->loopback;
|
|
|
+ hw_link_info->max_frame_size = le16_to_cpu(resp->max_frame_size);
|
|
|
+ hw_link_info->pacing = resp->config & I40E_AQ_CONFIG_PACING_MASK;
|
|
|
+
|
|
|
+ if (resp->config & I40E_AQ_CONFIG_CRC_ENA)
|
|
|
+ hw_link_info->crc_enable = true;
|
|
|
+ else
|
|
|
+ hw_link_info->crc_enable = false;
|
|
|
|
|
|
if (resp->command_flags & cpu_to_le16(I40E_AQ_LSE_ENABLE))
|
|
|
hw_link_info->lse_enable = true;
|