All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hal Rosenstock <hal.rosenstock-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: "Hefty, Sean" <sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: "Ira Weiny (weiny2-i2BcT+NCU+M@public.gmane.org)"
	<weiny2-i2BcT+NCU+M@public.gmane.org>,
	"linux-rdma
	(linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org)"
	<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	"ofw-ZwoEplunGu1OwGhvXhtEPSCwEArCW2h5@public.gmane.org"
	<ofw-ZwoEplunGu1OwGhvXhtEPSCwEArCW2h5@public.gmane.org>
Subject: Re: [ofw] ib-diags: compatability issue with ibstat
Date: Fri, 23 Sep 2011 09:28:34 -0400	[thread overview]
Message-ID: <CAKzyTsyH0rop69rTGUW_+kgfohyN-XiCLV4JsO9NLzyH9KpQAA@mail.gmail.com> (raw)
In-Reply-To: <1828884A29C6694DAF28B7E6B8A8237316E66F5B-P5GAC/sN6hmkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>

On Wed, Sep 21, 2011 at 3:06 PM, Hefty, Sean <sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote:
> commit 1344cb3feacafc462440dabfa5997c5205486d83 added support for FDR10 in a way that is not compatible with Windows support.  Windows does not use files to read attribute information.
>
> I will probably need to obtain the necessary information using ibverbs on windows by reading port attributes.  I don't think FDR10 support is available through ibverbs on linux yet, but would this be acceptable?  Is there some other way that you'd like to handle this?  The other option I can think of is moving is_fdr10() and sys_read_string() out of ibstat.c and into a linux specific file, so that windows can provide its own implementation.  Thoughts?

I think there are 2 (related but somewhat separate) issues here:
1. How to obtain is_fdr10
2. Whether ibverbs should be used for this (in windows, linux, both)

The only way to determine whether fdr10 is active or not is via the
vendor proprietary MAD. That info may be reflected in some other API
(and/or file) so that MAD does not need to be reissued. In a separate
thread on linux-rdma, there was discussion on a couple of different
ways to do that from verbs and in this thread that there's no sysfs
equivalent in Windows. You've already stated that the Windows support
is using libibverbs for libibumad support so it seems appropriate to
me to do the same here (in Windows at least).

-- Hal

>
> - Sean
> _______________________________________________
> ofw mailing list
> ofw-ZwoEplunGu1OwGhvXhtEPSCwEArCW2h5@public.gmane.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw
>
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2011-09-23 13:28 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-21 19:06 ib-diags: compatability issue with ibstat Hefty, Sean
     [not found] ` <1828884A29C6694DAF28B7E6B8A8237316E66F5B-P5GAC/sN6hmkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2011-09-21 22:13   ` Ira Weiny
     [not found]     ` <20110921151349.140d95f6.weiny2-i2BcT+NCU+M@public.gmane.org>
2011-09-21 22:23       ` Hefty, Sean
     [not found]         ` <1828884A29C6694DAF28B7E6B8A8237316E6723E-P5GAC/sN6hmkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2011-09-21 22:32           ` Ira Weiny
     [not found]             ` <20110921153254.06c77ebc.weiny2-i2BcT+NCU+M@public.gmane.org>
2011-09-21 22:35               ` Jason Gunthorpe
     [not found]                 ` <20110921223546.GI28454-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2011-09-23 12:57                   ` Hal Rosenstock
     [not found]                     ` <CAKzyTsw8TKFNPS8QFgjag7XZ77cu=OzofAuAKTr_DQmkPTsogw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-09-23 16:57                       ` Jason Gunthorpe
     [not found]                         ` <20110923165758.GM28454-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2011-09-23 17:31                           ` Hal Rosenstock
     [not found]                             ` <4E7CC268.4000909-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2011-09-23 17:55                               ` Jason Gunthorpe
     [not found]                                 ` <20110923175542.GN28454-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2011-09-23 18:01                                   ` Hal Rosenstock
     [not found]                                     ` <4E7CC98E.5050408-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2011-09-23 18:22                                       ` Jason Gunthorpe
2011-09-22  0:14               ` Ira Weiny
     [not found]                 ` <20110921171408.4e4087c8.weiny2-i2BcT+NCU+M@public.gmane.org>
2011-09-23 13:13                   ` [ofw] " Hal Rosenstock
2011-09-23 16:15                     ` Hefty, Sean
2011-09-23 13:28   ` Hal Rosenstock [this message]
     [not found]     ` <CAKzyTsyH0rop69rTGUW_+kgfohyN-XiCLV4JsO9NLzyH9KpQAA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-09-23 13:45       ` [ofw] " Hal Rosenstock
     [not found]         ` <CAKzyTszJ8qbPMYgMFhAzkJVnGmgetggSU7BYN+1RxrVB3tBYqA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-09-23 16:21           ` Hefty, Sean
2011-09-23 16:33             ` Hal Rosenstock
2011-09-23 16:38               ` Hal Rosenstock
2011-09-23 16:40         ` [ofw] " Hefty, Sean
2011-09-23 16:44           ` Hal Rosenstock
     [not found]             ` <CAKzyTswr6EMFPn1fBNujP1Lgb8b6MEcJ1uPbVqEt_nE1Er7dPw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-09-23 17:15               ` [ofw] " Hefty, Sean
     [not found]                 ` <1828884A29C6694DAF28B7E6B8A8237316E677A9-P5GAC/sN6hmkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2011-09-26  6:19                   ` Ira Weiny

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=CAKzyTsyH0rop69rTGUW_+kgfohyN-XiCLV4JsO9NLzyH9KpQAA@mail.gmail.com \
    --to=hal.rosenstock-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=ofw-ZwoEplunGu1OwGhvXhtEPSCwEArCW2h5@public.gmane.org \
    --cc=sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=weiny2-i2BcT+NCU+M@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.