> -Original Message-
> From: Saeed Mahameed
> Sent: Thursday, November 12, 2020 22:43
> To: Camelia Alexandra Groza ; k...@kernel.org;
> bro...@redhat.com; da...@davemloft.net
> Cc: Madalin Bucur (OSS) ; Ioana Ciornei
> ; netdev@vger.kernel.org
> Subject: Re: [PATC
> -Original Message-
> From: Saeed Mahameed
> Sent: Thursday, November 12, 2020 22:41
> To: Camelia Alexandra Groza ; k...@kernel.org;
> bro...@redhat.com; da...@davemloft.net
> Cc: Madalin Bucur (OSS) ; Ioana Ciornei
> ; netdev@vger.kernel.org
> Subject: Re: [PATC
On Thu, 2020-11-12 at 20:10 +0200, Camelia Groza wrote:
> + if (likely(fd_format == qm_fd_contig)) {
>
> + xdp_act = dpaa_run_xdp(priv, (struct qm_fd *)fd,
> vaddr,
>
> + &xdp_meta_len);
>
> + if (xdp_act != XDP_PASS) {
>
>
On Thu, 2020-11-12 at 20:10 +0200, Camelia Groza wrote:
> Implement the XDP_DROP and XDP_PASS actions.
>
> Avoid draining and reconfiguring the buffer pool at each XDP
> setup/teardown by increasing the frame headroom and reserving
> XDP_PACKET_HEADROOM bytes from the start. Since we always reserv
Implement the XDP_DROP and XDP_PASS actions.
Avoid draining and reconfiguring the buffer pool at each XDP
setup/teardown by increasing the frame headroom and reserving
XDP_PACKET_HEADROOM bytes from the start. Since we always reserve an
entire page per buffer, this change only impacts Jumbo frame