qcacmn: Extract tid from REO descriptor and save to skb cb
earlier we were extracting the tid from the rx tlvs, this was in the last cache line of the 384 byte tlv. we are extracting various fields from REO descriptor, now we are also getting tid from the descriptor to avoid accessing the last cache line of rx TLV there by avoiding one cache miss per packet. Change-Id: I1f4f12dca402604692ea374599add6763d68ab01 CRs-fixed: 2449706
このコミットが含まれているのは:
@@ -1237,6 +1237,27 @@ static inline int qdf_nbuf_is_raw_frame(qdf_nbuf_t buf)
|
||||
return __qdf_nbuf_is_raw_frame(buf);
|
||||
}
|
||||
|
||||
/**
|
||||
* qdf_nbuf_set_tid_val() - set tid_val
|
||||
* @buf: Network buffer
|
||||
* @val: 4 bits tid value
|
||||
*/
|
||||
static inline void qdf_nbuf_set_tid_val(qdf_nbuf_t buf, uint8_t val)
|
||||
{
|
||||
__qdf_nbuf_set_tid_val(buf, val);
|
||||
}
|
||||
|
||||
/**
|
||||
* qdf_nbuf_get_tid_val() - get tid_val
|
||||
* @buf: Network buffer
|
||||
*
|
||||
* Return: integer value[4 bits tid value]
|
||||
*/
|
||||
static inline uint8_t qdf_nbuf_get_tid_val(qdf_nbuf_t buf)
|
||||
{
|
||||
return __qdf_nbuf_get_tid_val(buf);
|
||||
}
|
||||
|
||||
/**
|
||||
* qdf_nbuf_set_frag_list() - set frag list bit
|
||||
* @buf: Network buffer
|
||||
|
新しいイシューから参照
ユーザーをブロックする