qcacmn: save flow related fields from TLV to SKB CB
flow related fields like flow_idx_invalid and flow_idx_timeout are needed to send the packet to PPE_VP hence need to be saved in SKB CB CRs-Fixed: 3359237 Change-Id: I2166566c53641f6569f69ff316d1bafb67a828d0
This commit is contained in:

committed by
Madan Koyyalamudi

parent
176650cce4
commit
36ed11fcdd
@@ -111,6 +111,52 @@ static inline uint16_t qdf_nbuf_get_rx_flow_tag(qdf_nbuf_t buf)
|
||||
return __qdf_nbuf_get_rx_flow_tag(buf);
|
||||
}
|
||||
|
||||
/**
|
||||
* qdf_nbuf_set_rx_flow_idx_invalid() - set given value in flow idx invalid
|
||||
* of buf(skb->cb)
|
||||
* @buf: Network buffer
|
||||
* @val: Value of Rx flow tag to be set in the nbuf
|
||||
* Return: None
|
||||
*/
|
||||
static inline void qdf_nbuf_set_rx_flow_idx_invalid(qdf_nbuf_t buf, uint8_t val)
|
||||
{
|
||||
__qdf_nbuf_set_rx_flow_idx_invalid(buf, val);
|
||||
}
|
||||
|
||||
/**
|
||||
* qdf_nbuf_get_rx_flow_idx_invalid() - Get the value of flow_idx_invalid
|
||||
* field of buf(skb->cb)
|
||||
* @buf: Network buffer
|
||||
* Return: Value of the Rx flow tag in the nbuf
|
||||
*/
|
||||
static inline uint8_t qdf_nbuf_get_rx_flow_idx_invalid(qdf_nbuf_t buf)
|
||||
{
|
||||
return __qdf_nbuf_get_rx_flow_idx_invalid(buf);
|
||||
}
|
||||
|
||||
/**
|
||||
* qdf_nbuf_set_rx_flow_idx_timeout() - set given value in flow idx timeout
|
||||
* of buf(skb->cb)
|
||||
* @buf: Network buffer
|
||||
* @val: Value of Rx flow tag to be set in the nbuf
|
||||
* Return: None
|
||||
*/
|
||||
static inline void qdf_nbuf_set_rx_flow_idx_timeout(qdf_nbuf_t buf, uint8_t val)
|
||||
{
|
||||
__qdf_nbuf_set_rx_flow_idx_timeout(buf, val);
|
||||
}
|
||||
|
||||
/**
|
||||
* qdf_nbuf_get_rx_flow_idx_timeout() - Get the value of flow_idx_timeout
|
||||
* field of buf(skb->cb)
|
||||
* @buf: Network buffer
|
||||
* Return: Value of the Rx flow idx timeout in the nbuf
|
||||
*/
|
||||
static inline uint8_t qdf_nbuf_get_rx_flow_idx_timeout(qdf_nbuf_t buf)
|
||||
{
|
||||
return __qdf_nbuf_get_rx_flow_idx_timeout(buf);
|
||||
}
|
||||
|
||||
/**
|
||||
* qdf_nbuf_set_exc_frame() - set exception frame flag
|
||||
* @buf: Network buffer whose cb is to set exception frame flag
|
||||
|
Reference in New Issue
Block a user