All of lore.kernel.org
 help / color / mirror / Atom feed
From: ebiederman@lnxi.com (Eric W. Biederman)
To: Christoph Hellwig <hch@infradead.org>
Cc: Roland Dreier <roland@topspin.com>,
	netdev@oss.sgi.com, linux-kernel@vger.kernel.org,
	openib-general@openib.org
Subject: Re: [openib-general] Re: [PATCH][RFC/v1][11/12] Add InfiniBand Documentation files
Date: 23 Nov 2004 01:49:16 -0700	[thread overview]
Message-ID: <m37jodlzlf.fsf@maxwell.lnxi.com> (raw)
In-Reply-To: <20041122153144.GA4821@infradead.org>

Christoph Hellwig <hch@infradead.org> writes:

> > +  When the IPoIB driver is loaded, it creates one interface for each
> > +  port using the P_Key at index 0.  To create an interface with a
> > +  different P_Key, write the desired P_Key into the main interface's
> > +  /sys/class/net/<intf name>/create_child file.  For example:
> > +
> > +    echo 0x8001 > /sys/class/net/ib0/create_child
> > +
> > +  This will create an interface named ib0.8001 with P_Key 0x8001.  To
> > +  remove a subinterface, use the "delete_child" file:
> > +
> > +    echo 0x8001 > /sys/class/net/ib0/delete_child
> > +
> > +  The P_Key for any interface is given by the "pkey" file, and the
> > +  main interface for a subinterface is in "parent."
> 
> Any reason this doesn't use an interface similar to the normal vlan code?
> 
> And what is a P_Key?

IB version of a vlan identifier.

Eric

WARNING: multiple messages have this Message-ID (diff)
From: ebiederman@lnxi.com (Eric W. Biederman)
To: Christoph Hellwig <hch@infradead.org>
Cc: netdev@oss.sgi.com, linux-kernel@vger.kernel.org,
	openib-general@openib.org
Subject: Re: Re: [PATCH][RFC/v1][11/12] Add InfiniBand Documentation files
Date: 23 Nov 2004 01:49:16 -0700	[thread overview]
Message-ID: <m37jodlzlf.fsf@maxwell.lnxi.com> (raw)
In-Reply-To: <20041122153144.GA4821@infradead.org>

Christoph Hellwig <hch@infradead.org> writes:

> > +  When the IPoIB driver is loaded, it creates one interface for each
> > +  port using the P_Key at index 0.  To create an interface with a
> > +  different P_Key, write the desired P_Key into the main interface's
> > +  /sys/class/net/<intf name>/create_child file.  For example:
> > +
> > +    echo 0x8001 > /sys/class/net/ib0/create_child
> > +
> > +  This will create an interface named ib0.8001 with P_Key 0x8001.  To
> > +  remove a subinterface, use the "delete_child" file:
> > +
> > +    echo 0x8001 > /sys/class/net/ib0/delete_child
> > +
> > +  The P_Key for any interface is given by the "pkey" file, and the
> > +  main interface for a subinterface is in "parent."
> 
> Any reason this doesn't use an interface similar to the normal vlan code?
> 
> And what is a P_Key?

IB version of a vlan identifier.

Eric

  parent reply	other threads:[~2004-11-23  8:52 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20041122713.cSeT4UFKGqJDdZ8T@topspin.com>
2004-11-22 15:13 ` [PATCH][RFC/v1][6/12] IPoIB IPv4 multicast Roland Dreier
2004-11-22 15:13   ` [PATCH][RFC/v1][7/12] IPoIB IPv6 support Roland Dreier
2004-11-22 15:13     ` Roland Dreier
2004-11-22 15:14     ` [PATCH][RFC/v1][8/12] Add IPoIB (IP-over-InfiniBand) driver Roland Dreier
2004-11-22 15:14       ` *****SPAM***** " Roland Dreier
2004-11-22 15:14       ` [PATCH][RFC/v1][9/12] Add InfiniBand userspace MAD support Roland Dreier
2004-11-22 15:14         ` [PATCH][RFC/v1][10/12] Document InfiniBand ioctl use Roland Dreier
2004-11-22 15:14           ` [PATCH][RFC/v1][11/12] Add InfiniBand Documentation files Roland Dreier
2004-11-22 15:14             ` [PATCH][RFC/v1][12/12] InfiniBand MAINTAINERS entry Roland Dreier
2004-11-22 15:31             ` [PATCH][RFC/v1][11/12] Add InfiniBand Documentation files Christoph Hellwig
2004-11-22 15:31               ` Christoph Hellwig
2004-11-22 15:41               ` Roland Dreier
2004-11-22 15:41                 ` Roland Dreier
2004-11-23  8:49               ` Eric W. Biederman [this message]
2004-11-23  8:49                 ` Eric W. Biederman
2004-11-22 22:53             ` Greg KH
2004-11-22 22:58               ` Roland Dreier
2004-11-22 23:05                 ` Greg KH
2004-11-22 23:21                   ` Roland Dreier
2004-11-22 23:30                   ` [openib-general] " Johannes Erdfelt
2004-11-23  6:45                     ` Greg KH
2004-11-23  6:51                       ` Johannes Erdfelt
2004-11-23  7:38                         ` Greg KH
2004-11-22 22:50         ` [PATCH][RFC/v1][9/12] Add InfiniBand userspace MAD support Greg KH
2004-11-22 23:05           ` Roland Dreier
2004-11-23  7:45             ` Greg KH
2004-11-23 15:04               ` Roland Dreier
2004-11-23  2:08           ` Roland Dreier
2004-11-23  6:30             ` Greg KH
2004-11-23  6:45               ` Roland Dreier
2004-11-23  7:43                 ` Greg KH
2004-11-23 15:06                   ` Roland Dreier
2004-11-23 15:17                     ` Greg KH
2004-11-22 19:40       ` [PATCH][RFC/v1][8/12] Add IPoIB (IP-over-InfiniBand) driver Sam Ravnborg
2004-11-22 19:40         ` Sam Ravnborg
2004-11-22 22:34       ` Greg KH
2004-11-22 22:34         ` Greg KH
2004-11-22 23:18         ` Roland Dreier
2004-11-22 23:18           ` Roland Dreier

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=m37jodlzlf.fsf@maxwell.lnxi.com \
    --to=ebiederman@lnxi.com \
    --cc=hch@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@oss.sgi.com \
    --cc=openib-general@openib.org \
    --cc=roland@topspin.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 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.