Search Linux Wireless

Re: [PATCH v2 02/12] ath11k: allocate dst ring descriptors from cacheable memory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 8/25/21 2:37 AM, P Praneesh wrote:
@@ -292,6 +315,11 @@ int ath11k_dp_srng_setup(struct ath11k_base *ab, struct dp_srng *ring,
  		return -EINVAL;
  	}
+ if (cached && ab->hw_params.alloc_cacheable_memory) {
+		params.flags |= HAL_SRNG_FLAGS_CACHED;
+		ring->cached = 1;
+	}

"&& ab->hw_params.alloc_cacheable_memory" is redundant check.

Thanks,
Peter




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux