Skip to content

Commit 5e65b02

Browse files
mark-blochSaeed Mahameed
authored andcommitted
net/mlx5: E-Switch, Add definition of IB representor
Create a new representor type: REP_IB. which will be initialized by an IB device that is used as a logical representor of a eswitch vport (VF or uplink) just like we have a net device today in switchdev mode. Signed-off-by: Mark Bloch <[email protected]> Reviewed-by: Or Gerlitz <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
1 parent f80be54 commit 5e65b02

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/linux/mlx5/eswitch.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ enum {
1616

1717
enum {
1818
REP_ETH,
19+
REP_IB,
1920
NUM_REP_TYPES,
2021
};
2122

0 commit comments

Comments
 (0)