be2net: remove napi from tx path
Subsystems (2)
PATCH 1/1 be2net: remove napi from tx path
Hi,
- this patch removes napi in the tx path.
- provides a switch to enable or disable lro.
Please apply the patch to net-2.6
Thanks
Ajit
Signed-off-by Ajit Khaparde <[email protected]>
----
drivers/net/benet/be.h +1 -2
@@ -159,8 +159,6 @@ struct be_eq_obj {u16 min_eqd;/* in usecs */ u16 max_eqd;/* in usecs */ u16 cur_eqd;/* in usecs */ - -struct napi_struct napi; };struct be_tx_obj {
@@ -179,6 +177,7 @@ struct be_rx_page_info { };struct be_rx_obj { +struct napi_struct napi;struct be_queue_info q;struct be_queue_info cq;struct be_rx_page_info page_info_tbl[RX_Q_LEN ];
drivers/net/benet/be_main.c +73 -59
215 lines not on this page · raw message