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>
Showing
- drivers/net/ethernet/mellanox/mlx5/core/en_flow_table.c 858 additions, 0 deletionsdrivers/net/ethernet/mellanox/mlx5/core/en_flow_table.c
- drivers/net/ethernet/mellanox/mlx5/core/flow_table.c 422 additions, 0 deletionsdrivers/net/ethernet/mellanox/mlx5/core/flow_table.c
- drivers/net/ethernet/mellanox/mlx5/core/transobj.c 169 additions, 0 deletionsdrivers/net/ethernet/mellanox/mlx5/core/transobj.c
- drivers/net/ethernet/mellanox/mlx5/core/transobj.h 47 additions, 0 deletionsdrivers/net/ethernet/mellanox/mlx5/core/transobj.h
- drivers/net/ethernet/mellanox/mlx5/core/vport.c 84 additions, 0 deletionsdrivers/net/ethernet/mellanox/mlx5/core/vport.c
- drivers/net/ethernet/mellanox/mlx5/core/vport.h 41 additions, 0 deletionsdrivers/net/ethernet/mellanox/mlx5/core/vport.h
- include/linux/mlx5/flow_table.h 54 additions, 0 deletionsinclude/linux/mlx5/flow_table.h
Please register or sign in to comment