sunvnet: Use one Tx queue per vnet_port
[deliverable/linux.git] / drivers / net / ethernet / sun / sunvnet.h
index c9110454261905bc60861eb34a7bfe7c268f0b9f..cd5d343ea2321a90a90085510a0d3ecb8dcc52dc 100644 (file)
@@ -56,6 +56,12 @@ struct vnet_port {
        struct timer_list       clean_timer;
 
        u64                     rmtu;
+
+       struct napi_struct      napi;
+       u32                     napi_stop_idx;
+       bool                    napi_resume;
+       int                     rx_event;
+       u16                     q_index;
 };
 
 static inline struct vnet_port *to_vnet_port(struct vio_driver_state *vio)
@@ -97,7 +103,7 @@ struct vnet {
        struct list_head        list;
        u64                     local_mac;
 
-       struct tasklet_struct   vnet_tx_wakeup;
+       int                     nports;
 };
 
 #endif /* _SUNVNET_H */
This page took 0.025352 seconds and 5 git commands to generate.