From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0127.outbound.protection.outlook.com [65.55.169.127]) by dpdk.org (Postfix) with ESMTP id 7ADD5C352 for ; Tue, 16 Jun 2015 23:08:44 +0200 (CEST) Received: from BL2PR05MB113.namprd05.prod.outlook.com (10.255.232.20) by BL2PR05MB114.namprd05.prod.outlook.com (10.255.232.24) with Microsoft SMTP Server (TLS) id 15.1.184.17; Tue, 16 Jun 2015 21:08:42 +0000 Received: from BL2PR05MB113.namprd05.prod.outlook.com ([169.254.1.114]) by BL2PR05MB113.namprd05.prod.outlook.com ([169.254.1.114]) with mapi id 15.01.0184.014; Tue, 16 Jun 2015 21:08:42 +0000 From: Anjali Kulkarni To: Thomas Monjalon Thread-Topic: [dpdk-dev] Debugging SR-IOV related packet flow problem with DPDK Thread-Index: AQHQqDCx5wg/WYojp02CMlqwcD5+o52u2CAAgABGtoCAAH2UAP//j0SA Date: Tue, 16 Jun 2015 21:08:41 +0000 Message-ID: References: <15776821.ucWqCiW9hh@xps13> In-Reply-To: <15776821.ucWqCiW9hh@xps13> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.4.5.141003 authentication-results: 6wind.com; dkim=none (message not signed) header.d=none; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [66.129.239.13] x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BL2PR05MB114; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(520003)(5005006)(3002001); SRVR:BL2PR05MB114; BCL:0; PCL:0; RULEID:; SRVR:BL2PR05MB114; x-forefront-prvs: 06098A2863 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(377454003)(24454002)(377424004)(51704005)(479174004)(62966003)(102836002)(110136002)(2900100001)(2950100001)(122556002)(77156002)(40100003)(189998001)(5001960100002)(4001350100001)(5002640100001)(83506001)(99286002)(93886004)(2656002)(92566002)(46102003)(54356999)(76176999)(106116001)(19580405001)(19580395003)(50986999)(66066001)(87936001)(36756003)(86362001); DIR:OUT; SFP:1102; SCL:1; SRVR:BL2PR05MB114; H:BL2PR05MB113.namprd05.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; Content-Type: text/plain; charset="iso-8859-1" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: juniper.net X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Jun 2015 21:08:41.9701 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2PR05MB114 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] Debugging SR-IOV related packet flow problem with DPDK X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jun 2015 21:08:45 -0000 Thanks for your response. I am running my own application, and it is actually running inside a docker, not a VM. No VLAN configuration. Just SR-IOV is enabled on 2 NICs, and both devices (/dev/uio0 and /dev/uio1) are assigned to the docker. This worked a while ago perfectly. What I see is that an ixia connected to the 2 10G NICs is pumping traffic, but the VF statistics are 0. It is as if the VF or NIC did not see the packets.=20 The source dst MAC is set correctly to the VF=B9s MAC. I don=B9t see any prints on stdout after enabling the _DEBUG logs in config. Anjali On 6/16/15, 1:52 PM, "Thomas Monjalon" wrote: >Hi, > >That's third email in 8 hours for this question. >Do you plan to send an email every 4 hours? > >It's really hard to help you without knowing which application you run? >in which VM? which VLAN configuration? etc > >2015-06-16 20:22, Anjali Kulkarni: >> Hi, >>=20 >> Can someone please help with this? How can packet flow be traced on >>DPDK? >> Where are all the logs stored if we do enable the _DEBUG configs in >> config/ directory? > >stdout or somewhere else if you configured logs in your app. > >> Anjali >[...] >> I am observing that the SR-IOV enabled NIC does not increment any VF >>packet >> counters despite incoming packet flow. I have enabled some debug logs >>like >> CONFIG_RTE_LIBRTE_IXGBE_DEBUG_RX in config file. >> Can someone point me to where these logs are being printed so I can try >>to >> figure out where packets are being dropped? Or how can I debug DPDK >>packet >> flow related issues (are there any stats I can look at)? > >Statistics can be requested through a dedicated ethdev API. >