Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1382009

RE: [Intel-wired-lan] [PATCH net-next V2 2/2] intel: ixgbevf: Support Windows hosts (Hyper-V)

From KY Srinivasan <kys@microsoft.com>
Newsgroups linux.kernel
Subject RE: [Intel-wired-lan] [PATCH net-next V2 2/2] intel: ixgbevf: Support Windows hosts (Hyper-V)
Date 2016-04-18 21:50 +0200
Message-ID <rpnlg-2zM-33@gated-at.bofh.it> (permalink)
References (1 earlier) <rp8me-7cT-25@gated-at.bofh.it> <rp8me-7cT-21@gated-at.bofh.it> <rpk42-5g-33@gated-at.bofh.it> <rpkGK-q2-5@gated-at.bofh.it> <rpkQq-Ms-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



> -----Original Message-----
> From: Joe Perches [mailto:joe@perches.com]
> Sent: Monday, April 18, 2016 10:00 AM
> To: KY Srinivasan <kys@microsoft.com>; Alexander Duyck
> <alexander.duyck@gmail.com>
> Cc: David Miller <davem@davemloft.net>; Netdev
> <netdev@vger.kernel.org>; linux-kernel@vger.kernel.org;
> devel@linuxdriverproject.org; olaf@aepfle.de; Robo Bot
> <apw@canonical.com>; Jason Wang <jasowang@redhat.com>;
> eli@mellanox.com; jackm@mellanox.com; yevgenyp@mellanox.com; John
> Ronciak <john.ronciak@intel.com>; intel-wired-lan <intel-wired-
> lan@lists.osuosl.org>
> Subject: Re: [Intel-wired-lan] [PATCH net-next V2 2/2] intel: ixgbevf: Support
> Windows hosts (Hyper-V)
> 
> On Mon, 2016-04-18 at 16:52 +0000, KY Srinivasan wrote:
> []
> > > > +bool ixgbevf_on_hyperv(struct ixgbe_hw *hw)
> > > > +{
> > > > +       if (hw->mbx.ops.check_for_msg == NULL)
> > > > +               return true;
> > > > +       else
> > > > +               return false;
> > > > +}
> 
> trivia:
> 
> bool func(...)
> {
> 	if (<bar>)
> 		return true;
> 	else
> 		return false;
> }
> 
> can generally be written as:
> 
> bool func(...)
> {
> 	return <bar>;
> }

Thanks Joe; will update.

K. Y

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH net-next V2 2/2] intel: ixgbevf: Support Windows hosts (Hyper-V) "K. Y. Srinivasan" <kys@microsoft.com> - 2016-04-18 05:50 +0200
  Re: [Intel-wired-lan] [PATCH net-next V2 2/2] intel: ixgbevf: Support  Windows hosts (Hyper-V) Alexander Duyck <alexander.duyck@gmail.com> - 2016-04-18 18:20 +0200
    RE: [Intel-wired-lan] [PATCH net-next V2 2/2] intel: ixgbevf: Support  Windows hosts (Hyper-V) KY Srinivasan <kys@microsoft.com> - 2016-04-18 19:00 +0200
      Re: [Intel-wired-lan] [PATCH net-next V2 2/2] intel: ixgbevf:  Support Windows hosts (Hyper-V) Joe Perches <joe@perches.com> - 2016-04-18 19:10 +0200
        RE: [Intel-wired-lan] [PATCH net-next V2 2/2] intel: ixgbevf: Support  Windows hosts (Hyper-V) KY Srinivasan <kys@microsoft.com> - 2016-04-18 21:50 +0200

csiph-web