Home
last modified time | relevance | path

Searched hist:"74 d4943fbb8c2fd32440a0bb4a6a01290d15709b" (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/infiniband/hw/mlx4/
H A Dalias_GUID.c74d4943fbb8c2fd32440a0bb4a6a01290d15709b Thu May 21 12:14:07 UTC 2015 Or Gerlitz <ogerlitz@mellanox.com> net/mlx4_core: Modify port values when generting EQEs for VFs

As part of enabling single ported VFs over IB ports we need to handle
some of the flows for generting EQ events for VFs which don't come
into play under Eth ports.

This mainly includes port management events derived from changes of the
phyiscal port (lid change, client re-register, down/up, etc), VF pkey table
changes and VF guid changes initiated by the IB driver.

(1) make sure that events are generated only for VFs sitting on
the relevant physical port (under the ALL_SLAVES flow).

(2) before generating the event, convert from physical (one or two)
to VF port (always equals one).

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Deq.c74d4943fbb8c2fd32440a0bb4a6a01290d15709b Thu May 21 12:14:07 UTC 2015 Or Gerlitz <ogerlitz@mellanox.com> net/mlx4_core: Modify port values when generting EQEs for VFs

As part of enabling single ported VFs over IB ports we need to handle
some of the flows for generting EQ events for VFs which don't come
into play under Eth ports.

This mainly includes port management events derived from changes of the
phyiscal port (lid change, client re-register, down/up, etc), VF pkey table
changes and VF guid changes initiated by the IB driver.

(1) make sure that events are generated only for VFs sitting on
the relevant physical port (under the ALL_SLAVES flow).

(2) before generating the event, convert from physical (one or two)
to VF port (always equals one).

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>