Commit 9a0048e
net/mlx5: Expose cable_length field in PFCC register
Introduce new "cable_length" field in PFCC register and related fields
to enhance rx buffer configuration management:
1. cable_length: Shifts cable length handling to fw by storing a
manually entered length from user in PFCC.cable_length
2. lane_rate_oper: In a case where PFCC.cable_length is not supported,
helps compute a default cable length
Signed-off-by: Oren Sidi <osidi@nvidia.com>
Reviewed-by: Alex Lazar <alazar@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/1752734895-257735-4-git-send-email-tariqt@nvidia.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>1 parent 6f09ee0 commit 9a0048e
1 file changed
Lines changed: 15 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9994 | 9994 | | |
9995 | 9995 | | |
9996 | 9996 | | |
| 9997 | + | |
| 9998 | + | |
| 9999 | + | |
| 10000 | + | |
9997 | 10001 | | |
9998 | 10002 | | |
9999 | 10003 | | |
| |||
10030 | 10034 | | |
10031 | 10035 | | |
10032 | 10036 | | |
10033 | | - | |
| 10037 | + | |
| 10038 | + | |
10034 | 10039 | | |
10035 | 10040 | | |
10036 | 10041 | | |
| |||
10485 | 10490 | | |
10486 | 10491 | | |
10487 | 10492 | | |
10488 | | - | |
| 10493 | + | |
| 10494 | + | |
10489 | 10495 | | |
10490 | 10496 | | |
10491 | 10497 | | |
| |||
10514 | 10520 | | |
10515 | 10521 | | |
10516 | 10522 | | |
10517 | | - | |
| 10523 | + | |
| 10524 | + | |
| 10525 | + | |
| 10526 | + | |
10518 | 10527 | | |
10519 | 10528 | | |
10520 | 10529 | | |
| |||
10615 | 10624 | | |
10616 | 10625 | | |
10617 | 10626 | | |
10618 | | - | |
| 10627 | + | |
| 10628 | + | |
| 10629 | + | |
10619 | 10630 | | |
10620 | 10631 | | |
10621 | 10632 | | |
| |||
0 commit comments