summaryrefslogtreecommitdiffstats
path: root/tools/memory-model/linux-kernel.def
diff options
context:
space:
mode:
authorJianbo Liu2019-06-25 19:47:50 +0200
committerSaeed Mahameed2019-06-26 21:01:28 +0200
commit65c0f2c1663649217455a73d48b1c303f133180a (patch)
tree661ecd5f2d08a7de1231bf85166b4dbb3f0d2f0e /tools/memory-model/linux-kernel.def
parentnet/mlx5: Convert mkey_table to XArray (diff)
downloadkernel-qcow2-linux-65c0f2c1663649217455a73d48b1c303f133180a.tar.gz
kernel-qcow2-linux-65c0f2c1663649217455a73d48b1c303f133180a.tar.xz
kernel-qcow2-linux-65c0f2c1663649217455a73d48b1c303f133180a.zip
net/mlx5: Introduce vport metadata matching bits and enum constants
When a dual-port VHCA sends a RoCE packet on its non-native port, and the packet arrives to its affiliated vport FDB, a mismatch might occur on the rules that match the packet source vport. So we replace the match on source port with the match on metadata that was configured in ingress ACL, and that metadata will be passed further also to the NIC RX table of the eswitch manager. Introduce vport metadata matching bits and enum constants as a pre-step towards metadata matching. o metadata type C registers in the misc parameters 2 fields. o esw_uplink_ingress_acl bit in esw cap. If it set, the device supports ingress ACL for the uplink vport. o fdb_to_vport_reg_* bits in flow table cap and esw vport context, to support propagating the metadata to the nic rx through the loopback path. o flow_source in flow context, to indicate the known origin of packets. o enum constants, to support the above bits. Signed-off-by: Jianbo Liu <jianbol@mellanox.com> Reviewed-by: Eli Britstein <elibr@mellanox.com> Reviewed-by: Roi Dayan <roid@mellanox.com> Reviewed-by: Mark Bloch <markb@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'tools/memory-model/linux-kernel.def')
0 files changed, 0 insertions, 0 deletions