From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id C2B01A04DB; Fri, 16 Oct 2020 00:02:00 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6F1421B81B; Fri, 16 Oct 2020 00:01:58 +0200 (CEST) Received: from mail-oi1-f195.google.com (mail-oi1-f195.google.com [209.85.167.195]) by dpdk.org (Postfix) with ESMTP id 74A951B74B for ; Fri, 16 Oct 2020 00:01:55 +0200 (CEST) Received: by mail-oi1-f195.google.com with SMTP id u17so190015oie.3 for ; Thu, 15 Oct 2020 15:01:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=xU8s6VF0GFx260bO5RXvsNl48QnsQMGVD8nppYZ4r/w=; b=D8GayH5pQfT5RsF24ZnYG3T899ISEscsESviHC0PKBsenQTgl6xmPxwbIL7X48tgKn Lvq1FtL3ArOuE/Pld/EdOwLXIYOFsG2Q/FKYwwqeMsv96p+t/S1ILFFogJhnQAilL57q 7IhTjtW3a/u2PIdh1Vvsa4wyR3P1LJUpoLP2w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=xU8s6VF0GFx260bO5RXvsNl48QnsQMGVD8nppYZ4r/w=; b=XEA9dReFjwt7+xVKLmc0/8jVXQ3ICJT4YZVCpUPrr9gO7PgyA/KgXSQr6etiBxcXHZ ltaUEj0mB7B3PkAUGxqKf9zellUyPCeIuparqdW79UqMAQ9Cij7A0q5Vcs2vXFX61JSt Ha1ruGMAldpq65b1gJEB8xq5dGQcYD/CUuOBIyo/yV0IV34++wx3SJgcn6DQVv28Jdvt NlxM0BPuwxymLkQWxagWqFxaFNfDKPtN8BoWw+H3yM9mcSmCxrnVqYSP7ZtWXTEq0uSI fCJAc8WIpO3O37k8iyDwip2r0NrTN3TU+s5oXv5y34ql1rAySJWkpYSR9kQY+9XvWDlB idmg== X-Gm-Message-State: AOAM5309wYTEVW9PsRJVUo2xyUXVp014Uk2w9PAh3cjmTNcmeuXaT7Nd lyEbSkZO7FMKi0UK7Kq0P3+7BXcMo93uTG2uzBRYFQ== X-Google-Smtp-Source: ABdhPJzCBLEle2pW5QVALeEoGRuftakNNYZiUKfWOqJ0jmeRLYUvKEyrgrnrmmtj3UApUhnazue0caN7tM2o8OPznOw= X-Received: by 2002:a05:6808:b2d:: with SMTP id t13mr409839oij.27.1602799314706; Thu, 15 Oct 2020 15:01:54 -0700 (PDT) MIME-Version: 1.0 References: <1602793044-28736-1-git-send-email-viacheslavo@nvidia.com> <1602793044-28736-2-git-send-email-viacheslavo@nvidia.com> <2268221.MQrTK4cY7P@thomas> In-Reply-To: <2268221.MQrTK4cY7P@thomas> From: Ajit Khaparde Date: Thu, 15 Oct 2020 15:01:38 -0700 Message-ID: To: Thomas Monjalon Cc: Viacheslav Ovsiienko , dpdk-dev , Stephen Hemminger , Ferruh Yigit , Olivier Matz , Jerin Jacob , Maxime Coquelin , David Marchand , Andrew Rybchenko Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [PATCH v7 1/6] ethdev: introduce Rx buffer split X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, Oct 15, 2020 at 1:33 PM Thomas Monjalon wrote: > > 15/10/2020 22:17, Viacheslav Ovsiienko: > > /** > > + * Ethernet device Rx buffer segmentation capabilities. > > + */ > > +struct rte_eth_rxseg_capa { > > + uint16_t max_seg; /**< Maximum amount of segments to split. */ > > + uint8_t multi_pools; /**< Supports receiving to multiple pools.*/ > > + uint8_t offset_allowed; /**< Supports buffer offsets. */ > > + uint8_t offset_align_log2; /**< Required offset alignment. */ > > +}; > > Why not having bit fields for these last three? +1 > > >