From: "Zhou, Danny" Subject: Re: Manage DPDK port capability via KNI Date: Wed, 25 Feb 2015 05:05:08 +0000 Message-ID: References: <15f7ead7.137b.14bbe735a7e.Coremail.dpdkdev@126.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable To: Tim Deng , "dev-VfR2kkLFssw@public.gmane.org" Return-path: In-Reply-To: <15f7ead7.137b.14bbe735a7e.Coremail.dpdkdev-KN7UnAbNpbg@public.gmane.org> Content-Language: en-US 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" You can do it but it will not sync with DPDK. In current KNI implementation= , the devices' I/O address spaces are mapped to both userspace DPDK and kenrelspace KNI, s= o one can control the NIC device independently(using ethtool for KNI and ethdev A= PIs for DPDK) without synchronization. In theory, KNI should route all device control request from ethtool to DPDK= . But unfortunately, a short path is adopted at the moment due to DPDK reused lots of legacy ker= nel codes with BSD license. > -----Original Message----- > From: dev [mailto:dev-bounces-VfR2kkLFssw@public.gmane.org] On Behalf Of Tim Deng > Sent: Wednesday, February 25, 2015 9:57 AM > To: dev-VfR2kkLFssw@public.gmane.org > Subject: [dpdk-dev] Manage DPDK port capability via KNI >=20 > Hi, >=20 >=20 > I am wondering how could we manage a DPDK port offload capabilities, > e.g. if we want to disable TSO capability on a DPDK port, is it feasible > that we use ethtool to configure a KNI then the config will be sync to a = DPDK port? >=20 >=20 > Thanks, > Tim