summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/en_main.c
diff options
context:
space:
mode:
authorAviv Heller2016-05-10 12:47:50 +0200
committerLeon Romanovsky2016-08-18 17:49:53 +0200
commit84df61ebc69bdc466180e02d654e9b0284781288 (patch)
treecc732b7f9c61ca55251cb5a142d61400fa93501e /drivers/net/ethernet/mellanox/mlx5/core/en_main.c
parentnet/mlx5: Separate query_port_proto_oper for IB and EN (diff)
downloadkernel-qcow2-linux-84df61ebc69bdc466180e02d654e9b0284781288.tar.gz
kernel-qcow2-linux-84df61ebc69bdc466180e02d654e9b0284781288.tar.xz
kernel-qcow2-linux-84df61ebc69bdc466180e02d654e9b0284781288.zip
net/mlx5: Add HW interfaces used by LAG
Exposed LAG commands enum and layouts: - CREATE_LAG HW enters LAG mode: RoCE traffic from port two is received on PF0 core dev. Allows to set tx_affinity (tx port) for QPs and TISes. Allows to port remap QPs and TISes, overriding their tx_affinity behavior. - MODIFY_LAG Remap QPs and TISes to another port. - QUERY_LAG Query whether LAG mode is active. - DESTROY_LAG HW exits LAG mode, returning to non-LAG behavior. - CREATE_VPORT_LAG Merge Ethernet flow steering, such that traffic received on port two jumps to PF0 root flow table. Available only in LAG mode. - DESTROY_VPORT_LAG Ethernet flow steering returns to non-LAG behavior. Caps added: - lag_master Driver is in charge of managing the LAG. This is currently the only option. - num_lag_ports LAG is supported only if this field's value is 2. Other fields: - QP/TIS tx port affinity During LAG, this field controls on which port a QP or TIS resides. - TIS strict tx affinity When this field is set, the TIS will not be subject to port remap by CREATE_LAG/MODIFY_LAG. - LAG demux flow table Flow table used for redirecting non user-space traffic back to PF1 root flow table, if the packet was received on port two. Signed-off-by: Aviv Heller <avivh@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en_main.c')
0 files changed, 0 insertions, 0 deletions