From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: i40e: Steps and required configurations of how to achieve the best performance! Date: Wed, 15 Oct 2014 11:41:39 +0200 Message-ID: <1865184.LnymqLhuvV@xps13> References: Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Cc: dev-VfR2kkLFssw@public.gmane.org To: "Zhang, Helin" Return-path: In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" Hi Helin, 2014-09-19 03:43, Zhang, Helin: > My idea on it could be, > 1. Write a script to use =E2=80=98setpci=E2=80=99 to configure = pci configuration. > End user can decide which PCI device needs to be changed. > 2. Add code to change that PCI configuration in i40e PMD only, = as > it seems nobody else need it till now. The second solution seems better because more integrated and automatic.= But I would like to have some EAL functions to access to PCI configurat= ion. These functions would have Linux and BSD implementations. Then the PMD could change the configuration if it's allowed by a run-ti= me option and would notify the change with a warning/log. Thanks for keeping us notified of your progress. --=20 Thomas