mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
qcacmn: QDF macro for skb shared info size
Introducing QDF macro for getting size of skb shared info considering alignment Change-Id: Idb8e714c8de00b640dc7e400a757c71e80ae48e6 CRs-Fixed: 2737178
This commit is contained in:
parent
33d438516f
commit
bf1bffa51d
1 changed files with 2 additions and 0 deletions
|
|
@ -54,6 +54,8 @@ typedef struct sk_buff_head __qdf_nbuf_queue_head_t;
|
|||
|
||||
#define QDF_NBUF_CB_TX_MAX_OS_FRAGS 1
|
||||
|
||||
#define QDF_SHINFO_SIZE SKB_DATA_ALIGN(sizeof(struct skb_shared_info))
|
||||
|
||||
/* QDF_NBUF_CB_TX_MAX_EXTRA_FRAGS -
|
||||
* max tx fragments added by the driver
|
||||
* The driver will always add one tx fragment (the tx descriptor)
|
||||
|
|
|
|||
Loading…
Reference in a new issue