From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vk0-f42.google.com (mail-vk0-f42.google.com [209.85.213.42]) by dpdk.org (Postfix) with ESMTP id 5E19A160 for ; Thu, 14 Sep 2017 13:37:07 +0200 (CEST) Received: by mail-vk0-f42.google.com with SMTP id t10so3100556vke.0 for ; Thu, 14 Sep 2017 04:37:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=5qyqoQ/SrmwYpKf6AbhRRvamc7UKaWa4+r9GYYMyLaw=; b=tH1x8AKi/U2rJpX+Xy8vH7U6w2H2/UEzm2//QQEab2nJkefQkDd9J0l9NTPZzZG2a+ Y9n2Rki5xBq3XLPTqBBS88j0FMdqeDavs80GIOtn9oeyhCvzXAk/ISgD6xvxUHrgpclx Bax5JvUw5Umugx5CxjpOpau5fAjKoK27GOfTAL0ZX2nECHDznguhQzIzDT/LUrjjj3U9 3LUSO/EzkF/GHW0CJCihLosUTCG/z9jnIksegiVSpo5UVfeBnbw7djh7K3IsjU1HpUfI E2BTIP3LCO0cyb2evR24whePuMoOv+QI7pp/7xyPwf/mW/j5N30t7UQkdjRdplElSgMK iuXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=5qyqoQ/SrmwYpKf6AbhRRvamc7UKaWa4+r9GYYMyLaw=; b=ekIzkrMkh7GcdkqVyGH728EkOqsv2h/cyPYP125jFeaAmg5o6WkUsDuZWKEW6HtzQX 4Ejcdzhyz5b4LaxTtQWqGLLkhmFc7IX7t9/gsOImkoqT0AdOOL9Wf3L4zu/W2h2m8WEg xz+kpKQUpLsBIrJlzJo+KFqWfZpTpklrqhmomX82g0KEZng5IsAIwj73Q0qwO2lf7sYk QvvOxqbVkeceHhek/SIxddkiW1g8Vxfsmc27cUwxDWwIpe3lf10Eiv9g7cmrRH8HkUvU FWJXAzqw3DEu0iJxPRaLhYmKwEbtDUD6GR3RThmB6X/iUo6r97OdFVoGkodW8+QIPi0+ KhQw== X-Gm-Message-State: AHPjjUhx3izuwvdPkjTeqvSGiqgr77VISA5aqzKEkohsWDxJPIK/KpIl E6ycV961i/FqIV3ijisA9BXPSV6SDzuHRyHE42A= X-Google-Smtp-Source: AOwi7QBtvl27j+6j8/yz4n0i4EV8TQQgCgsKdmKZKVCazkCHGtzWos+sW6+IdTvrL1guAsvnO/T3vVbwbZh/j6JNUdw= X-Received: by 10.31.205.135 with SMTP id d129mr93250vkg.84.1505389026640; Thu, 14 Sep 2017 04:37:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.172.8 with HTTP; Thu, 14 Sep 2017 04:37:05 -0700 (PDT) In-Reply-To: References: From: george.dit@gmail.com Date: Thu, 14 Sep 2017 04:37:05 -0700 Message-ID: To: Shahaf Shuler Cc: "users@dpdk.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] DPDK application that sends rules to the NIC 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: , X-List-Received-Date: Thu, 14 Sep 2017 11:37:07 -0000 Hi Shahaf, Thanks for the information, I am looking into it :) I had some compilation issues when trying to port rte_flow from DPDK 17.02 into an external application but these issues go away if I use 17.08. Best regards, Georgios On Thu, Sep 14, 2017 at 3:26 AM, Shahaf Shuler wrote: > Hi Georgios, > > Wednesday, September 13, 2017 11:09 AM, Georgios Katsikas: > > Hi all, > > > > I would like to implement a DPDK application that dumps a set of rules > to a > > Mellanox ConnectX-5 NIC and starts a number of threads (each on a > > different > > core) that receive the classified packets according to the rules. > > The rules are of the form src IP X and dst IP Y --> Send to core Z. > > > > Is there such an application (or similar) in the source tree? > > You can use testpmd for that. Run in isolate mode and add rte_flow rules > to direct IP packets to the specific queue that you want. > > > Does the Mellanox > > NIC require any special treatment or is there a unified API to do this > job > > regardless of the NIC? > > There Is a unified API. look into rte_flow: > http://dpdk.org/doc/guides/prog_guide/rte_flow.html > > > Which DPDK version do you propose? > > The latest one - v17.08 > > > > > Thanks, > > -- > > Georgios Katsikas > > Industrial Ph.D. Student > > Network Intelligence Group > > Decision, Networks, and Analytics (DNA) Lab RISE SICS > > E-Mail: georgios.katsikas@ri.se > -- Georgios Katsikas Industrial Ph.D. Student Network Intelligence Group Decision, Networks, and Analytics (DNA) Lab RISE SICS E-Mail: georgios.katsikas@ri.se