aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbe/ixgbe_main.c')
-rw-r--r--drivers/net/ethernet/intel/ixgbe/ixgbe_main.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
index c022f9c417a6..0316b65dfe06 100644
--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
@@ -1488,7 +1488,7 @@ static void ixgbe_process_skb_fields(struct ixgbe_ring *rx_ring,
1488 1488
1489 ixgbe_ptp_rx_hwtstamp(rx_ring, rx_desc, skb); 1489 ixgbe_ptp_rx_hwtstamp(rx_ring, rx_desc, skb);
1490 1490
1491 if ((dev->features & NETIF_F_HW_VLAN_RX) && 1491 if ((dev->features & NETIF_F_HW_VLAN_CTAG_RX) &&
1492 ixgbe_test_staterr(rx_desc, IXGBE_RXD_STAT_VP)) { 1492 ixgbe_test_staterr(rx_desc, IXGBE_RXD_STAT_VP)) {
1493 u16 vid = le16_to_cpu(rx_desc->wb.upper.vlan); 1493 u16 vid = le16_to_cpu(rx_desc->wb.upper.vlan);
1494 __vlan_hwaccel_put_tag(skb, vid); 1494 __vlan_hwaccel_put_tag(skb, vid);
@@ -3722,7 +3722,7 @@ void ixgbe_set_rx_mode(struct net_device *netdev)
3722 3722
3723 IXGBE_WRITE_REG(hw, IXGBE_FCTRL, fctrl); 3723 IXGBE_WRITE_REG(hw, IXGBE_FCTRL, fctrl);
3724 3724
3725 if (netdev->features & NETIF_F_HW_VLAN_RX) 3725 if (netdev->features & NETIF_F_HW_VLAN_CTAG_RX)
3726 ixgbe_vlan_strip_enable(adapter); 3726 ixgbe_vlan_strip_enable(adapter);
3727 else 3727 else
3728 ixgbe_vlan_strip_disable(adapter); 3728 ixgbe_vlan_strip_disable(adapter);
@@ -7024,7 +7024,7 @@ static int ixgbe_set_features(struct net_device *netdev,
7024 break; 7024 break;
7025 } 7025 }
7026 7026
7027 if (features & NETIF_F_HW_VLAN_RX) 7027 if (features & NETIF_F_HW_VLAN_CTAG_RX)
7028 ixgbe_vlan_strip_enable(adapter); 7028 ixgbe_vlan_strip_enable(adapter);
7029 else 7029 else
7030 ixgbe_vlan_strip_disable(adapter); 7030 ixgbe_vlan_strip_disable(adapter);
@@ -7431,9 +7431,9 @@ skip_sriov:
7431 netdev->features = NETIF_F_SG | 7431 netdev->features = NETIF_F_SG |
7432 NETIF_F_IP_CSUM | 7432 NETIF_F_IP_CSUM |
7433 NETIF_F_IPV6_CSUM | 7433 NETIF_F_IPV6_CSUM |
7434 NETIF_F_HW_VLAN_TX | 7434 NETIF_F_HW_VLAN_CTAG_TX |
7435 NETIF_F_HW_VLAN_RX | 7435 NETIF_F_HW_VLAN_CTAG_RX |
7436 NETIF_F_HW_VLAN_FILTER | 7436 NETIF_F_HW_VLAN_CTAG_FILTER |
7437 NETIF_F_TSO | 7437 NETIF_F_TSO |
7438 NETIF_F_TSO6 | 7438 NETIF_F_TSO6 |
7439 NETIF_F_RXHASH | 7439 NETIF_F_RXHASH |