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 5BC83A04DB; Fri, 16 Oct 2020 01:04:55 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4226D1E8C3; Fri, 16 Oct 2020 00:58:33 +0200 (CEST) Received: from mail-pl1-f193.google.com (mail-pl1-f193.google.com [209.85.214.193]) by dpdk.org (Postfix) with ESMTP id 251A21E570 for ; Fri, 16 Oct 2020 00:58:16 +0200 (CEST) Received: by mail-pl1-f193.google.com with SMTP id o9so181354plx.10 for ; Thu, 15 Oct 2020 15:58:16 -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=RGVDE9Cpy3OwCSl7d9v8KTaT0toqgnZet+e1cDcHdD8=; b=RClGeMzp6GcW208/9ltZedIxjYINEp4suBcooqAqayKmBRw72JQnQcCEsk1SnqWhcw q/WIafH2/B8x3cfK1daKAF/lBqBTkMGs3tBl54irU7Kpk9ruoqVh5EFvVFdW4JyELERg CE5/TYE1mIPh7rCNTnXgrk+u0CjWxdnLZqfH8X3knaxEj/G1C0gCciJKrk7Op7/Bx7Dw RZXhiFn5a/cqyui0dNHbF2PUhgGIUwSqZLuGlPJXOgf0032TBHaa7+pxtVvRaPxmX4oJ kb29BorO8AhG5kxfu6u3OictXtXt4U+sClyWf6SzRmTgAliVZKxOA0meQa70WQCwkWNi HTtA== 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=RGVDE9Cpy3OwCSl7d9v8KTaT0toqgnZet+e1cDcHdD8=; b=X+TK2gvApi2xxQLBnFcrrd8qVwt4hRtss5BtsOpoOQI+IDSmrIlN0ux5+vQXobUBZx KL6Sq/q44bcC+LlaqO/hCT4L8Si9M9XqjviKYwHAkBlM7qKBklL5RsmOK09ah8IZNqCz iriRv4RpdFqu33yDWNUCb628VAT5KG46d5+8FyTExAaU+d3aT+gO+vDC/N47swEoq4lP V2uDI41FQ2fv+dfOrXXCUMpfyINhOuo+CiTQVXCnL+Ki4NiH4ik6XJJ3yDuCpEPNXEOA meZE1Dahw2bqw6rejOPxYOFypQiAys4RCNIlxuOkPXBiVNfq1+/VbwAgr9FBToZiVy6c OGdg== X-Gm-Message-State: AOAM533eJlttNEx4jeBkqh6cAoDfN5NVFNwr9GU1qiKiQfKT37ugtP37 04Se6wc/mWAmhn06RUP1lzPNo+t5K5q5NA== X-Google-Smtp-Source: ABdhPJxmzVz8bueoFkfL1dznv6eFF05GLNclTU4miw86sjJpEh+7VH5Q5sdSH3HAeQJSLIk/kkkb1g== X-Received: by 2002:a17:90a:a81:: with SMTP id 1mr1000375pjw.174.1602802693940; Thu, 15 Oct 2020 15:58:13 -0700 (PDT) Received: from hermes.corp.microsoft.com (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id x4sm324055pfm.86.2020.10.15.15.58.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Oct 2020 15:58:13 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 15 Oct 2020 15:57:36 -0700 Message-Id: <20201015225736.12167-21-stephen@networkplumber.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20201015225736.12167-1-stephen@networkplumber.org> References: <20200911190701.29171-1-stephen@networkplumber.org> <20201015225736.12167-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v7 20/20] drivers/failsafe: replace references to slave devices 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" The term slave is only used in some comments and can be replaced with sub devices, as done elsewhere. Signed-off-by: Stephen Hemminger --- drivers/net/failsafe/failsafe.c | 6 +++--- drivers/net/failsafe/failsafe_private.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/failsafe/failsafe.c b/drivers/net/failsafe/failsafe.c index b921e101e69d..83192c2d9928 100644 --- a/drivers/net/failsafe/failsafe.c +++ b/drivers/net/failsafe/failsafe.c @@ -229,7 +229,7 @@ fs_eth_dev_create(struct rte_vdev_device *vdev) if (failsafe_mac_from_arg) { /* * If MAC address was provided as a parameter, - * apply to all probed slaves. + * apply to all probed subdevices. */ FOREACH_SUBDEV_STATE(sdev, i, dev, DEV_PROBED) { ret = rte_eth_dev_default_mac_addr_set(PORT_ID(sdev), @@ -254,8 +254,8 @@ fs_eth_dev_create(struct rte_vdev_device *vdev) * If no device has been probed and no ether_addr * has been provided on the command line, use a random * valid one. - * It will be applied during future slave state syncs to - * probed slaves. + * It will be applied during future state syncs to + * probed subdevices. */ if (i == priv->subs_tail) rte_eth_random_addr(&mac->addr_bytes[0]); diff --git a/drivers/net/failsafe/failsafe_private.h b/drivers/net/failsafe/failsafe_private.h index 6af0ef8471b0..0f9a572af8bd 100644 --- a/drivers/net/failsafe/failsafe_private.h +++ b/drivers/net/failsafe/failsafe_private.h @@ -149,7 +149,7 @@ struct fs_priv { /* * Set of sub_devices. * subs[0] is the preferred device - * any other is just another slave + * any other is just another sub device */ struct sub_device *subs; /* shared between processes */ uint8_t subs_head; /* if head == tail, no subs */ -- 2.27.0