From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <george.dit@gmail.com>
Received: from mail-vk0-f41.google.com (mail-vk0-f41.google.com
 [209.85.213.41]) by dpdk.org (Postfix) with ESMTP id 0C79B199B4
 for <users@dpdk.org>; Wed, 13 Sep 2017 10:08:50 +0200 (CEST)
Received: by mail-vk0-f41.google.com with SMTP id t10so15301803vke.0
 for <users@dpdk.org>; Wed, 13 Sep 2017 01:08:49 -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=JCB/yJekpEyMIo/Efca2PRHrZfTbp0fBy5miTjTETaA=;
 b=Qz+UYH4n6dFUsYuCGAwGTVIE0uuunHsSAaqNC2ATHDtvUI7y8yEB3L/1KmodQ8lDdQ
 ZERpA6ntwY34LxOpJg5GggJLbAGmyVrMeqg6XqZ15FPUICyP9BeMx64xjBHP1YFRPX7n
 6HoAnrStZSe7ZGj793rQHDhIFrf+KEPAaSLwttXi6SfgATbC9FZPPra0SYOAFIKZES71
 HcKh3ZTox6rOKUOc3F+i12xB6/LTbaglCe+ELn1rqzH75DLUiDs6tYmzG910F4Ir9TF0
 iXCRrzmsdpDKfvaxqX8ePLPrQvyk5yrBbmWoeS2E3Soy7mZrqbHyNAGmN3Y566zLYOHK
 ZPuQ==
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=JCB/yJekpEyMIo/Efca2PRHrZfTbp0fBy5miTjTETaA=;
 b=YDzrPIfkm41lz8M1vneTkl8VxVTZ4T9TlxnqglDgAT/ZMTMXALuu9qwsA2qbXU2nWK
 Nz9SyoYaa7NBwsO16M93OeDKRAbBjKfOOE5weicYHeBy/H4+FiCNfsTMUHDOLQ4uAeJV
 GXaDDm4ZXZ2Auq1TyHsoCEp6Fo8Kak9GjxHM6y2RzTuNyMdp2c91O61FZV/yRQgs3VO5
 IowttzgDdYS8QfWt9NGQRt+fF3roQe/Z5BiLPdjvXsxdWX3GVQRWRzsQWCrZ732EC7Mb
 cKL14knq+CxIGn/BP4M7iaKDT+LvAHe+m9HfsGBux79IcgkZOHU4bJywmuLSRIRQ9rQY
 Lc2A==
X-Gm-Message-State: AHPjjUiitxUGUMRQKb6LesaqingCa7m+1qcd894OyoyGKlWoutO8dMFt
 A2xcrneH2QCb7BfStgLE1L3HTNMXHUqs7AdwFzA=
X-Google-Smtp-Source: AOwi7QCHXS/NREBF15kq1yoqUDAE65dF9DSp9dr7OVapREy6bRTnw0U3YrKUn0spX3Sgbei/kyUmO8Ig7dinbTtPld8=
X-Received: by 10.31.16.232 with SMTP id 101mr12959228vkq.158.1505290128947;
 Wed, 13 Sep 2017 01:08:48 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.103.172.8 with HTTP; Wed, 13 Sep 2017 01:08:48 -0700 (PDT)
From: george.dit@gmail.com
Date: Wed, 13 Sep 2017 01:08:48 -0700
Message-ID: <CAN9HtFB56LRuCtTugYrpBQ+_6GHuOSCqiOggPjo9dZ=_PrO8PA@mail.gmail.com>
To: users@dpdk.org
Content-Type: text/plain; charset="UTF-8"
X-Content-Filtered-By: Mailman/MimeDel 2.1.15
Subject: [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 <users.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/users>,
 <mailto:users-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/users/>
List-Post: <mailto:users@dpdk.org>
List-Help: <mailto:users-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/users>,
 <mailto:users-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Sep 2017 08:08:50 -0000

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? Does the
Mellanox NIC require any special treatment or is there a unified API to do
this job regardless of the NIC? Which DPDK version do you propose?

Thanks,
-- 
Georgios Katsikas
Industrial Ph.D. Student
Network Intelligence Group
Decision, Networks, and Analytics (DNA) Lab
RISE SICS
E-Mail:  georgios.katsikas@ri.se