Netdev List
 help / color / mirror / Atom feed
From: Eric Dumazet <eric.dumazet@gmail.com>
To: Jiri Pirko <jiri@resnulli.us>
Cc: netdev@vger.kernel.org, davem@davemloft.net, fubar@us.ibm.com,
	andy@greyhouse.net, kaber@trash.net, stephen@networkplumber.org,
	kuznet@ms2.inr.ac.ru, jmorris@namei.org, yoshfuji@linux-ipv6.org,
	edumazet@google.com
Subject: Re: [patch net-next 1/3] team: add peer notification
Date: Fri, 19 Jul 2013 06:56:50 -0700	[thread overview]
Message-ID: <1374242210.26476.9.camel@edumazet-glaptop> (raw)
In-Reply-To: <1374241222-9683-2-git-send-email-jiri@resnulli.us>

On Fri, 2013-07-19 at 15:40 +0200, Jiri Pirko wrote:
> When port is enabled or disabled, allow to notify peers by unsolicitated
> NAs or gratuitous ARPs. Disabled by default.
> 

> +	if (!atomic_dec_and_test(&team->notify_peers.count_pending))
> +		schedule_delayed_work(&team->notify_peers.dw,
> +				      (team->notify_peers.interval * HZ) / 1000);

Isn't that msecs_to_jiffies() ?

  reply	other threads:[~2013-07-19 13:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-19 13:40 [patch net-next 0/3] add support for peer notifications and igmp rejoins for team Jiri Pirko
2013-07-19 13:40 ` [patch net-next 1/3] team: add peer notification Jiri Pirko
2013-07-19 13:56   ` Eric Dumazet [this message]
2013-07-19 14:02     ` Jiri Pirko
2013-07-19 13:40 ` [patch net-next 2/3] net: convert resend IGMP to notifier event Jiri Pirko
2013-07-19 13:40 ` [patch net-next 3/3] team: add support for sending multicast rejoins Jiri Pirko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1374242210.26476.9.camel@edumazet-glaptop \
    --to=eric.dumazet@gmail.com \
    --cc=andy@greyhouse.net \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=fubar@us.ibm.com \
    --cc=jiri@resnulli.us \
    --cc=jmorris@namei.org \
    --cc=kaber@trash.net \
    --cc=kuznet@ms2.inr.ac.ru \
    --cc=netdev@vger.kernel.org \
    --cc=stephen@networkplumber.org \
    --cc=yoshfuji@linux-ipv6.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox