| 791 | } |
| 792 | |
| 793 | static void |
| 794 | ngbe_qinq_hw_strip_disable(struct rte_eth_dev *dev) |
| 795 | { |
| 796 | struct ngbe_hw *hw = ngbe_dev_hw(dev); |
| 797 | uint32_t ctrl; |
| 798 | |
| 799 | PMD_INIT_FUNC_TRACE(); |
| 800 | |
| 801 | ctrl = rd32(hw, NGBE_PORTCTL); |
| 802 | ctrl &= ~NGBE_PORTCTL_QINQ; |
| 803 | wr32(hw, NGBE_PORTCTL, ctrl); |
| 804 | } |
| 805 | |
| 806 | static void |
| 807 | ngbe_qinq_hw_strip_enable(struct rte_eth_dev *dev) |
no test coverage detected