From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0104.outbound.protection.outlook.com [104.47.2.104]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 464733B2A4; Mon, 15 May 2017 11:40:43 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=HelsinkiFI.onmicrosoft.com; s=selector1-helsinki-fi; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=7NAJmymEEQSsJ2c8fPv3qDsV5a0IaNzxtBroX3O3hts=; b=bpdWCWK2GcMh/ZIKGqfRQ9tt6AjcHtLuIsJyeV47kqthBE1HK8G+Mj56j7ZtgD9Zmq+nA436JkPB0TtRHVbm+tldnDOhm8OoGzytLmkWxu9jiS/VQummGseF6bQzM3lU0hpOMWOSsFJCG6R2zt2yMGMGvMRQuQSScdN06pSVh7U= Received: from AM3PR07MB0661.eurprd07.prod.outlook.com (10.160.4.23) by AM3PR07MB0663.eurprd07.prod.outlook.com (10.160.4.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1101.8; Mon, 15 May 2017 15:40:41 +0000 Received: from AM3PR07MB0661.eurprd07.prod.outlook.com ([fe80::a972:4988:e471:1cbe]) by AM3PR07MB0661.eurprd07.prod.outlook.com ([fe80::a972:4988:e471:1cbe%15]) with mapi id 15.01.1101.011; Mon, 15 May 2017 15:40:41 +0000 From: "Mohan, Nitinder" To: "make-wifi-fast@lists.bufferbloat.net" , "bloat-devel@lists.bufferbloat.net" Subject: Get hardware queue length for wireless interface in linux kernel Thread-Topic: Get hardware queue length for wireless interface in linux kernel Thread-Index: AQHSzY/TGsFMYT7GD0y1ncDCMEgZzA== Date: Mon, 15 May 2017 15:40:41 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: lists.bufferbloat.net; dkim=none (message not signed) header.d=none; lists.bufferbloat.net; dmarc=none action=none header.from=helsinki.fi; x-originating-ip: [25.161.122.132] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM3PR07MB0663; 7:AjXz0NCbmRqOu/0IaqU9+6h00ipO7g55gHEeHJO60Ia5DLcBAmnC7fShjOrdvgvb6u0nXPg21/Snc1piEVIAp8qcnLs/SaD3R61bBBqe/9NDUeSwD3rAqE0nAdYL3f/Wr2KdbM61FB7zihCQ78Te+/JIc1ZFFxBQQ/Tp2yEw+7cVkaLqjL8Dn72TVPFYnWq6coEirjMBZkjlFOw04XEAkiykkFGQ+vrHRr/mrHLapib0wJ8cXUWdKSKLaZiaZ6qvQP3XpISTAApDVEQWMLod7y4tXBWgj+DriAgCmjT7j4JZtSoksvaCOq52r3yo81QesuSA0uhclxizhnUGJEg61A== x-ms-traffictypediagnostic: AM3PR07MB0663: x-ms-office365-filtering-correlation-id: ad859777-a270-46e7-74c7-08d49ba8be3b x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081)(201702281549075); SRVR:AM3PR07MB0663; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(157537322789937); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700036)(100105000095)(100000701036)(100105300095)(100000702036)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(3002001)(100000703036)(100105400095)(10201501046)(93006095)(93001095)(6041248)(201703131423075)(201702281529075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123564025)(20161123555025)(20161123558100)(20161123560025)(6072148)(100000704036)(100105200095)(100000705036)(100105500095); SRVR:AM3PR07MB0663; BCL:0; PCL:0; RULEID:(100000800036)(100110000095)(100000801036)(100110300095)(100000802036)(100110100095)(100000803036)(100110400095)(100000804036)(100110200095)(100000805036)(100110500095); SRVR:AM3PR07MB0663; x-forefront-prvs: 0308EE423E x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39450400003)(39400400002)(39410400002)(39850400002)(39840400002)(5660300001)(74316002)(86362001)(5250100002)(6436002)(19627405001)(54356999)(50986999)(55016002)(54896002)(9686003)(6306002)(99286003)(6506006)(33656002)(236005)(53936002)(6606003)(7696004)(606005)(38730400002)(7906003)(66066001)(7736002)(81166006)(8936002)(8676002)(3846002)(6116002)(102836003)(189998001)(3280700002)(450100002)(74482002)(3660700001)(2906002)(25786009)(2501003)(2900100001)(478600001); DIR:OUT; SFP:1102; SCL:1; SRVR:AM3PR07MB0663; H:AM3PR07MB0661.eurprd07.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: multipart/alternative; boundary="_000_AM3PR07MB0661458D2FB64F0EDB32B5DA80E10AM3PR07MB0661eurp_" MIME-Version: 1.0 X-OriginatorOrg: helsinki.fi X-MS-Exchange-CrossTenant-originalarrivaltime: 15 May 2017 15:40:41.2898 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 98ae7559-10dc-4288-8e2e-4593e62fe3ee X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM3PR07MB0663 X-Mailman-Approved-At: Mon, 15 May 2017 12:31:34 -0400 X-BeenThere: bloat-devel@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Developers working on AQM, device drivers, and networking stacks" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2017 15:40:43 -0000 --_000_AM3PR07MB0661458D2FB64F0EDB32B5DA80E10AM3PR07MB0661eurp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I am a Ph.D. student working on a bufferbloat resistant scheduler for Multi= -Path TCP. I was unsure of which list my question would be more suitable in= so I am sending this in both make-wifi-fast and bloat-dev list. While implementing the scheduler in linux kernel, I was unable to get the c= urrent number of bytes in hardware queue for wlan interface. As currently, = linux does not employ BQL for wifi devices, I could not get this value from= dql->num_queued defined in dynamic_queue_limits.h. I also tried to get que= ue length from Queueing discipline structure i.e. qdisc->qstats.qlen define= d in sch_generic.h yet it still gives me a zero value (I am getting zero va= lues for other parameters in qstat as well so I am sure it is not because t= he queue length never becomes more than 0). If you have any idea for getting queue length for wireless interfaces, plea= se do reply. Any help would be highly appreciated. Best Regards Nitinder Mohan Ph.D. student Department of Computer Science University of Helsinki www.cs.helsinki.fi/~nmohan/ --_000_AM3PR07MB0661458D2FB64F0EDB32B5DA80E10AM3PR07MB0661eurp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hi,


I am a Ph.D. student working on a bufferbloat resistant schedu= ler for Multi-Path TCP. I was unsure of which list my question would be mor= e suitable in so I am sending this in both make-wifi-fast and bloat-dev lis= t.


While implementing the scheduler in linux kernel, I was unable to g= et the current number of bytes in hardware queue for wlan interface. A= s currently, linux does not employ BQL for wifi devices, I could not get th= is value from dql->num_queued defined in dynamic_queue_limits.h. I also tried to get queue length from Queueing discipline structure i= .e. qdisc->qstats.qlen defined in sch_generic.h yet it still gives = me a zero value (I am getting zero values for other parameters in qstat as = well so I am sure it is not because the queue length never becomes more than 0).


If you have any idea for getting queue length for wireless interfaces, p= lease do reply. Any help would be highly appreciated.  


Best Regards


Nitinder Mohan

Ph.D. student

Department of Computer Science

University of Helsinki

www.cs.helsinki.fi/~nmohan/

--_000_AM3PR07MB0661458D2FB64F0EDB32B5DA80E10AM3PR07MB0661eurp_--