| To: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [openib-general] Re: [PATCH][RFC/v1][11/12] Add InfiniBand Documentation files |
| From: | ebiederman@xxxxxxxx (Eric W. Biederman) |
| Date: | 23 Nov 2004 01:49:16 -0700 |
| Cc: | Roland Dreier <roland@xxxxxxxxxxx>, netdev@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, openib-general@xxxxxxxxxx |
| In-reply-to: | <20041122153144.GA4821@infradead.org> |
| References: | <20041122714.taTI3zcdWo5JfuMd@topspin.com> <20041122714.AyIOvRY195EGFTaO@topspin.com> <20041122153144.GA4821@infradead.org> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Christoph Hellwig <hch@xxxxxxxxxxxxx> 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 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [NETFILTER] Apply IPsec to ipt_REJECT packets, Herbert Xu |
|---|---|
| Next by Date: | Re: [NETFILTER] Apply IPsec to ipt_REJECT packets, Harald Welte |
| Previous by Thread: | Re: [PATCH][RFC/v1][11/12] Add InfiniBand Documentation files, Roland Dreier |
| Next by Thread: | Re: Re: Thanks!, trofimov |
| Indexes: | [Date] [Thread] [Top] [All Lists] |