| 732 | } |
| 733 | |
| 734 | static void |
| 735 | ngbe_vlan_hw_strip_disable(struct rte_eth_dev *dev, uint16_t queue) |
| 736 | { |
| 737 | struct ngbe_hw *hw = ngbe_dev_hw(dev); |
| 738 | uint32_t ctrl; |
| 739 | |
| 740 | PMD_INIT_FUNC_TRACE(); |
| 741 | |
| 742 | ctrl = rd32(hw, NGBE_RXCFG(queue)); |
| 743 | ctrl &= ~NGBE_RXCFG_VLAN; |
| 744 | wr32(hw, NGBE_RXCFG(queue), ctrl); |
| 745 | |
| 746 | /* record those setting for HW strip per queue */ |
| 747 | ngbe_vlan_hw_strip_bitmap_set(dev, queue, 0); |
| 748 | } |
| 749 | |
| 750 | static void |
| 751 | ngbe_vlan_hw_strip_enable(struct rte_eth_dev *dev, uint16_t queue) |
no test coverage detected