diff options
| author | Nicolai Buchwitz <nb@tipi-net.de> | 2026-09-13 21:00:52 +0200 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-09-14 19:21:58 -0700 |
| commit | 23ca4ddc4fce2c233a49e9fd34d4b5b02bd7324e (patch) | |
| tree | 26ab5cfc6eb82646ab860c341937270413217e1f /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 9e92ad4630f5dd1838ce6bbe6b1bd2c73d34de36 (diff) | |
| download | linux-23ca4ddc4fce2c233a49e9fd34d4b5b02bd7324e.tar.gz linux-23ca4ddc4fce2c233a49e9fd34d4b5b02bd7324e.zip | |
net: bcmgenet: restore the hardware filters on open
bcmgenet_hfb_init() runs INIT_LIST_HEAD() on priv->rxnfc_list, which drops
every rule off the list, and bcmgenet_open() calls it on each ifup. Every
rule the user configured is silently lost:
# ethtool -N eth0 flow-type ether dst $MAC action 0
Added rule with ID 0
# ethtool -n eth0 | grep -c Filter:
1
# ip link set eth0 down && ip link set eth0 up
# ethtool -n eth0 | grep -c Filter:
0
Initialise the lists once at probe and restore the rules on open, as
bcmgenet_resume() already does.
Fixes: 3e370952287c ("net: bcmgenet: add support for ethtool rxnfc flows")
Signed-off-by: Nicolai Buchwitz <nb@tipi-net.de>
Reviewed-by: Justin Chen <justin.chen@broadcom.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://patch.msgid.link/20260913190052.939955-1-nb@tipi-net.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
