qcacmn: Change feature flag name

Change feature flag name due to address alignment is
required from HW design perspective

Change-Id: I8418c7778f92031b11f0bb80bf9af307a61f45ff
CRs-Fixed: 2757537
This commit is contained in:
Yu Tian 2020-08-18 12:26:05 +08:00 • committed by snandini
commit 62339dcb9c

View file

@ -2977,21 +2977,13 @@ struct qdf_tso_cmn_seg_info_t {
*
* Return: byte offset length of 8 bytes aligned.
*/
#ifdef WAR_TXDMA_LIMITATION
#ifdef FIX_TXDMA_LIMITATION
static uint8_t qdf_nbuf_adj_tso_frag(struct sk_buff *skb)
{
uint32_t eit_hdr_len;
uint8_t *eit_hdr;
uint8_t byte_8_align_offset;
/*
* Workaround for TXDMA HW limitation.
* ADDR0&0x1FFFFFFF8 should not equal ADDR1&0x1FFFFFFF8.
* Otherwise, TXDMA will run into exception, which cause TX fail.
* ADDR0: the address of last words in previous buffer;
* ADDR1: the address of first words in next buffer;
* To avoid this, shift several bytes for ADDR0.
*/
eit_hdr = skb->data;
eit_hdr_len = (skb_transport_header(skb)
- skb_mac_header(skb)) + tcp_hdrlen(skb);