bnx2x: Renaming the "reset_task" to "sp_rtnl_task"
[pandora-kernel.git] / drivers / net / bnx2x / bnx2x.h
index 0d4b981..16dc2c9 100644 (file)
@@ -1046,6 +1046,12 @@ struct bnx2x_fw_stats_data {
        struct per_queue_stats  queue_stats[1];
 };
 
+/* Public slow path states */
+enum {
+       BNX2X_SP_RTNL_TX_TIMEOUT,
+};
+
+
 struct bnx2x {
        /* Fields used in the tx and intr/napi performance paths
         * are grouped together in the beginning of the structure
@@ -1159,7 +1165,7 @@ struct bnx2x {
        int                     mrrs;
 
        struct delayed_work     sp_task;
-       struct delayed_work     reset_task;
+       struct delayed_work     sp_rtnl_task;
 
        struct delayed_work     period_task;
        struct timer_list       timer;
@@ -1403,6 +1409,9 @@ struct bnx2x {
 
        unsigned long                           sp_state;
 
+       /* operation indication for the sp_rtnl task */
+       unsigned long                           sp_rtnl_state;
+
        /* DCBX Negotation results */
        struct dcbx_features                    dcbx_local_feat;
        u32                                     dcbx_error;