diff options
author | Sunil Goutham <sgoutham@marvell.com> | 2018-10-22 20:56:00 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-23 06:15:38 +0300 |
commit | 759001406654f4ec8738a1149ed2729306bd335d (patch) | |
tree | 449d920187cc67b50e9312944deaf1c8f86014ed /samples | |
parent | f5721f76a4376eacbbcc260d318872d2008fffbb (diff) | |
download | linux-759001406654f4ec8738a1149ed2729306bd335d.tar.xz |
octeontx2-af: Install ucast and bcast pkt forwarding rules
Upon NIXLF_ALLOC install a unicast forwarding rule in NPC MCAM
like below
- Match pkt DMAC with NIXLF attached PF/VF's MAC address.
- Ingress channel
- Action is UCAST
- Forward to PF_FUNC of this NIXLF
And broadcast pkt forwarding rule as
- Match L2B bit in MCAM search key
- Ingress channel
- Action is UCAST, for now, later it will be changed to MCAST.
Only PFs can install this rule
Upon NIXLF_FREE disable all MCAM entries in use by that NIXLF.
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions