Commit b2e086c
selftests/bpf: Change functions definitions to support GCC
The test_xdp_noinline.c contains 2 functions that use more then 5
arguments. This patch collapses the 2 last arguments in an array.
Also in GCC and ipa_sra optimization increases the number of arguments
used in function encap_v4. This pass disables the optimization for that
particular file.
Signed-off-by: Cupertino Miranda <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]1 parent 207cf6e commit b2e086c
1 file changed
+21
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
321 | 329 | | |
322 | 330 | | |
323 | 331 | | |
| |||
372 | 380 | | |
373 | 381 | | |
374 | 382 | | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
375 | 387 | | |
376 | 388 | | |
377 | 389 | | |
| |||
588 | 600 | | |
589 | 601 | | |
590 | 602 | | |
591 | | - | |
592 | | - | |
| 603 | + | |
593 | 604 | | |
594 | 605 | | |
595 | 606 | | |
596 | 607 | | |
| 608 | + | |
| 609 | + | |
597 | 610 | | |
598 | 611 | | |
599 | 612 | | |
| |||
619 | 632 | | |
620 | 633 | | |
621 | 634 | | |
622 | | - | |
623 | | - | |
| 635 | + | |
624 | 636 | | |
625 | 637 | | |
626 | 638 | | |
| 639 | + | |
| 640 | + | |
627 | 641 | | |
628 | 642 | | |
629 | 643 | | |
| |||
666 | 680 | | |
667 | 681 | | |
668 | 682 | | |
| 683 | + | |
669 | 684 | | |
670 | 685 | | |
671 | 686 | | |
672 | | - | |
| 687 | + | |
673 | 688 | | |
674 | 689 | | |
675 | | - | |
| 690 | + | |
676 | 691 | | |
677 | 692 | | |
678 | 693 | | |
| |||
0 commit comments