Re: [PATCH net-next v7 2/9] net: add get_netmem/put_netmem support

2025-03-13 Thread Mina Almasry
On Thu, Mar 13, 2025 at 3:47 AM Paolo Abeni wrote: > > On 3/8/25 10:40 PM, Mina Almasry wrote: > > Currently net_iovs support only pp ref counts, and do not support a > > page ref equivalent. > > > > This is fine for the RX path as net_iovs are used exclusively with the > > pp and only pp refcount

Re: [PATCH net-next v7 2/9] net: add get_netmem/put_netmem support

2025-03-13 Thread Paolo Abeni
On 3/8/25 10:40 PM, Mina Almasry wrote: > Currently net_iovs support only pp ref counts, and do not support a > page ref equivalent. > > This is fine for the RX path as net_iovs are used exclusively with the > pp and only pp refcounting is needed there. The TX path however does not > use pp ref co

[PATCH net-next v7 2/9] net: add get_netmem/put_netmem support

2025-03-08 Thread Mina Almasry
Currently net_iovs support only pp ref counts, and do not support a page ref equivalent. This is fine for the RX path as net_iovs are used exclusively with the pp and only pp refcounting is needed there. The TX path however does not use pp ref counts, thus, support for get_page/put_page equivalent