* Manage DPDK port capability via KNI @ 2015-02-25 1:56 Tim Deng [not found] ` <15f7ead7.137b.14bbe735a7e.Coremail.dpdkdev-KN7UnAbNpbg@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: Tim Deng @ 2015-02-25 1:56 UTC (permalink / raw) To: dev-VfR2kkLFssw Hi, 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? Thanks, Tim ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <15f7ead7.137b.14bbe735a7e.Coremail.dpdkdev-KN7UnAbNpbg@public.gmane.org>]
* Re: Manage DPDK port capability via KNI [not found] ` <15f7ead7.137b.14bbe735a7e.Coremail.dpdkdev-KN7UnAbNpbg@public.gmane.org> @ 2015-02-25 5:05 ` Zhou, Danny [not found] ` <DFDF335405C17848924A094BC35766CF0AABBCFE-0J0gbvR4kTg/UvCtAeCM4rfspsVTdybXVpNB7YpNyf8@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: Zhou, Danny @ 2015-02-25 5:05 UTC (permalink / raw) To: Tim Deng, dev-VfR2kkLFssw@public.gmane.org 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, so one can control the NIC device independently(using ethtool for KNI and ethdev APIs 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 kernel 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 > > Hi, > > > 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? > > > Thanks, > Tim ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <DFDF335405C17848924A094BC35766CF0AABBCFE-0J0gbvR4kTg/UvCtAeCM4rfspsVTdybXVpNB7YpNyf8@public.gmane.org>]
* Re: Manage DPDK port capability via KNI [not found] ` <DFDF335405C17848924A094BC35766CF0AABBCFE-0J0gbvR4kTg/UvCtAeCM4rfspsVTdybXVpNB7YpNyf8@public.gmane.org> @ 2015-02-25 9:55 ` Tim Deng 0 siblings, 0 replies; 3+ messages in thread From: Tim Deng @ 2015-02-25 9:55 UTC (permalink / raw) To: Zhou, Danny; +Cc: dev-VfR2kkLFssw@public.gmane.org Thanks Danny, That means DPDK ports have to have dedicated control path other than KNI. I originally got confused by the statement at http://dpdk.org/doc/guides/prog_guide/kernel_nic_interface.html: "...Allows management of DPDK ports using standard Linux net tools such as ethtool, ifconfig and tcpdump." Thanks, Tim At 2015-02-25 13:05:08, "Zhou, Danny" <danny.zhou@intel.com> wrote: >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, so one >can control the NIC device independently(using ethtool for KNI and ethdev APIs 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 kernel codes with BSD license. > >> -----Original Message----- >> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Tim Deng >> Sent: Wednesday, February 25, 2015 9:57 AM >> To: dev@dpdk.org >> Subject: [dpdk-dev] Manage DPDK port capability via KNI >> >> Hi, >> >> >> 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? >> >> >> Thanks, >> Tim ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-02-25 9:55 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2015-02-25 1:56 Manage DPDK port capability via KNI Tim Deng [not found] ` <15f7ead7.137b.14bbe735a7e.Coremail.dpdkdev-KN7UnAbNpbg@public.gmane.org> 2015-02-25 5:05 ` Zhou, Danny [not found] ` <DFDF335405C17848924A094BC35766CF0AABBCFE-0J0gbvR4kTg/UvCtAeCM4rfspsVTdybXVpNB7YpNyf8@public.gmane.org> 2015-02-25 9:55 ` Tim Deng
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).