diff options
| author | Naveen Mamindlapalli <[email protected]> | 2020-11-15 01:23:00 +0530 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2020-11-17 13:48:21 -0800 |
| commit | f0c2982aaf98ff508b3a25ffabbb6e23ff7e6d9a (patch) | |
| tree | a0c1a0687868fe0a90e94386a9884e400d563b55 /tools/perf/scripts/python/compaction-times.py | |
| parent | fd9d7859db6c629536e89cc89dfdbb76bdc45ac9 (diff) | |
octeontx2-pf: Add support for SR-IOV management functions
This patch adds support for ndo_set_vf_mac, ndo_set_vf_vlan
and ndo_get_vf_config handlers. The traffic redirection
based on the VF mac address or vlan id is done by installing
MCAM rules. Reserved RX_VTAG_TYPE7 in each NIXLF for VF VLAN
which strips the VLAN tag from ingress VLAN traffic. The NIX PF
allocates two MCAM entries for VF VLAN feature, one used for
ingress VTAG strip and another entry for egress VTAG insertion.
This patch also updates the MAC address in PF installed VF VLAN
rule upon receiving nix_lf_start_rx mbox request for VF since
Administrative Function driver will assign a valid MAC addr
in nix_lf_start_rx function.
Signed-off-by: Naveen Mamindlapalli <[email protected]>
Co-developed-by: Tomasz Duszynski <[email protected]>
Signed-off-by: Tomasz Duszynski <[email protected]>
Signed-off-by: Sunil Goutham <[email protected]>
Signed-off-by: Hariprasad Kelam <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions