be2net: re-distribute SRIOV resources allowed by FW
When SR-IOV is enabled in the adapter, the FW distributes resources evenly across the PF and it's VFs. This is currently done only for some resources. This patch adds support for a new cmd that queries the FW for the list of resources for which the distribution is allowed and distributes them accordingly. Signed-off-by: Vasundhara Volam <vasundhara.volam@emulex.com> Signed-off-by: Sathya Perla <sathya.perla@emulex.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Este commit está contenido en:

cometido por
David S. Miller

padre
71bb8bd08c
commit
f285873841
@@ -87,6 +87,7 @@
|
||||
#define BE3_MAX_EVT_QS 16
|
||||
#define BE3_SRIOV_MAX_EVT_QS 8
|
||||
|
||||
#define MAX_RSS_IFACES 15
|
||||
#define MAX_RX_QS 32
|
||||
#define MAX_EVT_QS 32
|
||||
#define MAX_TX_QS 32
|
||||
@@ -411,8 +412,11 @@ struct be_resources {
|
||||
u16 max_tx_qs;
|
||||
u16 max_rss_qs;
|
||||
u16 max_rx_qs;
|
||||
u16 max_cq_count;
|
||||
u16 max_uc_mac; /* Max UC MACs programmable */
|
||||
u16 max_vlans; /* Number of vlans supported */
|
||||
u16 max_iface_count;
|
||||
u16 max_mcc_count;
|
||||
u16 max_evt_qs;
|
||||
u32 if_cap_flags;
|
||||
u32 vf_if_cap_flags; /* VF if capability flags */
|
||||
|
Referencia en una nueva incidencia
Block a user