From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4E26443180 for ; Mon, 16 Oct 2023 17:54:46 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 48E7640A80; Mon, 16 Oct 2023 17:54:46 +0200 (CEST) Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) by mails.dpdk.org (Postfix) with ESMTP id 1158E402DA for ; Mon, 16 Oct 2023 17:54:43 +0200 (CEST) Received: by mail-pl1-f174.google.com with SMTP id d9443c01a7336-1ca3a54d2c4so15685705ad.3 for ; Mon, 16 Oct 2023 08:54:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1697471683; x=1698076483; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=u7/KT2ZtNp3WYgqiNkTF1ctzkVvgthsBsWpR8ukdKpY=; b=KD53CUMDUd98kVpDcJT2c4ILRpNGY6jI/TRhdJ5odWjtJke6oE9jHL83bJNvt2Ziq8 Yy1eRGQ3LDcDbvR7gD9C0cH+xm9dMrrkNKIeweP0lCZXgUStuIWwcizXyBCCLnVLllzR W6Io3wgtbNfdP3uRRMtT9xgkzu5lXHudKnRGP39J0me1bJ1UbCxs+tept/MTzsrsWunp pGkxGwEDp3wEMKwmOVQXIxB46qR11Potdrn2bZk34vQvawdijUHbiFy35JrH+kourLJz QDz/pZEYC9OYfuI6G6gOv1Ib418gab5LivH8r0trT+QYYHp5C/QX1enBMqxoCZCGU2+s bsJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697471683; x=1698076483; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=u7/KT2ZtNp3WYgqiNkTF1ctzkVvgthsBsWpR8ukdKpY=; b=nGRK25BnzGCJ3LIVDkd7+9vilJoxBXaEtw1OgECaLqx/kxWnlDzyoqDvwZwpkMDwcr Pgr9JhGf6uhg5sR8zyP5j7MqzInNmwrbgGPrA4vOVsJy65togucivahzZaWD2ZkBTKZb Wxqv7SBlxYpJ8aD69A3gDdtgQ6lnSn0nd6SSrrBTZ2Fx4PjmQBF5QfLyEwAQOJa762cw 8abjw6Np3TurObhOj+lY6s9x6gHb48MYNJwG94173CAtlyi1wzVlpek1b4eefgAy5/M3 rFqM/GYpny0wSeC3XrJRtm5o5sRadx9ApetByOrQP3buE0Ybiw3ote1Nhy2ftjLvf8rC v0zQ== X-Gm-Message-State: AOJu0YzsTLTtRru0go+ET7VoW8OjOs5xMXqkJJyCBeQmvP6ORXiXTJlk T7Aw61w5VL5HXcueLkcJ5MQ5DA== X-Google-Smtp-Source: AGHT+IFL5AMra/+I8KiJGQQie4wNlaG3HtEI/B6ER+lO2kwDW2kY5GcD7qWqzCKQQAC8Y5eHuJxfzQ== X-Received: by 2002:a17:902:6b82:b0:1bc:2abb:4e98 with SMTP id p2-20020a1709026b8200b001bc2abb4e98mr32360306plk.21.1697471683018; Mon, 16 Oct 2023 08:54:43 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id jj1-20020a170903048100b001c7443d0890sm8641048plb.102.2023.10.16.08.54.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 08:54:42 -0700 (PDT) Date: Mon, 16 Oct 2023 08:54:41 -0700 From: Stephen Hemminger To: fengchengwen Cc: David Marchand , , , Chas Williams , "Min Hu (Connor)" , Pablo de Lara , Declan Doherty Subject: Re: [PATCH] net/bonding: fix link status callback stop Message-ID: <20231016085441.4b3544b0@hermes.local> In-Reply-To: <8e752c64-1e94-7147-6f65-e9e924e998ab@huawei.com> References: <20231016084744.734493-1-david.marchand@redhat.com> <8e752c64-1e94-7147-6f65-e9e924e998ab@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org On Mon, 16 Oct 2023 18:33:01 +0800 fengchengwen wrote: > > + if (internals->link_status_polling_enabled) { > > + rte_eal_alarm_cancel(bond_ethdev_member_link_status_change_monitor, > > + (void *)&rte_eth_devices[internals->port_id]); Is the cast to void * actually necessary?