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 830C4A10DA for ; Sat, 3 Aug 2019 01:52:34 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 397401C2F8; Sat, 3 Aug 2019 01:52:33 +0200 (CEST) Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) by dpdk.org (Postfix) with ESMTP id E58971C2ED for ; Sat, 3 Aug 2019 01:52:30 +0200 (CEST) Received: by mail-pf1-f172.google.com with SMTP id 19so36764711pfa.4 for ; Fri, 02 Aug 2019 16:52:30 -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=Aa0OjsFCJP2QGgRhr4xl7ctcxv+wcve3yZL2OAo0mJ8=; b=rw6XPwHkZrngFr/qFvi9RVbqLXFEPx3tLyZdNypQSAGjUcmcbiggTKwUvki9k7pnWP EE29yz9SrofdaCQvTKr6EDu2oImn6CuiVhsI/mJ8T+T51naaVrX01qeiIVGGsTgmE0K4 Fo0t5MpnDAbyG5t5rPseA2173WOPdHPOOpn1N5q6mH+GsR3n0njNzJSkuhDRxkemlHgb G0fuaQtgzJq5JTmSeD5J+sAT+izIi5xlllx0fQnrnLtcRtn+uKOkGXuhqJkyurA3EBtp s+Zy/z3zHFeshIV8QguAe7PzqY6hBavsgS0DFUNeOxttotNeCnNgQqkt9BIGZQS0Jylf H67Q== 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=Aa0OjsFCJP2QGgRhr4xl7ctcxv+wcve3yZL2OAo0mJ8=; b=iZ1bMBnQsaTdcE3Qcb99s1CSumgQ2Fv+zY1R/+uoQS3hYVavBWpGjqvfQLCpqOixzM gnYg46M6FlCxpBb3Q+0yogiKqQqSJIjtJO4IU74sJ/lF/+ttBrbDLLTDIXxgQYUR9Tz9 uPteMYxvD8UA468g48+bx0/ziJBURf3Bgq4zdv7iA9Wily+ct6BCnb6Kb+WmlFvqGviP mBtUYalscrK9NbsI5/zDdCw0MrQ/Ui9JkvsH8/igR3rCn3JCznxuw9n91bkyP0Vo3XST lDWzBI7VdNmMOpp6nGf0tf/RQsWco0wtJzY9UwVpx2HuvuJT5EL3u+dkTb4kt7F2JD/Q a8Fw== X-Gm-Message-State: APjAAAU0cU41AzZNcBMMRQzqI20NIvHg6+5UP4ZCjXnOwpgGsy7XmJCu lbVrSLg+aHJxTTT6/8xn7z78H91B X-Google-Smtp-Source: APXvYqxG8yQSNsU/QbNJU5Jb551Ea3x/9RpHtHRJP8wRjgI3hP9cyNZZ9SCV3Ccxl384lml1mwNrfw== X-Received: by 2002:a63:c44c:: with SMTP id m12mr87121987pgg.396.1564789949532; Fri, 02 Aug 2019 16:52:29 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id t6sm5629229pgu.23.2019.08.02.16.52.28 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 02 Aug 2019 16:52:28 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Fri, 2 Aug 2019 16:52:20 -0700 Message-Id: <20190802235222.20682-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 v6 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" 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 | 35 ++++++++++--------- .../client_server_mp/mp_server/args.h | 2 +- .../client_server_mp/mp_server/init.c | 7 ++-- 4 files changed, 31 insertions(+), 31 deletions(-) -- 2.20.1