using ConnectX card as Ethernet (mlxen)

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

On Wed, Dec 12, 2012 at 2:06 PM, Garrett Cooper <yanegomi at> wrote:
> On Thu, Dec 6, 2012 at 8:07 PM, Anthony Cornehl <accornehl at> wrote:
>> There is an issue with the sysfs/sysctl abstraction for storing values.
>> Whups.
> 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:
) it's mentioned under the VPI Port Configuration section.

PS Thanks Peter O. for the assist!

More information about the freebsd-infiniband mailing list