diff options
author | Wei Fang <wei.fang@nxp.com> | 2025-05-06 16:07:33 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-05-08 19:43:52 -0700 |
commit | 5d7f6f6836a11b64944d26505d8f629cb0e911ea (patch) | |
tree | a8626e322ca5c7caf737cbe756d49b2a50dff79d /tools/net/ynl/pyynl/cli.py | |
parent | 014e33e2d8e9e792df10c880e46b3278ad912a7f (diff) |
net: enetc: move generic VLAN hash filter functions to enetc_pf_common.c
The VLAN hash filters of ENETC v1 and v4 are basically the same, the only
difference is that the offset of the VLAN hash filter registers has been
changed in ENETC v4. So some functions like enetc_vlan_rx_add_vid() and
enetc_vlan_rx_del_vid() only need to be slightly modified to be reused
by ENETC v4. Currently, we just move these functions from enetc_pf.c to
enetc_pf_common.c. Appropriate modifications will be made for ENETC4 in
a subsequent patch.
Signed-off-by: Wei Fang <wei.fang@nxp.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Link: https://patch.msgid.link/20250506080735.3444381-13-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