On 2/10/2022 8:53 AM, Loftus, Ciara wrote:
Subject: [PATCH v1] net/af_xdp: make umem configure code more readable

The below compile time defined style make the code not so readable, the
first function end block is after "#endif" segment.

        #if defined(XDP_UMEM_UNALIGNED_CHUNK_FLAG)

        xdp_umem_configure()
        {

        #else
        xdp_umem_configure()
        {

        #endif
                'shared code block'
        }

Signed-off-by: Haiyue Wang <haiyue.w...@intel.com>

Thanks for the patch!

Acked-by: Ciara Loftus <ciara.lof...@intel.com>


Applied to dpdk-next-net/main, thanks.

Reply via email to