mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 10:11:26 +03:00
nvethernet: rename ptp to reuse for swcx flag
use reuse instead of ptp, so that it will be a generic for any descriptors that we need to skip buffer allocation and DMA mapping Bug 2870545 Change-Id: Idae57cab7a36d0cf52fb64883d3452f8e6917d51 Signed-off-by: narayanr <narayanr@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2308395 Reviewed-by: Srinivas Ramachandran <srinivasra@nvidia.com> Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com> Reviewed-by: Bhadram Varka <vbhadram@nvidia.com> Reviewed-by: Bibek Basu <bbasu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
Revanth Kumar Uppala
parent
ecf995a8f7
commit
7ae3a8cdb0
@@ -135,7 +135,7 @@ static inline int ether_alloc_skb(struct ether_priv_data *pdata,
|
||||
struct sk_buff *skb = NULL;
|
||||
dma_addr_t dma_addr;
|
||||
|
||||
if ((rx_swcx->flags & OSI_RX_SWCX_PTP) == OSI_RX_SWCX_PTP) {
|
||||
if ((rx_swcx->flags & OSI_RX_SWCX_REUSE) == OSI_RX_SWCX_REUSE) {
|
||||
/* Skip buffer allocation and DMA mapping since
|
||||
* PTP software context will have valid buffer and
|
||||
* DMA addresses so use them as is.
|
||||
|
||||
Reference in New Issue
Block a user