From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?gb2312?B?sLK66r/8?= Subject: =?gb2312?b?tPC4tDogIFBvcnQtaWRzIGFuZCBOSUMgZmVhdHVy?= =?gb2312?b?ZXM=?= Date: Thu, 15 Aug 2013 09:51:00 +0800 Message-ID: <008101ce9959$e4959370$adc0ba50$@126.com> References: <520B4641.2030802@bisdn.de> Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable To: "'Marc Sune'" , Return-path: In-Reply-To: <520B4641.2030802-kpkqNMk1I7M@public.gmane.org> Content-Language: zh-cn 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" For the question one, maybe you can detect it before binding to igb_uio -----=D3=CA=BC=FE=D4=AD=BC=FE----- =B7=A2=BC=FE=C8=CB: dev-bounces-VfR2kkLFssw@public.gmane.org [mailto:dev-bounces-VfR2kkLFssw@public.gmane.org] = =B4=FA=B1=ED Marc Sune =B7=A2=CB=CD=CA=B1=BC=E4: 2013=C4=EA8=D4=C214=C8=D5 16:57 =CA=D5=BC=FE=C8=CB: dev-VfR2kkLFssw@public.gmane.org =D6=F7=CC=E2: [dpdk-dev] Port-ids and NIC features Dear all, Two quick questions: 1) Is there a way to get the features available in the NIC? In = particular, I cannot see a way to retrieve the *maximum speed* of the card and I need = to determine whether is a FE, GE or 10GE card. 2) For a certain number of NICs installed in the system and bound to the IGB_UIO driver, is it safe to assume that the association phyisical port = <-> port_id will always be the same? Even after reboot, and regardless of = the order that are bound to the IGB_UIO driver (e.g. using pci_unbind.py)? Best marc