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:

committed by
Gerrit - the friendly Code Review server

parent
7399f148b5
commit
4a9c3a8fb6
@@ -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 */
|
||||
|
Reference in New Issue
Block a user