Netdev Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Tonghao Zhang <xiangxia.m.yue@gmail.com>
To: David Miller <davem@davemloft.net>
Cc: ovs dev <dev@openvswitch.org>,
	Linux Kernel Network Developers <netdev@vger.kernel.org>,
	Pravin Shelar <pshelar@ovn.org>,
	Cong Wang <xiyou.wangcong@gmail.com>
Subject: Re: [PATCH net-next v1 2/3] net: openvswitch: refactor flow free function
Date: Mon, 24 Aug 2020 15:39:41 +0800	[thread overview]
Message-ID: <CAMDZJNV4RXtbzy8SyyLbUCt1LE2wCOBcTQYt=-WR5T_2hQMNCQ@mail.gmail.com> (raw)
In-Reply-To: <20200819.185209.697239873202931307.davem@davemloft.net>

On Thu, Aug 20, 2020 at 9:52 AM David Miller <davem@davemloft.net> wrote:
>
> From: Tonghao Zhang <xiangxia.m.yue@gmail.com>
> Date: Thu, 20 Aug 2020 07:21:33 +0800
>
> > On Thu, Aug 20, 2020 at 6:52 AM David Miller <davem@davemloft.net> wrote:
> >
> >> From: xiangxia.m.yue@gmail.com
> >>
> >> Date: Tue, 18 Aug 2020 18:09:22 +0800
> >>
> >>
> >>
> >> > Decrease table->count and ufid_count unconditionally,
> >>
> >>
> >>
> >> You don't explain why this is a valid transformation.
> >>
> >>
> >>
> >> Is it a bug fix?
> >
> > No
> >
> >>
> >>
> >>
> >> Can it never happen?
> >>
> >>
> >>
> >> What are the details and how did you determine this?
> >
> > I want to simplify the codes, when flushing the flow, previous codes don't
> > count the flow, because we have set them(flow counter/ufid counter)to 0.
> > Now don't set counter and count flow and ufid flow when deleting them, and
> > I add BUG_ON to make sure other patch no bug when flushing flow.
>
> Add these details to your commit message, please.
Hi David
v2 are sent, please review
http://patchwork.ozlabs.org/project/netdev/patch/20200824073602.70812-2-xiangxia.m.yue@gmail.com/
http://patchwork.ozlabs.org/project/netdev/patch/20200824073602.70812-3-xiangxia.m.yue@gmail.com/
http://patchwork.ozlabs.org/project/netdev/patch/20200824073602.70812-4-xiangxia.m.yue@gmail.com/

-- 
Best regards, Tonghao

  reply	other threads:[~2020-08-24  7:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-18 10:09 [PATCH net-next v1 0/3] net: openvswitch: improve codes xiangxia.m.yue
2020-08-18 10:09 ` [PATCH net-next v1 1/3] net: openvswitch: improve coding style xiangxia.m.yue
2020-08-18 10:09 ` [PATCH net-next v1 2/3] net: openvswitch: refactor flow free function xiangxia.m.yue
2020-08-19 22:52   ` David Miller
     [not found]     ` <CAMDZJNVcuN29b5S0JxqzEcw4yG6S+TVSpwkiohYJMgE0TU45PA@mail.gmail.com>
2020-08-20  1:52       ` David Miller
2020-08-24  7:39         ` Tonghao Zhang [this message]
2020-08-18 10:09 ` [PATCH net-next v1 3/3] net: openvswitch: remove unnused keep_flows xiangxia.m.yue

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='CAMDZJNV4RXtbzy8SyyLbUCt1LE2wCOBcTQYt=-WR5T_2hQMNCQ@mail.gmail.com' \
    --to=xiangxia.m.yue@gmail.com \
    --cc=davem@davemloft.net \
    --cc=dev@openvswitch.org \
    --cc=netdev@vger.kernel.org \
    --cc=pshelar@ovn.org \
    --cc=xiyou.wangcong@gmail.com \
    /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;
as well as URLs for NNTP newsgroup(s).