| 778 | } |
| 779 | |
| 780 | static void |
| 781 | ngbe_vlan_hw_extend_enable(struct rte_eth_dev *dev) |
| 782 | { |
| 783 | struct ngbe_hw *hw = ngbe_dev_hw(dev); |
| 784 | uint32_t ctrl; |
| 785 | |
| 786 | PMD_INIT_FUNC_TRACE(); |
| 787 | |
| 788 | ctrl = rd32(hw, NGBE_PORTCTL); |
| 789 | ctrl |= NGBE_PORTCTL_VLANEXT | NGBE_PORTCTL_QINQ; |
| 790 | wr32(hw, NGBE_PORTCTL, ctrl); |
| 791 | } |
| 792 | |
| 793 | static void |
| 794 | ngbe_qinq_hw_strip_disable(struct rte_eth_dev *dev) |
no test coverage detected