aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2023-01-18 01:02:33 +0200
committerJakub Kicinski <kuba@kernel.org>2023-01-18 20:52:26 -0800
commitc33bfaf91c4ca6c859b1184396c0be2c1a94e745 (patch)
tree14f75d8b37ade00afe3083e2f7ab51e863fa8fe4 /tools/perf/scripts/python
parentnet: enetc: rename "xdp" and "dev" in enetc_setup_bpf() (diff)
downloadlinux-c33bfaf91c4ca6c859b1184396c0be2c1a94e745.tar.gz
linux-c33bfaf91c4ca6c859b1184396c0be2c1a94e745.zip
net: enetc: set up XDP program under enetc_reconfigure()
Offloading a BPF program to the RX path of the driver suffers from the same problems as the PTP reconfiguration - improper error checking can leave the driver in an invalid state, and the link on the PHY is lost. Reuse the enetc_reconfigure() procedure, but here, we need to run some code in the middle of the ring reconfiguration procedure - while the interface is still down. Introduce a callback which makes that possible. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions