qcacmn: Modify legacy LRO implementation to use QDF

Modify the legacy LRO implementation to use the implementation
in QDF instead. This is to avoid code duplication and to unify
the LRO implementations for Napier and Helium.

CRs-Fixed: 2042812
Change-Id: I38e9da3b54392a1c5781133916361aac3875d43d
This commit is contained in:
Dhanashri Atre
2017-05-03 19:03:10 -07:00
committed by snandini
parent 44cf05f6c8
commit 991ee4defc
15 changed files with 207 additions and 430 deletions

View File

@@ -782,17 +782,6 @@ struct cdp_ipa_ops {
uint64_t quota_bytes);
};
/**
* struct cdp_lro_ops - mcl large receive offload ops
* @register_lro_flush_cb:
* @deregister_lro_flush_cb:
*/
struct cdp_lro_ops {
void (*register_lro_flush_cb)(void (lro_flush_cb)(void *),
void *(lro_init_cb)(void));
void (*deregister_lro_flush_cb)(void (lro_deinit_cb)(void *));
};
/**
* struct cdp_bus_ops - mcl bus suspend/resume ops
* @bus_suspend:
@@ -924,7 +913,6 @@ struct cdp_ops {
struct cdp_flowctl_ops *flowctl_ops;
struct cdp_lflowctl_ops *l_flowctl_ops;
struct cdp_ipa_ops *ipa_ops;
struct cdp_lro_ops *lro_ops;
struct cdp_bus_ops *bus_ops;
struct cdp_ocb_ops *ocb_ops;
struct cdp_peer_ops *peer_ops;