Commit e68712c
scsi: qla2xxx: Move FCE Trace buffer allocation to user control
commit 841df27 upstream.
Currently FCE Tracing is enabled to log additional ELS events. Instead,
user will enable or disable this feature through debugfs.
Modify existing DFS knob to allow user to enable or disable this
feature.
echo [1 | 0] > /sys/kernel/debug/qla2xxx/qla2xxx_??/fce
cat /sys/kernel/debug/qla2xxx/qla2xxx_??/fce
Cc: [email protected]
Fixes: df613b9 ("[SCSI] qla2xxx: Add Fibre Channel Event (FCE) tracing support.")
Signed-off-by: Quinn Tran <[email protected]>
Signed-off-by: Nilesh Javali <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Himanshu Madhani <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>1 parent 13150d9 commit e68712c
File tree
4 files changed
+126
-31
lines changed- drivers/scsi/qla2xxx
4 files changed
+126
-31
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4098 | 4098 | | |
4099 | 4099 | | |
4100 | 4100 | | |
| 4101 | + | |
| 4102 | + | |
4101 | 4103 | | |
4102 | 4104 | | |
4103 | 4105 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
409 | 409 | | |
410 | 410 | | |
411 | 411 | | |
412 | | - | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | | - | |
427 | | - | |
428 | | - | |
429 | | - | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
430 | 431 | | |
431 | | - | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
432 | 437 | | |
433 | 438 | | |
434 | 439 | | |
| |||
467 | 472 | | |
468 | 473 | | |
469 | 474 | | |
470 | | - | |
| 475 | + | |
471 | 476 | | |
472 | 477 | | |
473 | 478 | | |
| |||
488 | 493 | | |
489 | 494 | | |
490 | 495 | | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
491 | 572 | | |
492 | 573 | | |
493 | 574 | | |
494 | 575 | | |
495 | 576 | | |
| 577 | + | |
496 | 578 | | |
497 | 579 | | |
498 | 580 | | |
| |||
626 | 708 | | |
627 | 709 | | |
628 | 710 | | |
629 | | - | |
630 | | - | |
631 | 711 | | |
632 | 712 | | |
633 | 713 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2681 | 2681 | | |
2682 | 2682 | | |
2683 | 2683 | | |
2684 | | - | |
| 2684 | + | |
2685 | 2685 | | |
2686 | 2686 | | |
2687 | 2687 | | |
| |||
3717 | 3717 | | |
3718 | 3718 | | |
3719 | 3719 | | |
3720 | | - | |
3721 | | - | |
| 3720 | + | |
3722 | 3721 | | |
3723 | 3722 | | |
3724 | 3723 | | |
3725 | 3724 | | |
3726 | 3725 | | |
3727 | 3726 | | |
3728 | | - | |
| 3727 | + | |
3729 | 3728 | | |
3730 | 3729 | | |
3731 | 3730 | | |
3732 | | - | |
| 3731 | + | |
3733 | 3732 | | |
3734 | 3733 | | |
3735 | 3734 | | |
3736 | 3735 | | |
3737 | 3736 | | |
3738 | | - | |
| 3737 | + | |
3739 | 3738 | | |
3740 | 3739 | | |
3741 | 3740 | | |
| |||
3745 | 3744 | | |
3746 | 3745 | | |
3747 | 3746 | | |
3748 | | - | |
| 3747 | + | |
3749 | 3748 | | |
3750 | 3749 | | |
3751 | 3750 | | |
| |||
3754 | 3753 | | |
3755 | 3754 | | |
3756 | 3755 | | |
| 3756 | + | |
| 3757 | + | |
| 3758 | + | |
| 3759 | + | |
| 3760 | + | |
| 3761 | + | |
| 3762 | + | |
| 3763 | + | |
| 3764 | + | |
| 3765 | + | |
3757 | 3766 | | |
3758 | 3767 | | |
3759 | 3768 | | |
| |||
3844 | 3853 | | |
3845 | 3854 | | |
3846 | 3855 | | |
3847 | | - | |
3848 | | - | |
| 3856 | + | |
3849 | 3857 | | |
| 3858 | + | |
| 3859 | + | |
3850 | 3860 | | |
3851 | 3861 | | |
3852 | 3862 | | |
| |||
0 commit comments