[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140901.204857.987190951930176561.davem@davemloft.net>
Date: Mon, 01 Sep 2014 20:48:57 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: sowmini.varadhan@...cle.com
Cc: raghuram.kothakota@...cle.com, netdev@...r.kernel.org
Subject: Re: [PATCH net-next 1/2] sunvnet: Avoid sending superfluous LDC
messages.
From: Sowmini Varadhan <sowmini.varadhan@...cle.com>
Date: Fri, 29 Aug 2014 16:21:05 -0400
> @@ -380,11 +390,14 @@ static int vnet_walk_rx(struct vnet_port *port, struct vio_dring_state *dr,
> viodbg(DATA, "vnet_walk_rx start[%08x] end[%08x]\n", start, end);
>
> while (start != end) {
> - int ack = 0, err = vnet_walk_rx_one(port, dr, start, &ack);
> + int retries;
> + int ack = 0, err;
> +
> + retries = 0;
> +again:
> + err = vnet_walk_rx_one(port, dr, start, &ack);
> if (err == -ECONNRESET)
> return err;
> - if (err != 0)
> - break;
> if (ack_start == -1)
> ack_start = start;
> ack_end = start;
You're adding a function local label not even used by this patch.
Please be more careful with your patch submissions, I can see here
that you're bleeding patch #2 (which I disagree with) into this one
and you're not testing your changes individually as you should.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists