* Give control back to hardware management * controller if there is one. */
| 1291 | * controller if there is one. |
| 1292 | */ |
| 1293 | static void |
| 1294 | em_release_manageability(struct e1000_hw *hw) |
| 1295 | { |
| 1296 | uint32_t manc; |
| 1297 | |
| 1298 | if (e1000_enable_mng_pass_thru(hw)) { |
| 1299 | manc = E1000_READ_REG(hw, E1000_MANC); |
| 1300 | |
| 1301 | /* re-enable hardware interception of ARP */ |
| 1302 | manc |= E1000_MANC_ARP_EN; |
| 1303 | manc &= ~E1000_MANC_EN_MNG2HOST; |
| 1304 | |
| 1305 | E1000_WRITE_REG(hw, E1000_MANC, manc); |
| 1306 | } |
| 1307 | } |
| 1308 | |
| 1309 | static int |
| 1310 | eth_em_promiscuous_enable(struct rte_eth_dev *dev) |
no test coverage detected