qcacmn: Cleanup fastpath changes

Do following cleanup on fastpath code changes:
1) Do not reap off Tx HIF buffers in Rx handling, instead handle
   reaping in Tx fastpath itself.
2) In ce_per_engine_service_fast check for more Rx packets after
   packet processing.
3) Make stub functions as static inline for non-fastpath enabled case.

Change-Id: If07c4344a424ce13b94128bf28931a24255b661a
CRs-Fixed: 987182
This commit is contained in:
Manjunathappa Prakash
2016-04-14 01:12:14 -07:00
committed by Gerrit - the friendly Code Review server
parent 7399f148b5
commit 4a9c3a8fb6
8 changed files with 225 additions and 233 deletions

View File

@@ -184,16 +184,4 @@ static inline unsigned char *os_malloc(osdev_t nic_dev,
#define SET_NETDEV_DEV(ndev, pdev)
#endif
#define OS_SYNC_SINGLE_FOR_CPU(pdev, paddr_lo, len, oprn) \
{ \
dma_sync_single_for_cpu(pdev, paddr_lo, len, oprn); \
}
#define OS_SYNC_SINGLE_FOR_DEVICE(pdev, paddr_lo, len, oprn) \
{ \
dma_sync_single_for_device(pdev, paddr_lo, len, oprn);\
}
#define SLOTS_PER_TX 2
#endif /* end of _OSDEP_H */