]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Ethernet resource handling files
authorAmir Vadai <amirv@mellanox.com>
Thu, 28 May 2015 19:28:47 +0000 (22:28 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 31 May 2015 01:24:39 +0000 (18:24 -0700)
commitd9810578594fdf6703f82584aa2be923767682ce
tree8205643b7d5046211e0ba85ac535432bd04fc863
parent29aa4f99c31ac5cdc4118c0f89b762d7c4babf3d
net/mlx5: Ethernet resource handling files

This patch contains the resource handling files:
- flow_table.c: This file contains the code to handle the low level API
to configure hardware flow table. It is separated from
the flow_table_en.c, because it will be used in the
future by Raw Ethernet QP in mlx5_ib too.
- en_flow_table.[ch]: Ethernet flow steering handling. The flow table
object contain a mapping between flow specs and TIRs.
This mechanism will be used also to configure e-switch
in the future, when SR-IOV support will be added.
- transobj.[ch] - Low level functions to create/modify/destroy the
                  transport objects: RQ/SQ/TIR/TIS
- vport.[ch] - Handle attributes of a virtual port (vPort) in the
  embedded switch. Currently this switch is a passthrough, until SR-IOV
  support will be added.

Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en_flow_table.c [new file with mode: 0644]
drivers/net/ethernet/mellanox/mlx5/core/flow_table.c [new file with mode: 0644]
drivers/net/ethernet/mellanox/mlx5/core/transobj.c [new file with mode: 0644]
drivers/net/ethernet/mellanox/mlx5/core/transobj.h [new file with mode: 0644]
drivers/net/ethernet/mellanox/mlx5/core/vport.c [new file with mode: 0644]
drivers/net/ethernet/mellanox/mlx5/core/vport.h [new file with mode: 0644]
include/linux/mlx5/flow_table.h [new file with mode: 0644]