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
此提交包含在:
Dhanashri Atre
2017-05-03 19:03:10 -07:00
提交者 snandini
父節點 44cf05f6c8
當前提交 991ee4defc
共有 15 個檔案被更改,包括 207 行新增430 行删除

查看文件

@@ -35,6 +35,7 @@ extern "C" {
/* Header files */
#include <qdf_status.h>
#include "qdf_nbuf.h"
#include "qdf_lro.h"
#include "ol_if_athvar.h"
#include <linux/platform_device.h>
#ifdef HIF_PCI
@@ -211,8 +212,8 @@ struct qca_napi_info {
int irq;
struct qca_napi_stat stats[NR_CPUS];
/* will only be present for data rx CE's */
void (*lro_flush_cb)(void *arg);
void *lro_ctx;
void (*lro_flush_cb)(void *);
qdf_lro_ctx_t lro_ctx;
qdf_spinlock_t lro_unloading_lock;
};