From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=NQhSBOORJinyQXfYL9gg8Ir9/NZUS5xoKtZYhr8pJcA=; b=KyBw6p13m5eUjuO27e2vRiB4LTB80ImyJHvUVUfwPG6J2mxG63fJdx3Bok8+K3+pRN vXQ8JiQZRdu7LO/XohmINydnprQUDNnNe0VObN6zU1zBHndEkgQk9+/BnG1ObboFL2NU TIoNDGiJB56BRT6vvRfCRbvr1LxMQN/QjFv4A4IMj6r/zUQaHoZ9i4Z1AhjFShLvJy7y KE/vK/vByYom4d1ExUfXaeTvA4SrSyPnL0Qw288EwDF8lG6jTvrL5eIBW9XEuWnSmTdW 7aurLCFKYw6BW4SBD5bqD1nllvpsdffI66sGS9+QURbf18X3iKLG9T8EzDyErtuwWJyM 7Hrw== 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=NQhSBOORJinyQXfYL9gg8Ir9/NZUS5xoKtZYhr8pJcA=; b=Zyddohr7sNx/eHXRrvBDvPFjHCQe8dXYOzktDxewHa5Wqii18WseJ64aUWmGhB6vHM kkNEmTQpXjx5AynYgC+n4PstDVGh5TVG2BRGfWbTP6AKn5tczOWSxtgFc5arEp5L9H8d djp3/vDy+rMYY2QkBzhQMV1ANa90keWMHecHNB1HrzbBwdyj8U5XgzytTxsE1fHLRwX+ NFAX3z+kUqXKe43EwBFRAJfehyA/APLyYaWpVqAx7r5KbM+iYMmGwDogHv78SBCyW/Dp hhwrMBdG7harPS+TA/GTHqw/h/rab4090RnpQElL2HoCSJ2b66i9SvN7Fl34Ei6iNwyb 3Plg== X-Gm-Message-State: APjAAAWXV6GHJrBU+NIR1pV+B77VlccO7Ulq6RBdW98pL7gEC0NjgjHp maUbmehUv44Z+LMEUFo7wa9a82NI02o75Mb95P4= X-Google-Smtp-Source: APXvYqyzdgEydLBqYxyQ/kfGLn12YKE6Ire9wLHdeT3iHh1oqN03q4KOcFvprkei3Eldk6cpA7rJtwVMak59dcGjWQM= X-Received: by 2002:a50:90c9:: with SMTP id d9mr10706204eda.158.1553377739257; Sat, 23 Mar 2019 14:48:59 -0700 (PDT) MIME-Version: 1.0 References: <1550952885-2395-1-git-send-email-lironh@marvell.com> <1553278337-12558-1-git-send-email-lironh@marvell.com> In-Reply-To: <1553278337-12558-1-git-send-email-lironh@marvell.com> From: Rami Rosen Date: Sat, 23 Mar 2019 23:48:48 +0200 Message-ID: To: lironh@marvell.com Cc: ferruh.yigit@intel.com, dev@dpdk.org, walan@marvell.com Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [PATCH v3] net/kni: calc mbuf&mtu according to given mb_pool 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: , X-List-Received-Date: Sat, 23 Mar 2019 21:48:59 -0000 : > 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 8B7F8A00E6 for ; Sat, 23 Mar 2019 22:49:02 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5542A1B765; Sat, 23 Mar 2019 22:49:01 +0100 (CET) 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=NQhSBOORJinyQXfYL9gg8Ir9/NZUS5xoKtZYhr8pJcA=; b=KyBw6p13m5eUjuO27e2vRiB4LTB80ImyJHvUVUfwPG6J2mxG63fJdx3Bok8+K3+pRN vXQ8JiQZRdu7LO/XohmINydnprQUDNnNe0VObN6zU1zBHndEkgQk9+/BnG1ObboFL2NU TIoNDGiJB56BRT6vvRfCRbvr1LxMQN/QjFv4A4IMj6r/zUQaHoZ9i4Z1AhjFShLvJy7y KE/vK/vByYom4d1ExUfXaeTvA4SrSyPnL0Qw288EwDF8lG6jTvrL5eIBW9XEuWnSmTdW 7aurLCFKYw6BW4SBD5bqD1nllvpsdffI66sGS9+QURbf18X3iKLG9T8EzDyErtuwWJyM 7Hrw== 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=NQhSBOORJinyQXfYL9gg8Ir9/NZUS5xoKtZYhr8pJcA=; b=Zyddohr7sNx/eHXRrvBDvPFjHCQe8dXYOzktDxewHa5Wqii18WseJ64aUWmGhB6vHM kkNEmTQpXjx5AynYgC+n4PstDVGh5TVG2BRGfWbTP6AKn5tczOWSxtgFc5arEp5L9H8d djp3/vDy+rMYY2QkBzhQMV1ANa90keWMHecHNB1HrzbBwdyj8U5XgzytTxsE1fHLRwX+ NFAX3z+kUqXKe43EwBFRAJfehyA/APLyYaWpVqAx7r5KbM+iYMmGwDogHv78SBCyW/Dp hhwrMBdG7harPS+TA/GTHqw/h/rab4090RnpQElL2HoCSJ2b66i9SvN7Fl34Ei6iNwyb 3Plg== X-Gm-Message-State: APjAAAWXV6GHJrBU+NIR1pV+B77VlccO7Ulq6RBdW98pL7gEC0NjgjHp maUbmehUv44Z+LMEUFo7wa9a82NI02o75Mb95P4= X-Google-Smtp-Source: APXvYqyzdgEydLBqYxyQ/kfGLn12YKE6Ire9wLHdeT3iHh1oqN03q4KOcFvprkei3Eldk6cpA7rJtwVMak59dcGjWQM= X-Received: by 2002:a50:90c9:: with SMTP id d9mr10706204eda.158.1553377739257; Sat, 23 Mar 2019 14:48:59 -0700 (PDT) MIME-Version: 1.0 References: <1550952885-2395-1-git-send-email-lironh@marvell.com> <1553278337-12558-1-git-send-email-lironh@marvell.com> In-Reply-To: <1553278337-12558-1-git-send-email-lironh@marvell.com> From: Rami Rosen Date: Sat, 23 Mar 2019 23:48:48 +0200 Message-ID: To: lironh@marvell.com Cc: ferruh.yigit@intel.com, dev@dpdk.org, walan@marvell.com Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [PATCH v3] net/kni: calc mbuf&mtu according to given mb_pool 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" Message-ID: <20190323214848.cSqdpYStDBiAbnCXW8COQAqWFQeSbRLF_7FHQjOFwK8@z> : > 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