From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 76326A046B for ; Mon, 24 Jun 2019 04:25:12 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6D9EC1BF42; Mon, 24 Jun 2019 04:25:12 +0200 (CEST) Received: from mail-pg1-f193.google.com (mail-pg1-f193.google.com [209.85.215.193]) by dpdk.org (Postfix) with ESMTP id 1F5961BF42 for ; Mon, 24 Jun 2019 04:25:11 +0200 (CEST) Received: by mail-pg1-f193.google.com with SMTP id n2so6233278pgp.11 for ; Sun, 23 Jun 2019 19:25:11 -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=XP/w+BTDy81xkJ05ptphrB/RzR8llrwO3UKJiJc6gD0=; b=f0JOCcuSOd6Kia8svMoGrJLbwvUFGKkjRPoATpgGsg9nQCULsZNCYDTSXGPWaWkT0m jtnIGjaqHoXBIJTXZTDDlbAonSipJCuVl3Udq4T5wl9QvCrgw10sD0cYQN6PGdUqyofU n3f48vHGzIutVbwD1IYC3QI1s+D6IBC9FyT2MF8cTLWM++o7lNyutuqvqrJnKf5Xj7Kn b/X4BEkS9XhKCF0+abaaS36yreeb8gUeniqBU/HOKlTV3gNvcCy03DIvD8PZHnMjzW1j snfaCY3ZjWIhH/u5NHJduGqba9eJ50t/jifTOgtEX6r9enI1I4gSHqOVw+oabcBaUKpF HKVw== 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=XP/w+BTDy81xkJ05ptphrB/RzR8llrwO3UKJiJc6gD0=; b=JvmMycNEhf1cv6cSTEt4+eZUeMh1AmI/w3V7VT0P8L2KDzMIBoMFpaILuaRwBK286d GSWleZbimPD0Rs79pnZGQ+IWSmZOxIx0bSAej9JoS7+tIsMw1+GbxrDZjySx0MN7Ry8k wocCiCdzW+3ZldPd9dkUmXiyclohEJwTZHA+iDBesMaWm5BYAxbBPGo68UZfvV6WACCn 5lSS7Fj0a8FPBmLGhhWasyqPJOHOOrCdP6NSxht5CSjmmKi7qzixzVIeWw+khXw469F6 iDzFgeyliOogA16E/ga5Zud6mmbND3iq/FZpQB/iyqqUu4uNICXjqkv0WiZQTrfDkLHX spnw== X-Gm-Message-State: APjAAAXYoEdVKUsm1s3JggMWN+a0093qqnCdqDDCB/SqSsVaoSf5C0ma iSkY9Veu7KsS+plozocEbwY1pya3 X-Google-Smtp-Source: APXvYqxCGSaWbfABOT/Q4ER04a8r6TJbkXXnZsSslxVy1D/92DQqrIVd++APcDMSdza8K0bjw7kX4w== X-Received: by 2002:a17:90a:a505:: with SMTP id a5mr22218604pjq.27.1561343110254; Sun, 23 Jun 2019 19:25:10 -0700 (PDT) Received: from localhost.localdomain ([192.47.164.146]) by smtp.gmail.com with ESMTPSA id a3sm9927461pje.3.2019.06.23.19.25.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 23 Jun 2019 19:25:09 -0700 (PDT) From: yasufum.o@gmail.com To: spp@dpdk.org, ferruh.yigit@intel.com, yasufum.o@gmail.com Date: Mon, 24 Jun 2019 11:24:53 +0900 Message-Id: <20190624022504.18752-1-yasufum.o@gmail.com> X-Mailer: git-send-email 2.17.1 Subject: [spp] [PATCH 00/11] Refactor libs for classifier in spp_vf 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 Functions for classifier table are hard to maintain because for long names of functions and variables, complex dependencies of shared libs and dedicated functions, or so. This update is to fix these issues. Some of dependencies are still remained, but reduced by separating many dedicated functions from shared libs or adding comments for explaining. Yasufumi Ogawa (11): shared/sec: refactor defines of VLAN in spp_vf shared/sec: rename struct mac_classification shared/sec: refactor comments in vf_deps.h shared/sec: rename struct classified_data shared/sec: revise usage of term component_info shared/sec: revise members of struct cls_port_info shared/sec: rename func free_mac_classification shared/sec: refactor updating classifier info shared/sec: refactor updating forwarder shared/sec: refactor getting classifier status shared/sec: refactor setup cls table stat in JSON .../secondary/spp_worker_th/cmd_parser.c | 2 +- .../secondary/spp_worker_th/cmd_runner.c | 37 +- .../secondary/spp_worker_th/cmd_utils.c | 4 +- .../secondary/spp_worker_th/cmd_utils.h | 5 +- src/shared/secondary/spp_worker_th/vf_deps.h | 158 +++----- src/vf/classifier_mac.c | 382 +++++++++--------- src/vf/classifier_mac.h | 2 +- src/vf/spp_forward.c | 105 +++-- 8 files changed, 330 insertions(+), 365 deletions(-) -- 2.17.1