summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2016-04-07 19:39:46 +0100
committerDavid S. Miller <davem@davemloft.net>2016-04-08 15:26:06 -0400
commit36a857e4f2c9783cd573c948df022011cb386aa4 (patch)
treedc88f6af30455d744501fb191019f6ad78dc3bab /tools/perf/scripts/python
parent30d2117191b7437b5b6ce2f09eddf86f203c7a37 (diff)
nfp: convert .ndo_change_mtu() to prepare/commit paradigm
When changing MTU on running device first allocate new rings and buffers and once it succeeds proceed with changing MTU. Allocation of new rings is not really necessary for this operation - it's done to keep the code simple and because size of the extra ring memory is quite small compared to the size of buffers. Operation can still fail midway through if FW communication times out. In that case we retry with old MTU (rings). Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions