RE: [EXTERNAL] Re: [net-next PATCH v2 1/6] octeontx2-pf: Add AF_XDP non-zero copy support

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

 



Hi Simon,

>
>> @@ -109,6 +109,11 @@ static void otx2_xdp_snd_pkt_handler(struct
>otx2_nic *pfvf,
>>  	otx2_dma_unmap_page(pfvf, sg->dma_addr[0],
>>  			    sg->size[0], DMA_TO_DEVICE);
>>  	page = virt_to_page(phys_to_virt(pa));
>> +	if (page->pp) {
>> +		page_pool_recycle_direct(page->pp, page);
>> +		return;
>> +	}
>> +
>>  	put_page(page);
>>  }
>>
>
>Hi Suman,
>
>It is included indirectly in the following patch,
>[v2 2/6] octeontx2-pf: Don't unmap page pool buffer used by XDP, but I
>believe you need the following in order for this to compile:
[Suman] ack
>
>#include <net/page_pool/helpers.h>
>
>...
>
>pw-bot: changes-requested




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux