diff options
author | Wei Fang <wei.fang@nxp.com> | 2025-05-06 16:07:34 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-05-08 19:43:53 -0700 |
commit | f7d30ef6c1f743584fde2774327227c547ec878e (patch) | |
tree | 57e478d3102133ab35a1e42c97f471d85cee580f /tools/net/ynl/pyynl/cli.py | |
parent | 5d7f6f6836a11b64944d26505d8f629cb0e911ea (diff) |
net: enetc: add VLAN filtering support for i.MX95 ENETC PF
Since the offsets of the VLAN hash filter registers of ENETC v4 are
different from ENETC v1. Therefore, enetc_set_si_vlan_ht_filter() is
added to set the correct VLAN hash filter based on the SI ID and ENETC
revision, so that ENETC v4 PF driver can reuse enetc_vlan_rx_add_vid()
and enetc_vlan_rx_del_vid(). In addition, the VLAN promiscuous mode will
be enabled if VLAN filtering is disabled, which means that PF qualifies
for reception of all VLAN tags.
Signed-off-by: Wei Fang <wei.fang@nxp.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Link: https://patch.msgid.link/20250506080735.3444381-14-wei.fang@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/net/ynl/pyynl/cli.py')
0 files changed, 0 insertions, 0 deletions