MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ionic_dev_promiscuous_enable

Function ionic_dev_promiscuous_enable

dpdk/drivers/net/ionic/ionic_lif.c:462–475  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

460}
461
462int
463ionic_dev_promiscuous_enable(struct rte_eth_dev *eth_dev)
464{
465 struct ionic_lif *lif = IONIC_ETH_DEV_TO_LIF(eth_dev);
466 uint32_t rx_mode = lif->rx_mode;
467
468 IONIC_PRINT_CALL();
469
470 rx_mode |= IONIC_RX_MODE_F_PROMISC;
471
472 ionic_set_rx_mode(lif, rx_mode);
473
474 return 0;
475}
476
477int
478ionic_dev_promiscuous_disable(struct rte_eth_dev *eth_dev)

Callers

nothing calls this directly

Calls 1

ionic_set_rx_modeFunction · 0.85

Tested by

no test coverage detected