]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h
net: hns3: provide some interface & information for the client
[linux.git] / drivers / net / ethernet / hisilicon / hns3 / hns3vf / hclgevf_main.h
index 6b2fd5a0326fef7e8eb2165b111127e792791733..ffb8c7768b88a98216fbc7711246ca1f35ac1575 100644 (file)
@@ -150,6 +150,7 @@ struct hclgevf_dev {
 #define HCLGEVF_RESET_REQUESTED                0
 #define HCLGEVF_RESET_PENDING          1
        unsigned long reset_state;      /* requested, pending */
+       unsigned long reset_count;      /* the number of reset has been done */
        u32 reset_attempts;
 
        u32 fw_version;