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 4B023A00E6 for ; Mon, 5 Aug 2019 18:38:27 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2079D1BDE5; Mon, 5 Aug 2019 18:38:27 +0200 (CEST) Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) by dpdk.org (Postfix) with ESMTP id 1CD391BDE4 for ; Mon, 5 Aug 2019 18:38:26 +0200 (CEST) Received: by mail-pf1-f182.google.com with SMTP id y15so39934219pfn.5 for ; Mon, 05 Aug 2019 09:38:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=FM0+qQP9P7UJ+ZYuCS024VAetGly+e60bcANlXGJY8Y=; b=1ARbJbJZlxiofeOvTT9ff4lkY8ahcB2AaSrKm+UF8+Y64EDhhORZFhLXGBiPuH25Jt caxNPlHscTavYyqWM6BKVp1QejvQcJeL1G+LVU+xg1f8Q8SRKVvFZb2hCR3tfCdKBX0u lDweOC10SHGQRv0uDWpycOORcV88VdSFqPchyHF50u4bg8vlqwVTdimcjAjrJvpbjfJ8 NOaen7jKh2IyLiqJgu2BNqcFxR1iyuMZqm4K+2/bV6zwVe9DV5n8NOQ6CpL9ZJwoRp/r SG9L0FBCcaUFx0Ehj+JmOUPxi+xydBSU2CwqBVoHuQoFWMUhzqHxQ4zyjgnBaaZnnJY8 eO2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=FM0+qQP9P7UJ+ZYuCS024VAetGly+e60bcANlXGJY8Y=; b=b8fkZGysNie3bEcfC0jiRzNoxAtxnZkcN9JG+p47L05e6PQ0XxwlfIt9+VYTEz1FFo KyJUa6NxAWGPaewRUmYk0tI5YCHZUGqAv7UhSTOqHANkWv+0ZkZZc2Htrqyaf8IG+8+a i3vHF/W62oYJZuXshS8ql8bFH0GynkOU8vgnTVuXB1OURWruX4iJrf3IInMa5Za5waH6 oK0El1PEEDT4eXC/m5/rQ7vDRnh6TJttHdYNQq6iFyXpRhirMl1zoqmh4iN59myAYbD5 777U4hMFN6CeDJtxA2Ne2U/1WfTwEkrVIt4OXKe/XWVGGH498jj6L4R+1l3Ueg40ru9A QLLw== X-Gm-Message-State: APjAAAUoZkyCbljm0gsLcGtUEMdjY70/w3fb64NdvtG8K2zttc/qIDEn DsqGp87TFYctfy0LwBjmTuMfKEs4 X-Google-Smtp-Source: APXvYqwxOR1RtpxPVUkCojdmc4O58leiRbP/qDoITO45PKXMAVkckjrtXZ1TRVoK7gYCKmfIwD82EQ== X-Received: by 2002:a63:b46:: with SMTP id a6mr128923488pgl.235.1565023105025; Mon, 05 Aug 2019 09:38:25 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id t9sm19512797pji.18.2019.08.05.09.38.24 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 05 Aug 2019 09:38:24 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 5 Aug 2019 09:38:15 -0700 Message-Id: <20190805163817.3713-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190726165054.24078-1-stephen@networkplumber.org> References: <20190726165054.24078-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v7 0/2] examples/client_server_mp: port id (fixes only) X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" v7 - widen port mask to allow 64 ports v6 - just include fixes; cleanups can wait until 19.11 v5 - change logic in server_mp for evaluating port mask v4 - fix checkpatch warning add patches to fix style issues and use ether format addr v3 - merge both patches in one series use alternative algorithm to check port ownership (N^2) because reviewer didn't like direct check. Stephen Hemminger (2): examples/multi_process/client_server_mp: check port validity examples/multi_process/client_server_mp - fix crash in mp_client with sparse ports .../client_server_mp/mp_client/client.c | 18 ++++----- .../client_server_mp/mp_server/args.c | 40 ++++++++++--------- .../client_server_mp/mp_server/args.h | 2 +- .../client_server_mp/mp_server/init.c | 7 +--- 4 files changed, 34 insertions(+), 33 deletions(-) -- 2.20.1