From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f49.google.com (mail-lf0-f49.google.com [209.85.215.49]) by dpdk.org (Postfix) with ESMTP id B9556E72 for ; Thu, 3 Dec 2015 09:51:23 +0100 (CET) Received: by lffu14 with SMTP id u14so83166016lff.1 for ; Thu, 03 Dec 2015 00:51:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=KMiSpXuEpJlTDVsa6qtDpHkZJjzfcGJn6rIrTSEOHE4=; b=HMZjvE3xMynsd5VKwCqeOKhhcjzpgqbcEHqqDLoWnv2GH/hJjvUH7kZ8zobcLv6s/I Llte7+kCln6tJSVSvsaIiX17TeOgXkvAYW3ALyojrN0xXieCIUUpiql/idTdUWXhqvK0 Vu4F9LN3iOWi/T2NUkOubIc2hZiMILne4hU0Xn2QSOptNIECrMdofz18oJ/TBXTOyVwc 7F185OzLVG6ijQLN2WBNXc5fNt/x0aaFfylVyoegzxZTLReJ33dutuRqpcRbMPkUydKC j16DWKjGBIg07b/ifFzBFtfV7czRHsHZp53n0bkCfWDUzHdoyvE13xpQdJoQK7RsCXTU ru6A== MIME-Version: 1.0 X-Received: by 10.25.1.205 with SMTP id 196mr4501572lfb.21.1449132683242; Thu, 03 Dec 2015 00:51:23 -0800 (PST) Received: by 10.25.86.69 with HTTP; Thu, 3 Dec 2015 00:51:23 -0800 (PST) Date: Thu, 3 Dec 2015 09:51:23 +0100 Message-ID: From: Jesper Wramberg To: users@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] Possible to rate limit a VF on ConnectX-3 ? X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2015 08:51:24 -0000 Morning all, I was wondering if anyone know if/how you can rate limit a virtual function on a ConnectX-3 ? I am running OFED 3.1 and NIC FW 2.34.5060 (latest from dell). I have tried the following with no luck: ip link set vf rate mlnx_qos mlnx_qcn The closest I have gotten was with mlnx_qos but it seems I can only rate limit all traffic or no traffic (using traffic class 0). I tried manipulating the TCs with tc_wrap but it seem that all traffic falls into user priority 0 or something ? I also tried using different TX queues in DPDK but the result was the same. The other commands seems to have no effect at all. My mlx4_core.conf file looks like this: options mlx4_core port_type_array=2,2 num_vfs=3 probe_vf=3 log_num_mgm_entry_size=-1 fast_drop=1 use_prio=1 enable_qos=1 enable_vfs_qos=1 I simply tried to enable everything that might be relevant :-) Alternatively, I also configured the transmitter using the VF to use one specific VLAN with one specific priority. Unfortunately I couldn't seem to rate limit based on VLAN or VLAN prio either :-( Best Regards, Jesper