aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorGal Pressman <[email protected]>2022-11-06 14:31:27 +0200
committerPaolo Abeni <[email protected]>2022-11-08 12:08:44 +0100
commit47f3ecf4763d3fea37d3453c9ee1f9f2169d71b3 (patch)
tree90403e03187c2518d8543ab37fe045d74109aee4 /tools/perf/scripts/python/libxed.py
parent9a0f830f80265bd1ef816e1541ac24bee80e9a3c (diff)
ethtool: Fail number of channels change when it conflicts with rxnfc
Similar to what we do with the hash indirection table [1], when network flow classification rules are forwarding traffic to channels greater than the requested number of channels, fail the operation. Without this, traffic could be directed to channels which no longer exist (dropped) after changing number of channels. [1] commit d4ab4286276f ("ethtool: correctly ensure {GS}CHANNELS doesn't conflict with GS{RXFH}") Reviewed-by: Tariq Toukan <[email protected]> Signed-off-by: Gal Pressman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions