aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorsunils <[email protected]>2020-09-11 00:13:26 +0300
committerSaeed Mahameed <[email protected]>2020-09-30 21:26:28 -0700
commit7cd7becdddb00620fb8deb74e6fe4e5a1522ae5a (patch)
treeb5c38713ca611c1b1f78e4020452c8953373a814 /tools/perf/scripts/python
parent01723919675dfa8d984b2b80b93092f39a4a84de (diff)
net/mlx5: E-switch, Use PF num in metadata reg c0
Currently only 256 vports can be supported as only 8 bits are reserved for them and 8 bits are reserved for vhca_ids in metadata reg c0. To support more than 256 vports, replace vhca_id with a unique shorter 4-bit PF number which covers upto 16 PF's. Use remaining 12 bits for vports ranging 1-4095. This will continue to generate unique metadata even if multiple PCI devices have same switch_id. Signed-off-by: sunils <[email protected]> Reviewed-by: Parav Pandit <[email protected]> Reviewed-by: Vu Pham <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions