[ofa-general][PATCH 0/3] mlx4: fixes to support mlx4_fc driver

oren at mellanox.co.il oren at mellanox.co.il
Mon Sep 22 07:32:45 PDT 2008


The following 3 patches fix some bugs and adds API needed to support the mlx4_fc driver.

Patch 1: Adds API that allows any of the mlx4 interfaces query the core about a given underlying device structure. Currently implemented only to mlx4_en interface, this means getting the relevant mlx4_dev and port number for a given net_device. Later, this API will also allow getting the relevant mlx4_dev and port for a given ib_dev.
Patch 2: Fixes a bug in VLANs registration. The hardware VLANs table starts at entry 2, with 0 and 1 reserved for no-vlan and vlan-miss special cases.
Patch 3: Fixes a bug in reserving FEXCH QPs and MPTs for the mlx4_fc driver. The reserved range should be twice as large, as it is per-port.

All these patches rely on the mlx4_en patches, submitted by Yevgeny P.

Signed-off-by: Oren Duer <oren at mellanox.co.il>



More information about the general mailing list