src/dpdk/drivers/net/bnx2x/bnx2x.c
static void bnx2x_config_mf_bw(struct bnx2x_softc *sc)
{
	if (sc->link_vars.link_up) {
		bnx2x_cmng_fns_init(sc, TRUE, CMNG_FNS_MINMAX);
		bnx2x_link_sync_notify(sc);
	}

	storm_memset_cmng(sc, &sc->cmng, SC_PORT(sc));
}
/*
 * called due to MCP event (on pmf):
 *   reread new bandwidth configuration
 *   configure FW
 *   notify others function about the change
 */
called due to MCP event (on pmf):
reread new bandwidth configuration
configure FW
notify others function about the change
called due to MCP event ( on pmf ) : reread new bandwidth configuration configure FW notify others function about the change
static void bnx2x_config_mf_bw(struct bnx2x_softc *sc)
{
	if (sc->link_vars.link_up) {
		bnx2x_cmng_fns_init(sc, TRUE, CMNG_FNS_MINMAX);
		bnx2x_link_sync_notify(sc);
	}
	storm_memset_cmng(sc, &sc->cmng, SC_PORT(sc));
}
static void bnx2x_config_mf_bw ( struct bnx2x_softc * sc ) { if ( sc -> link_vars . link_up ) { bnx2x_cmng_fns_init ( sc , TRUE , CMNG_FNS_MINMAX ) ; bnx2x_link_sync_notify ( sc ) ; } storm_memset_cmng ( sc , & sc -> cmng , SC_PORT ( sc ) ) ; }
called due to MCP event (on pmf):
   reread new bandwidth configuration
   configure FW
   notify others function about the change
called due to MCP event ( on pmf ) : reread new bandwidth configuration configure FW notify others function about the change