From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 57649A0563 for ; Tue, 10 Mar 2020 05:10:23 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EF3771BFF6; Tue, 10 Mar 2020 05:10:22 +0100 (CET) Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) by dpdk.org (Postfix) with ESMTP id 547972BE6 for ; Tue, 10 Mar 2020 05:10:21 +0100 (CET) Received: by mail-wm1-f44.google.com with SMTP id m3so741459wmi.0 for ; Mon, 09 Mar 2020 21:10:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=W9jlIlNlymkOjq5v/41V2LuBXudXXy+sTgCOEtWpkIE=; b=lcE0pgmHQOpeBh+Co/3xVqH9VaTcIH3UIDpX00TSgiYI9j9sL/cParomOFjZfGbxI9 Nq6mx56BlX4YTpVpHzzoJzudnbktKq6/JCpXMPu00w2voK6HLPnBfdT1dhU+iBjXdohe LfHY/W8gNOh/5E5zsA5DUCZ0NrZNHONWsTBfNCgT1AHd8GkpwDIdsn1pylV/wAlilksH ep2popI9PEih18E2tK95LRxg6ParEaLAY1NG/3SGfkAnIZgl1HGEK/UpGdetaNwiLyyw qAfefOy2BLZzQ7HsZGEfV1/CHhjEgq5FMzG9ZD39VrvzOhvmpErUJnAMQyT9AWY1DkZg LmJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=W9jlIlNlymkOjq5v/41V2LuBXudXXy+sTgCOEtWpkIE=; b=CbxcD0hyTadfMo8BFEyvuWccbw6ThHPbBHn0m89MSFZi5y/EQGwd+ou9L92XoCqtUo IFAz5vyqlZ2eyEJ9r8LCnE92RZqX6X6330dhwLWQ7U0siiquvbDmIAq9GWqUE5maKZFj m1eNUmYvVhO1bN1PK9w0mk7On0MxQvuP3IyYXJgCOu6/o+vu4Tf4RhNhHLCjnqFGcv/A dg/IuZgZIA/Dm89rYv6gH/RHMrClmW47CORSOnK1G0FA8N4whouwvksasGQ6HJtVln+L P1/36Wx8CvB6NnQCmNp/7ww64bj4UK4nqxqtmDeiO7wk9pQW00RWI+3tHdYzf6enni9A 0ihw== X-Gm-Message-State: ANhLgQ2gF8hbQxRC2V94UccO2NPpFWglfFrf34z4QgwoN8iwR9zjsFd7 bfk/3uLVNwI7KIOHRfkbxLpFZpJpcmpR09Tq235ll2lrcBA= X-Google-Smtp-Source: ADFU+vs3dbXKbQXI9cRV+7I1HUWhFwgJXs6uGmGlPEBZOWVKVKlkXQKf2BsUm/X6Nickg411joYzA1E1VXfI4o4FLLU= X-Received: by 2002:a1c:bcd4:: with SMTP id m203mr2673754wmf.35.1583813420730; Mon, 09 Mar 2020 21:10:20 -0700 (PDT) MIME-Version: 1.0 From: Cliff Burdick Date: Mon, 9 Mar 2020 21:10:09 -0700 Message-ID: To: users Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] mlx5 Multicast Flows Not Working As Expected X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" Hi, I have a multicast flow at 239.0.12.1 that I want to send all membership queries to that address (standard IGMP messages) to one queue, and UDP port 555 on that IP to another queue. I first tried to make a one rte_flow rule that matched a destination of 239.0.12.1 to port 0 with priority 1 go to queue 0, and another with destination 239.0.12.1 and UDP port 555 to queue 1. Both of these have a match on any Ethernet address. None of the UDP messages make it through, but the IGMP messages do. I can see in the rx_multicast_phy counter on the NIC that the card sees the packets, but they're not arriving on either queue. Next I tried removing the UDP rule and only leaving the flow for 239.0.12.1, but made it priority 0 since there's no secondary rule. This worked in the sense that all traffic, including the UDP traffic arrived on queue 0. However, this doesn't work well with my application since queue 0 is supposed to be control information, while queue 1 was data. I have tried to set rte_eth_allmulticast_enable, but this doesn't seem to make any difference. Setting promiscuous mode doesn't either. The mlx5 documentation doesn't mention whether priorities work in mlx5 like this or not, but I'm hoping I can find a way to differentiate these two types of packets. More info: DPDK 19.11 with mlx5 on ConnectX-5 Ubuntu 18.04 OFED 4.7-3.2.9.0 FW 16.26.1040 Any help would be appreciated. Thanks!