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 2BA044317F; Mon, 16 Oct 2023 17:54:45 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 16CBF402DA; Mon, 16 Oct 2023 17:54:45 +0200 (CEST) Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) by mails.dpdk.org (Postfix) with ESMTP id 0EE2B40269 for ; Mon, 16 Oct 2023 17:54:43 +0200 (CEST) Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-1c9d407bb15so39187275ad.0 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=wl5Tv2BZ+hEyZIsQ4l1odjBCfw49iC7pPLpabYMMVTAxfsRBF/D3xZ13rsyl1R4MV3 nYY7iUulKeoVHJd6U27jsE9I8r40jetqM+iQljr95atp1jcAnr3yzgLmbhf4vb42GVoq XAU02FEwzF/N1R1Ko5TcF6PFKDr3s3u6iXei0y1SkVdPD1XHVOrItqErdJZuSm9xMf0+ DKDFlbLIIMuywmi/UNfrJYgdauR0jEr5dWIRFw93Qr6icRrbO3R9FwzNi9Dj2RRwFu4v P0OIWf5h51sixiulpkXwZ9KdUgAq7f9AJqthdpilpL+SpwfPF0GWpjwG+TZ/7qD7T9T/ yRHA== X-Gm-Message-State: AOJu0YwO5YUuQZs9mviRZn77NtRyFBzU19fxZlvhuRN4Wsy12uzPlEM5 e3o9Xaad9CBxybUOEqpBdi3v+g== 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: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-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?