net: hns3: add getting capabilities of gro offload and fd from firmware
[linux-2.6-microblaze.git] / drivers / net / ethernet / hisilicon / hns3 / hns3vf / hclgevf_main.c
index 26f8733..14e338f 100644 (file)
@@ -2125,7 +2125,7 @@ static int hclgevf_config_gro(struct hclgevf_dev *hdev)
        struct hclge_desc desc;
        int ret;
 
-       if (!hnae3_dev_gro_supported(hdev))
+       if (!hnae3_ae_dev_gro_supported(hdev->ae_dev))
                return 0;
 
        hclgevf_cmd_setup_basic_desc(&desc, HCLGE_OPC_GRO_GENERIC_CONFIG,