# CX556A number of physical functions on ConnectX-5

**URL:** <https://forums.developer.nvidia.com/t/cx556a-number-of-physical-functions-on-connectx-5/206881>\
**Category:** InfiniBand/VPI Adapter Cards\
**Tags:** ethernet-adapter-cards, data-center-solutions\
**Created:** [March 13, 2019, 5:47pm UTC](https://forums.developer.nvidia.com/t/cx556a-number-of-physical-functions-on-connectx-5/206881 "2019-03-13T17:47:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chihheng](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@chihheng](https://forums.developer.nvidia.com/u/chihheng)\
**Post date:** [March 13, 2019, 5:47pm UTC](https://forums.developer.nvidia.com/t/cx556a-number-of-physical-functions-on-connectx-5/206881/1 "2019-03-13T17:47:11Z")

</div>

I have a CX556A. When inserted I can see two physical functions through lspci. In the document of ConnectX-5

[http://www.mellanox.com/related-docs/prod\_adapter\_cards/PB\_ConnectX-5\_EN\_Card.pdf](http://www.mellanox.com/related-docs/prod_adapter_cards/PB_ConnectX-5_EN_Card.pdf)

In the SR-IOV, it says it can support up to 16 physical functions. I am wondering if it can be achieved on CX556A? Is there any way to enable more than two physical functions?

I have tried the SR-IOV instruction and successfully enable multiple virtual functions per physical function, but have no clue how to enable more physical functions.

In short, My question is

1. In default, I can only see two physical functions on CX556A, which has two ports, meaning 1 PF per port. Is it possible to enable more PF on the card?
2. If we can enable more PFs on the card, how should we do it? Or which part of the HW/SW (driver, firmware, etc. ) is handling this?

Thank you so much.

---

<div class="post-metadata">

**Author:** ![aviap](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@aviap](https://forums.developer.nvidia.com/u/aviap)\
**Post date:** [March 19, 2019, 8:53am UTC](https://forums.developer.nvidia.com/t/cx556a-number-of-physical-functions-on-connectx-5/206881/2 "2019-03-19T08:53:21Z")

</div>

I’m afraid there is no possibility to exceed the PF numbers on the ConnectX-5 or any other Mellanox adapter. In case of a dual-port adapter, you’ll have only 2x PFs.

The idea beyond SR-IOV is to ctear virtual-function to share the CX-5 adapter’s two physical interfaces resources and on the top of them you can create as many VS as is restricted by the adapter. In your case it’s 16 VS per interface (PF)

---

<div class="post-metadata">

**Author:** ![chihheng](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@chihheng](https://forums.developer.nvidia.com/u/chihheng)\
**Post date:** [March 19, 2019, 5:12pm UTC](https://forums.developer.nvidia.com/t/cx556a-number-of-physical-functions-on-connectx-5/206881/3 "2019-03-19T17:12:20Z")

</div>

Thank you so much.

---

<div class="post-metadata">

**Author:** ![chihheng](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@chihheng](https://forums.developer.nvidia.com/u/chihheng)\
**Post date:** [March 21, 2019, 5:14pm UTC](https://forums.developer.nvidia.com/t/cx556a-number-of-physical-functions-on-connectx-5/206881/4 "2019-03-21T17:14:43Z")

</div>

Hello Avi,

I get it about what you said. May I know in what scenario that the SR-IOV could use 16 PFs and 1K VFs?

I have enabled VFs on my CX556A, and each PFs can only have up to 16 VFs, meaning on my card there is only up to 2 PFs and 32 VFs. May I know what cause this difference between my card and your spec of ConnectX-5?

Thank you so much.

![mellanox](https://global.discourse-cdn.com/nvidia/original/3X/a/d/ad2bd052e5b3c8495565bb97a18cb81519dbb31a.png)
