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

Function igb_release_manageability

dpdk/drivers/net/e1000/igb_ethdev.c:2521–2532  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2519}
2520
2521static void
2522igb_release_manageability(struct e1000_hw *hw)
2523{
2524 if (e1000_enable_mng_pass_thru(hw)) {
2525 uint32_t manc = E1000_READ_REG(hw, E1000_MANC);
2526
2527 manc |= E1000_MANC_ARP_EN;
2528 manc &= ~E1000_MANC_EN_MNG2HOST;
2529
2530 E1000_WRITE_REG(hw, E1000_MANC, manc);
2531 }
2532}
2533
2534static int
2535eth_igb_promiscuous_enable(struct rte_eth_dev *dev)

Callers 1

eth_igb_closeFunction · 0.85

Calls 1

Tested by

no test coverage detected