Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2012 15:15:28 -0800
From:      Garrett Cooper <yanegomi@gmail.com>
To:        Anthony Cornehl <accornehl@gmail.com>
Cc:        freebsd-infiniband@freebsd.org
Subject:   Re: using ConnectX card as Ethernet (mlxen)
Message-ID:  <CAGH67wT=eKY39zTL6%2BHp1WK40-GjdmfVzUUBcytZs4eW1xZU5w@mail.gmail.com>
In-Reply-To: <CAGH67wTr8%2B91-D7y8bJLhZvxNEzmqt1cRzd7HXomDwGTOk=1Dg@mail.gmail.com>
References:  <3A359B33-380C-4230-A62C-623765E9376A@jnielsen.net> <FB2BC2D5-46CC-4CF6-8EC8-5C2836253D14@jnielsen.net> <CAGH67wRDDjkLxJhQwYFnez2bpV6gTDPi2WMC58W6oURDH15WKQ@mail.gmail.com> <53A5EDFD-B2C5-4E24-9AB9-5504AA693602@jnielsen.net> <CAGH67wTVH2TmfDvqy-ZKs6Ge=T-sbARmwJ-Jw2RK8JtWjK=LGg@mail.gmail.com> <CAAoDvRxj8SvyY1ZMFxT5inS1BLdnZKj07u8Bq%2B%2BArWv7Y5_fwg@mail.gmail.com> <CAGH67wTr8%2B91-D7y8bJLhZvxNEzmqt1cRzd7HXomDwGTOk=1Dg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Dec 12, 2012 at 2:06 PM, Garrett Cooper <yanegomi@gmail.com> wrote:
> On Thu, Dec 6, 2012 at 8:07 PM, Anthony Cornehl <accornehl@gmail.com> wrote:
>> There is an issue with the sysfs/sysctl abstraction for storing values.
>> Whups.
>>
>> http://www.freebsd.org/cgi/query-pr.cgi?pr=174213
>
> I have a patch for the sysctl<->sysfs shim that corrects it to
> function when storing/showing values and makes it function more like
> Linux. Setting the value works on CURRENT when changing to eth mode a
> single caveat: when changing the mode for the card, you need to do it
> for the last port. This is because of the following code [in
> sys/ofed/drivers/net/mlx4/main.c]:

    The behavior seen above is wired into the driver based on product
specific requirements for the ConnectX cards that should be documented
in the user manual. In the ConnectX-2 manual (example:
http://www.mellanox.com/related-docs/user_manuals/ConnectX%202_VPI_UserManual.pdf
) it's mentioned under the VPI Port Configuration section.
HTH!
-Garrett

PS Thanks Peter O. for the assist!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGH67wT=eKY39zTL6%2BHp1WK40-GjdmfVzUUBcytZs4eW1xZU5w>