Re: [PATCH v4 2/2] net/af_xdp: Refactor af_xdp_tx_zc

2025-01-31 Thread Ariel Otilibili
On Fri, Jan 31, 2025 at 12:55 AM Stephen Hemminger < step...@networkplumber.org> wrote: > Need space after xdp_desc to follow style used elsewhere in DPDK. > There you are, Stephen: https://inbox.dpdk.org/dev/20250131183439.909831-3-ariel.otilib...@6wind.com/

Re: [PATCH v4 2/2] net/af_xdp: Refactor af_xdp_tx_zc

2025-01-30 Thread Stephen Hemminger
On Thu, 30 Jan 2025 23:18:53 +0100 Ariel Otilibili wrote: > +static inline struct xdp_desc* Need space after xdp_desc to follow style used elsewhere in DPDK.

[PATCH v4 2/2] net/af_xdp: Refactor af_xdp_tx_zc

2025-01-30 Thread Ariel Otilibili
Both legs of the loop share the same logic: the common parts are about reserving and filling both address and length into the description. This is moved into reserve_and_fill(). Bugzilla ID: 1440 Suggested-by: Maryam Tahhan Signed-off-by: Ariel Otilibili --- drivers/net/af_xdp/rte_eth_af_xdp.c