qcacmn: TSO fixes

1. Unmap tso common segment only after receiving
   completions for all the tso segments for a given
   skb.
2. Keep a track of num of free tso descriptors available
   in the pool of tso descriptors.

Change-Id: I01bdbb9e40b7259f77dbcfeec22c6d8cd0c0a6dd
CRs-Fixed: 2042950
这个提交包含在:
Venkata Sharath Chandra Manchala
2017-04-06 15:30:54 -07:00
提交者 snandini
父节点 ae66cda533
当前提交 35503cce26
修改 7 个文件,包含 367 行新增32 行删除

查看文件

@@ -103,9 +103,11 @@
/* Enable flag to print TSO specific prints in datapath */
#ifdef TSO_DEBUG_LOG_ENABLE
#define TSO_DEBUG(args ...) printk(args)
#define TSO_DEBUG(fmt, args ...) \
QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_NONE, \
fmt, ## args)
#else
#define TSO_DEBUG(args ...)
#define TSO_DEBUG(fmt, args ...)
#endif
/**