Commit 7240529
bnxt_en: Add Virtual Admin Link State Support for VFs
The firmware can now cache the virtual link admin state (auto/on/off) of
all VFs and as such, the PF driver no longer has to intercept the VF
driver's port_phy_qcfg() call and then provide the link admin state.
If the FW does not have this capability, fall back to the existing
interception method.
The initial default link admin state (auto) is also set initially when
the VFs are created.
Reviewed-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Reviewed-by: Mohammad Shuab Siddique <mohammad-shuab.siddique@broadcom.com>
Signed-off-by: Rob Miller <rmiller@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Link: https://patch.msgid.link/20251126215648.1885936-7-michael.chan@broadcom.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>1 parent 30f253f commit 7240529
3 files changed
Lines changed: 57 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5695 | 5695 | | |
5696 | 5696 | | |
5697 | 5697 | | |
| 5698 | + | |
| 5699 | + | |
| 5700 | + | |
| 5701 | + | |
5698 | 5702 | | |
5699 | 5703 | | |
5700 | 5704 | | |
| |||
9665 | 9669 | | |
9666 | 9670 | | |
9667 | 9671 | | |
| 9672 | + | |
| 9673 | + | |
9668 | 9674 | | |
9669 | 9675 | | |
9670 | 9676 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2484 | 2484 | | |
2485 | 2485 | | |
2486 | 2486 | | |
| 2487 | + | |
2487 | 2488 | | |
2488 | 2489 | | |
2489 | 2490 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
332 | 332 | | |
333 | 333 | | |
334 | 334 | | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
335 | 367 | | |
336 | 368 | | |
337 | 369 | | |
| |||
357 | 389 | | |
358 | 390 | | |
359 | 391 | | |
360 | | - | |
361 | | - | |
| 392 | + | |
362 | 393 | | |
363 | | - | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
364 | 397 | | |
365 | 398 | | |
366 | 399 | | |
| |||
666 | 699 | | |
667 | 700 | | |
668 | 701 | | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
669 | 709 | | |
670 | 710 | | |
671 | 711 | | |
672 | | - | |
| 712 | + | |
673 | 713 | | |
674 | 714 | | |
675 | 715 | | |
676 | 716 | | |
677 | | - | |
678 | 717 | | |
679 | 718 | | |
680 | 719 | | |
| |||
741 | 780 | | |
742 | 781 | | |
743 | 782 | | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
744 | 789 | | |
745 | 790 | | |
746 | 791 | | |
| |||
0 commit comments