| 415 | } |
| 416 | |
| 417 | static int |
| 418 | ixgbe_disable_vf_mc_promisc(struct rte_eth_dev *dev, uint32_t vf) |
| 419 | { |
| 420 | struct ixgbe_hw *hw = IXGBE_DEV_PRIVATE_TO_HW(dev->data->dev_private); |
| 421 | uint32_t vmolr; |
| 422 | |
| 423 | vmolr = IXGBE_READ_REG(hw, IXGBE_VMOLR(vf)); |
| 424 | |
| 425 | PMD_DRV_LOG(INFO, "VF %u: disabling multicast promiscuous", vf); |
| 426 | |
| 427 | vmolr &= ~IXGBE_VMOLR_MPE; |
| 428 | |
| 429 | IXGBE_WRITE_REG(hw, IXGBE_VMOLR(vf), vmolr); |
| 430 | |
| 431 | return 0; |
| 432 | } |
| 433 | |
| 434 | static int |
| 435 | ixgbe_vf_reset(struct rte_eth_dev *dev, uint16_t vf, uint32_t *msgbuf) |
no outgoing calls
no test coverage detected