net/mlx5_core: Add transport domain alloc/dealloc support
authorAchiad Shochat <achiad@mellanox.com>
Thu, 11 Jun 2015 11:47:32 +0000 (14:47 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Jun 2015 22:55:26 +0000 (15:55 -0700)
commit56508b5013718e9df783ebb8495461357a97ceda
treed01a2f66fc90c2efcf8cb9b33809036ac8b09d0c
parent12be4b2190f0e22dc8f7c8ca173bc233d0d46246
net/mlx5_core: Add transport domain alloc/dealloc support

Each transport object, namely TIR and TIS, must have a transport domain
number (TDN) identifier.

The driver wrongly assumed that it is OK to use TDN=0 without explicit
TDN allocation from the device.

The TDN will also be used for isolating different processes once user
mode Ethernet will be supported.

Signed-off-by: Achiad Shochat <achiad@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/transobj.c
drivers/net/ethernet/mellanox/mlx5/core/transobj.h
This page took 0.025784 seconds and 5 git commands to generate.