Commit 4bbe2e5
committed
Merge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue
Tony Nguyen says:
====================
iavf: get rid of the crit lock
Przemek Kitszel says:
Fix some deadlocks in iavf, and make it less error prone for the future.
Patch 1 is simple and independent from the rest.
Patches 2, 3, 4 are strictly a refactor, but it enables the last patch
to be much smaller.
(Technically Jake given his RB tags not knowing I will send it to -net).
Patch 5 just adds annotations, this also helps prove last patch to be correct.
Patch 6 removes the crit lock, with its unusual try_lock()s.
I have more refactoring for scheduling done for -next, to be sent soon.
There is a simple test:
add VF; decrease number of queueus; remove VF
that was way too hard to pass without this series :)
* '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue:
iavf: get rid of the crit lock
iavf: sprinkle netdev_assert_locked() annotations
iavf: extract iavf_watchdog_step() out of iavf_watchdog_task()
iavf: simplify watchdog_task in terms of adminq task scheduling
iavf: centralize watchdog requeueing itself
iavf: iavf_suspend(): take RTNL before netdev_lock()
====================
Link: https://patch.msgid.link/20250603171710.2336151-1-anthony.l.nguyen@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>3 files changed
Lines changed: 96 additions & 223 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
271 | | - | |
272 | 271 | | |
273 | 272 | | |
274 | 273 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
| |||
1256 | 1258 | | |
1257 | 1259 | | |
1258 | 1260 | | |
1259 | | - | |
1260 | 1261 | | |
1261 | 1262 | | |
| 1263 | + | |
| 1264 | + | |
1262 | 1265 | | |
1263 | 1266 | | |
1264 | 1267 | | |
| |||
1277 | 1280 | | |
1278 | 1281 | | |
1279 | 1282 | | |
1280 | | - | |
1281 | | - | |
1282 | | - | |
1283 | | - | |
1284 | | - | |
1285 | | - | |
1286 | | - | |
1287 | | - | |
1288 | 1283 | | |
1289 | 1284 | | |
1290 | 1285 | | |
1291 | 1286 | | |
1292 | 1287 | | |
1293 | 1288 | | |
1294 | 1289 | | |
1295 | | - | |
1296 | 1290 | | |
1297 | 1291 | | |
1298 | 1292 | | |
| |||
1435 | 1429 | | |
1436 | 1430 | | |
1437 | 1431 | | |
1438 | | - | |
1439 | 1432 | | |
1440 | 1433 | | |
| 1434 | + | |
1441 | 1435 | | |
1442 | 1436 | | |
| 1437 | + | |
| 1438 | + | |
1443 | 1439 | | |
1444 | 1440 | | |
1445 | 1441 | | |
| |||
1463 | 1459 | | |
1464 | 1460 | | |
1465 | 1461 | | |
1466 | | - | |
1467 | | - | |
1468 | | - | |
1469 | | - | |
1470 | | - | |
1471 | | - | |
1472 | | - | |
1473 | | - | |
1474 | | - | |
1475 | 1462 | | |
1476 | 1463 | | |
1477 | 1464 | | |
| |||
1500 | 1487 | | |
1501 | 1488 | | |
1502 | 1489 | | |
1503 | | - | |
1504 | | - | |
1505 | 1490 | | |
1506 | 1491 | | |
1507 | 1492 | | |
| |||
0 commit comments