using ConnectX card as Ethernet (mlxen)

Garrett Cooper yanegomi at gmail.com
Wed Dec 12 23:15:31 UTC 2012


On Wed, Dec 12, 2012 at 2:06 PM, Garrett Cooper <yanegomi at gmail.com> wrote:
> On Thu, Dec 6, 2012 at 8:07 PM, Anthony Cornehl <accornehl at 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!


More information about the freebsd-infiniband mailing list