qcacmn: Add skb record rx queue to qdf API

Add skb_record_rx_queue() wrapper in qdf

Change-Id: Ic14e0a39d7d62bb404b443cc240b1ed0e5176119
This commit is contained in:
Prathyusha Guduri 2018-05-02 22:23:25 +05:30 • committed by nshrivas
commit 9bb99acfca
2 changed files with 19 additions and 0 deletions

View file

@ -2866,6 +2866,11 @@ static inline void qdf_nbuf_set_priority(qdf_nbuf_t buf, uint32_t p)
__qdf_nbuf_set_priority(buf, p);
}
static inline void qdf_nbuf_record_rx_queue(qdf_nbuf_t buf, uint32_t queue_id)
{
__qdf_nbuf_record_rx_queue(buf, queue_id);
}
static inline uint16_t
qdf_nbuf_get_queue_mapping(qdf_nbuf_t buf)
{

View file

@ -1809,6 +1809,20 @@ __qdf_nbuf_mark_wakeup_frame(__qdf_nbuf_t buf)
buf->mark |= QDF_MARK_FIRST_WAKEUP_PACKET;
}
/**
* __qdf_nbuf_record_rx_queue() - set rx queue in skb
*
* @buf: sk buff
* @queue_id: Queue id
*
* Return: void
*/
static inline void
__qdf_nbuf_record_rx_queue(struct sk_buff *skb, uint16_t queue_id)
{
skb_record_rx_queue(skb, queue_id);
}
/**
* __qdf_nbuf_get_queue_mapping() - get the queue mapping set by linux kernel
*