aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorIoana Ciornei <[email protected]>2021-07-22 12:15:51 +0000
committerDavid S. Miller <[email protected]>2021-07-22 12:46:57 +0000
commit7aaa0f311e2df2704fa8ddb8ed681a3b5841d0bf (patch)
tree0c0aaba346c19bc8a15793512cc0e1efa1830abc /tools/perf/scripts/python/net_dropmonitor.py
parentnet: sched: cls_api: Fix the the wrong parameter (diff)
downloadkernel-7aaa0f311e2df2704fa8ddb8ed681a3b5841d0bf.tar.gz
kernel-7aaa0f311e2df2704fa8ddb8ed681a3b5841d0bf.zip
dpaa2-switch: seed the buffer pool after allocating the swp
Any interraction with the buffer pool (seeding a buffer, acquire one) is made through a software portal (SWP, a DPIO object). There are circumstances where the dpaa2-switch driver probes on a DPSW before any DPIO devices have been probed. In this case, seeding of the buffer pool will lead to a panic since no SWPs are initialized. To fix this, seed the buffer pool after making sure that the software portals have been probed and are ready to be used. Fixes: 0b1b71370458 ("staging: dpaa2-switch: handle Rx path on control interface") Signed-off-by: Ioana Ciornei <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions