Commit 7249fd8
committed
bpf: Rename __htab_percpu_map_update_elem to htab_map_update_elem_in_place
JIRA: https://issues.redhat.com/browse/RHEL-110274
Conflicts: changed context due to missing upstream commit 4fa8d68
("bpf: Convert hashtab.c to rqspinlock")
commit 5771e30
Author: Hou Tao <[email protected]>
Date: Tue Apr 1 14:22:46 2025 +0800
bpf: Rename __htab_percpu_map_update_elem to htab_map_update_elem_in_place
Rename __htab_percpu_map_update_elem to htab_map_update_elem_in_place,
and add a new percpu argument for the helper to support in-place update
for both per-cpu htab and htab of maps.
Acked-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Hou Tao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Signed-off-by: Viktor Malik <[email protected]>1 parent abfca01 commit 7249fd8
1 file changed
+8
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1289 | 1289 | | |
1290 | 1290 | | |
1291 | 1291 | | |
1292 | | - | |
| 1292 | + | |
1293 | 1293 | | |
1294 | | - | |
| 1294 | + | |
1295 | 1295 | | |
1296 | 1296 | | |
1297 | | - | |
| 1297 | + | |
1298 | 1298 | | |
1299 | 1299 | | |
1300 | 1300 | | |
| |||
1326 | 1326 | | |
1327 | 1327 | | |
1328 | 1328 | | |
1329 | | - | |
| 1329 | + | |
1330 | 1330 | | |
1331 | 1331 | | |
1332 | 1332 | | |
1333 | 1333 | | |
1334 | | - | |
| 1334 | + | |
1335 | 1335 | | |
1336 | 1336 | | |
1337 | 1337 | | |
1338 | 1338 | | |
1339 | 1339 | | |
1340 | 1340 | | |
1341 | | - | |
1342 | 1341 | | |
1343 | 1342 | | |
1344 | 1343 | | |
| |||
1417 | 1416 | | |
1418 | 1417 | | |
1419 | 1418 | | |
1420 | | - | |
| 1419 | + | |
1421 | 1420 | | |
1422 | 1421 | | |
1423 | 1422 | | |
| |||
2443 | 2442 | | |
2444 | 2443 | | |
2445 | 2444 | | |
2446 | | - | |
2447 | | - | |
| 2445 | + | |
| 2446 | + | |
2448 | 2447 | | |
2449 | 2448 | | |
2450 | 2449 | | |
| |||
0 commit comments