From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rami Rosen Subject: Re: [PATCH v3] net/kni: calc mbuf&mtu according to given mb_pool Date: Sat, 23 Mar 2019 23:48:48 +0200 Message-ID: References: <1550952885-2395-1-git-send-email-lironh@marvell.com> <1553278337-12558-1-git-send-email-lironh@marvell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Cc: ferruh.yigit@intel.com, dev@dpdk.org, walan@marvell.com To: lironh@marvell.com Return-path: Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.42]) by dpdk.org (Postfix) with ESMTP id 993A61B729 for ; Sat, 23 Mar 2019 22:48:59 +0100 (CET) Received: by mail-ed1-f42.google.com with SMTP id h22so4489704edw.7 for ; Sat, 23 Mar 2019 14:48:59 -0700 (PDT) In-Reply-To: <1553278337-12558-1-git-send-email-lironh@marvell.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" : > From: Liron Himi > > - mbuf_size and mtu are now being calculated according > to the given mb-pool. > > - max_mtu is now being set according to the given mtu > > the above two changes provide the ability to work with jumbo frames > > Signed-off-by: Liron Himi Minors: without it-> Without it th given-> the given if the bm-pool -> if the mb-pool > > +* **Updated KNI kernel module, KNI PMD driver.** > + > + Updated the KNI kernel module to set the max_mtu according to the given > + initial mtu size. without it, the maximum mtu was 1500. > + > + Updated the KNI PMD driver to set the mbuf_size and mtu based on > + th given mb-pool. This provide the ability to pass jumbo frames > + if the bm-pool contains suitable buffers' size. > + > Reviewd-by: Rami Rosen