]> git.karo-electronics.de Git - karo-tx-linux.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)
commitafb736e9330ad6b2b6935d2f53ded784eb73f12d
tree8205643b7d5046211e0ba85ac535432bd04fc863
parente586b3b0baee89f4998efd9cc97001c63e3bc744
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]