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 7048CA0487 for ; Mon, 1 Jul 2019 06:11:33 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 667142AB; Mon, 1 Jul 2019 06:11:33 +0200 (CEST) Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by dpdk.org (Postfix) with ESMTP id 351CE2AB for ; Mon, 1 Jul 2019 06:11:32 +0200 (CEST) Received: by mail-pf1-f173.google.com with SMTP id i189so5850985pfg.10 for ; Sun, 30 Jun 2019 21:11:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id; bh=nl/Gf6FrmHfiok5cpYFfTfD/GHUr0cdIWTsKf4RklmE=; b=d4amVns0HF6g8MDsOIFeN+2mL6QxgHwmC3EDuicHl5+PBLn6Mk88d9vvjjwpIe06a4 BOb/zyrR2+je+L2oG60JqVgDldE1lHIdYOcv43L87hkU4JO3erHHtrB30ErmJeQmymK/ Od/U4+seDTXPkOX3wJBF1qjqWfMZn5R/W/PIGS1gbRPmXZ6Mt9tp0imnfin3UXkgGCbf SoYBdYgZcbzbvkC1D5njWTGvNsqiybKbVlHjkUlR7+C/hIFLDKDmMKoRsyOTsUF2hKb3 lDctfwQR74vCKHot6wRFhkMlWV8OM+boKVpdD63S3BlAc7w3pkl8zxa78XiZNIxCy9ZQ x8pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=nl/Gf6FrmHfiok5cpYFfTfD/GHUr0cdIWTsKf4RklmE=; b=pjdzgS4qKMy/Njaygm7detyvt3g1GWXl5rVh3lnAW7xcHiXM8Qk+lVWu4IQXhIRJkP 4yMMha3kBP6xCV2Djw4a+Jsm3kt8xC7vV6izaL47uIomBPeE2qvmEd27H7CubGy4WqiO 6dBmeFaVXa0RpRYVHem24Wu4Zc7JUanqhxf6lH9gMNsq9vBH7MUvflGy6t154isf8tB3 OOX+nlfICC2c3ingHnmQmZeNiW+WWH/bV0fHTUz+uL1qTaD22Jc+ulTjUEahCs3pSXKP QfwVjSOTYGyaVQEiSv/GAKOdphacSohTSztMbEn4W9tKoMF9rNGEeloiB96Kl8Zvylu8 MCFg== X-Gm-Message-State: APjAAAUdEPRp4PtuhSVGGFXpHtDRfZD/PpsVC68lL70LQPHcFGxCVvWf 8046AQY1OgL7q/Fc7ZyzUvgjUg/Q X-Google-Smtp-Source: APXvYqzAomUAdZ4QHVYkGMezlkl116Ovv8KKFXdXeL3pHpAJQs7+IuL3wyItjNylaSnbI8zCHVYdCg== X-Received: by 2002:a65:4cc4:: with SMTP id n4mr23246830pgt.307.1561954291262; Sun, 30 Jun 2019 21:11:31 -0700 (PDT) Received: from localhost.localdomain ([192.47.164.146]) by smtp.gmail.com with ESMTPSA id o128sm12190907pfb.42.2019.06.30.21.11.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 30 Jun 2019 21:11:30 -0700 (PDT) From: yasufum.o@gmail.com To: spp@dpdk.org, ferruh.yigit@intel.com, yasufum.o@gmail.com Date: Mon, 1 Jul 2019 13:11:22 +0900 Message-Id: <20190701041126.33947-1-yasufum.o@gmail.com> X-Mailer: git-send-email 2.17.1 Subject: [spp] [PATCH 0/4] Add specific RX and TX burst functions X-BeenThere: spp@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Soft Patch Panel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: spp-bounces@dpdk.org Sender: "spp" From: Yasufumi Ogawa In SPP worker processes, customized version of rte_eth_rx_burst() and rte_eth_tx_burst() are defined to add features of VLAN or ring lantency statistics. However, these features are not required from all of processes. This series of patches is to add burst functions used for VLAN, statistics or both. Yasufumi Ogawa (4): shared/sec: Add RX and TX burst without VLAN spp_vf: change to use burst funcs with VLAN spp_mirror: change to use burst funcs with VLAN spp_pcap: update include path of port capability src/mirror/Makefile | 1 + src/mirror/mir_cmd_runner.c | 1 + src/mirror/spp_mirror.c | 7 +- src/pcap/Makefile | 1 + src/pcap/spp_pcap.c | 4 +- .../spp_worker_th/cmd_res_formatter.c | 2 + .../spp_worker_th/cmd_res_formatter.h | 1 - .../secondary/spp_worker_th/port_capability.c | 409 ++++++++++++++++++ .../secondary/spp_worker_th/port_capability.h | 84 ++++ src/shared/secondary/spp_worker_th/spp_port.c | 373 +--------------- src/shared/secondary/spp_worker_th/spp_port.h | 100 +---- src/vf/Makefile | 2 +- src/vf/classifier_mac.c | 8 +- src/vf/forwarder.c | 5 +- src/vf/spp_vf.c | 1 + src/vf/vf_cmd_runner.c | 1 + 16 files changed, 546 insertions(+), 454 deletions(-) create mode 100644 src/shared/secondary/spp_worker_th/port_capability.c create mode 100644 src/shared/secondary/spp_worker_th/port_capability.h -- 2.17.1