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 ED380A2EEB for ; Mon, 7 Oct 2019 05:12:46 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5C3B31D15F; Mon, 7 Oct 2019 05:12:46 +0200 (CEST) Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) by dpdk.org (Postfix) with ESMTP id 21A061D15E for ; Mon, 7 Oct 2019 05:12:45 +0200 (CEST) Received: by mail-wr1-f51.google.com with SMTP id j18so12510100wrq.10 for ; Sun, 06 Oct 2019 20:12:45 -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=ECq7Kqm5hO6nOqTnJjKFcaoYjdCvzi65qU40HfFOK68=; b=pK9aT2KM6YLsomjkdUBXiffTWyfGgW5r42QZSgIYYdygPc6BRJUnPXTw+ng/WCaVFc rHfimsrxAXmZcUkIj+keyFJnV7VrQwELUGlmIJGe4AVg1XseCg2f+5wbUoQiGuI0KLE8 hkHSZhD51ciF2+wfGozY+DbI4HdZJxwghJHFZgMusGCsXoA2IhxW/6KanXik/V6NlSXn WOK9Sbl5fjaKGbIFu04GpL3TZJmPCiVJLE+uM21oL0Nrwe9X1u2PjXbUB/l31Hk5cn53 dThEGbLBO7DnPZ49YyegGWfl2VF79WsEXlYGcFT2doStsXxGsiwV1l2RZhiboMsYH0RJ i3/g== 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=ECq7Kqm5hO6nOqTnJjKFcaoYjdCvzi65qU40HfFOK68=; b=B3rwRi99RUDTJShIhsXCOc0y8VfVXsAfUP3pe3aRucm05mNr6Hl478j/US2dS4oT8T Q+aoif+8lNqcP6SYptmebeX8bOPZfdDSX4JsYbqDnEWS03rJ8ksnN/ZaLrzKbGvMExq1 x1wr4sXQYRIhST6EbERy005a0zr4c/dPQ0g6JDGvEq9lS0s89nW5v821pwDElIk7ng9y /z2ILYpgxI7gNxx4gEpvEGZp2LpLUJx3+aaVD/W+MEtgY0LQAKih7NMxpz1jc3gQ+JIf Le7DrhUBu3kSpxJyvyIGh5tmZFCvWR/abShZyXzHY7YVRvWp7T75EmbUastgKRwgPTLP uS9A== X-Gm-Message-State: APjAAAV95GUlEEBxreMXWqlAinJ7B0w7vdy0oPssrk5zmQ73XllToMT8 XM44znr1wld8N93pK96RBGb0ze+dqzHoF4w+4KxqkD2j8Ws= X-Google-Smtp-Source: APXvYqyTCQ/l8zsnTNL4HSmGH5zOpj4i9kkpIR1WO2lgu20upGcuOoqroMBbNYP1/EmM4SW3n7sUCbpvrgUMwhO6bzA= X-Received: by 2002:adf:ce89:: with SMTP id r9mr12707264wrn.335.1570417964505; Sun, 06 Oct 2019 20:12:44 -0700 (PDT) MIME-Version: 1.0 From: Jun Gan Date: Sun, 6 Oct 2019 20:12:33 -0700 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] Same 5 tuple UDP packets have been delivered to different queues. 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 All, I just added multiple queues and enabled RSS in our application, I set "rss_hf" to "ETH_RSS_IP | ETH_RSS_UDP", but I can see that same 5 tuple packets, will be delivered to different queues. Do I miss something? Here is the code: eth_conf.rxmode.mq_mode = ETH_MQ_RX_RSS; eth_conf.rx_adv_conf.rss_conf.rss_hf = ETH_RSS_IP | ETH_RSS_UDP eth_conf..rx_adv_conf.rss_conf.rss_hf &= dev_info.flow_type_rss_offloads; I actually have two queues, and two different threads(lcore) busy polling(rx_burst) on these two queues, I also met other weird issues like: dpdk-stable-18.11.2/drivers/net/mlx5/mlx5_rxtx_vec_sse.h:743: rxq_burst_v: Assertion `rxq->rq_pi == rxq->cq_ci' failed. I don't understand what does this means, I think rx_burst on the same nic different queue should be thread-safe, isn't it? I'm using dpdk 18.11.2, OS is centos 7.6 and NIC is MLX CX-5. I really appreciate it if anyone can help!! Thanks, Jun Gan -- Jun Gan