ehea: Remove force_irq logic in napi poll routine
[pandora-kernel.git] / drivers / net / ethernet / ibm / ehea / ehea.h
index 7dd5e6a..4a4d466 100644 (file)
@@ -363,7 +363,6 @@ struct ehea_port_res {
        struct port_stats p_stats;
        struct ehea_mr send_mr;         /* send memory region */
        struct ehea_mr recv_mr;         /* receive memory region */
-       spinlock_t xmit_lock;
        struct ehea_port *port;
        char int_recv_name[EHEA_IRQ_NAME_SIZE];
        char int_send_name[EHEA_IRQ_NAME_SIZE];
@@ -376,8 +375,6 @@ struct ehea_port_res {
        struct ehea_q_skb_arr rq3_skba;
        struct ehea_q_skb_arr sq_skba;
        int sq_skba_size;
-       spinlock_t netif_queue;
-       int queue_stopped;
        int swqe_refill_th;
        atomic_t swqe_avail;
        int swqe_ll_count;
@@ -386,7 +383,6 @@ struct ehea_port_res {
        u64 tx_bytes;
        u64 rx_packets;
        u64 rx_bytes;
-       u32 poll_counter;
        struct net_lro_mgr lro_mgr;
        struct net_lro_desc lro_desc[MAX_LRO_DESCRIPTORS];
        int sq_restart_flag;
@@ -459,6 +455,7 @@ struct ehea_port {
        struct ehea_mc_list *mc_list;    /* Multicast MAC addresses */
        struct ehea_eq *qp_eq;
        struct work_struct reset_task;
+       struct delayed_work stats_work;
        struct mutex port_lock;
        char int_aff_name[EHEA_IRQ_NAME_SIZE];
        int allmulti;                    /* Indicates IFF_ALLMULTI state */