/openbmc/linux/drivers/net/ethernet/atheros/atlx/ |
H A D | atlx.c | 210 if (features & NETIF_F_HW_VLAN_CTAG_RX) { in __atlx_vlan_mode() 247 if (features & NETIF_F_HW_VLAN_CTAG_RX) in atlx_fix_features() 260 if (changed & NETIF_F_HW_VLAN_CTAG_RX) in atlx_set_features()
|
H A D | atl2.c | 345 if (features & NETIF_F_HW_VLAN_CTAG_RX) { in __atl2_vlan_mode() 381 if (features & NETIF_F_HW_VLAN_CTAG_RX) in atl2_fix_features() 394 if (changed & NETIF_F_HW_VLAN_CTAG_RX) in atl2_set_features() 1392 netdev->hw_features = NETIF_F_HW_VLAN_CTAG_RX; in atl2_probe() 1393 netdev->features |= (NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX); in atl2_probe()
|
/openbmc/linux/include/linux/ |
H A D | netdev_features.h | 119 #define NETIF_F_HW_VLAN_CTAG_RX __NETIF_F(HW_VLAN_CTAG_RX) macro 251 NETIF_F_HW_VLAN_CTAG_RX | \
|
/openbmc/linux/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc_vf.c | 138 NETIF_F_HW_VLAN_CTAG_RX | in enetc_vf_netdev_setup() 142 NETIF_F_HW_VLAN_CTAG_RX | in enetc_vf_netdev_setup()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_netdev.c | 2505 if (features & NETIF_F_HW_VLAN_CTAG_RX && in mlx4_en_fix_features() 3319 NETIF_F_HW_VLAN_CTAG_RX | in mlx4_en_init_netdev() 3323 NETIF_F_HW_VLAN_CTAG_RX | in mlx4_en_init_netdev() 3457 (features & NETIF_F_HW_VLAN_CTAG_RX) && in mlx4_en_reset_config() 3484 if (features & NETIF_F_HW_VLAN_CTAG_RX) in mlx4_en_reset_config() 3485 dev->features |= NETIF_F_HW_VLAN_CTAG_RX; in mlx4_en_reset_config() 3487 dev->features &= ~NETIF_F_HW_VLAN_CTAG_RX; in mlx4_en_reset_config() 3493 dev->features |= NETIF_F_HW_VLAN_CTAG_RX; in mlx4_en_reset_config() 3495 dev->features &= ~NETIF_F_HW_VLAN_CTAG_RX; in mlx4_en_reset_config() 3510 if (dev->features & NETIF_F_HW_VLAN_CTAG_RX) in mlx4_en_reset_config() [all …]
|
H A D | en_resources.c | 84 if (!(dev->features & NETIF_F_HW_VLAN_CTAG_RX)) in mlx4_en_fill_qp_context()
|
/openbmc/linux/drivers/net/usb/ |
H A D | aqc111.h | 31 NETIF_F_HW_VLAN_CTAG_RX)
|
/openbmc/linux/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_main.c | 2272 if (!(features & (NETIF_F_HW_VLAN_STAG_RX | NETIF_F_HW_VLAN_CTAG_RX))) in iavf_set_vlan_offload_features() 4462 #define NETIF_VLAN_OFFLOAD_FEATURES (NETIF_F_HW_VLAN_CTAG_RX | \ 4570 NETIF_F_HW_VLAN_CTAG_RX); in iavf_get_netdev_vlan_hw_features() 4583 hw_features |= NETIF_F_HW_VLAN_CTAG_RX; in iavf_get_netdev_vlan_hw_features() 4592 hw_features |= NETIF_F_HW_VLAN_CTAG_RX; in iavf_get_netdev_vlan_hw_features() 4631 NETIF_F_HW_VLAN_CTAG_RX | NETIF_F_HW_VLAN_CTAG_TX; in iavf_get_netdev_vlan_features() 4651 features |= NETIF_F_HW_VLAN_CTAG_RX; in iavf_get_netdev_vlan_features() 4661 features |= NETIF_F_HW_VLAN_CTAG_RX; in iavf_get_netdev_vlan_features() 4738 NETIF_F_HW_VLAN_CTAG_RX)) in iavf_fix_netdev_vlan_features() 4739 requested_features &= ~NETIF_F_HW_VLAN_CTAG_RX; in iavf_fix_netdev_vlan_features() [all …]
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb/ |
H A D | cxgb2.c | 872 if (features & NETIF_F_HW_VLAN_CTAG_RX) in t1_fix_features() 885 if (changed & NETIF_F_HW_VLAN_CTAG_RX) in t1_set_features() 1042 NETIF_F_HW_VLAN_CTAG_RX; in init_one() 1043 netdev->hw_features |= NETIF_F_HW_VLAN_CTAG_RX; in init_one()
|
/openbmc/linux/drivers/net/ethernet/synopsys/ |
H A D | dwc-xlgmac-net.c | 888 rxvlan = pdata->netdev_features & NETIF_F_HW_VLAN_CTAG_RX; in xlgmac_set_features() 903 if ((features & NETIF_F_HW_VLAN_CTAG_RX) && !rxvlan) in xlgmac_set_features() 905 else if (!(features & NETIF_F_HW_VLAN_CTAG_RX) && rxvlan) in xlgmac_set_features() 1221 if (!(netdev->features & NETIF_F_HW_VLAN_CTAG_RX) && in xlgmac_rx_poll()
|
/openbmc/linux/drivers/net/ethernet/faraday/ |
H A D | ftgmac100.c | 339 if (priv->netdev->features & NETIF_F_HW_VLAN_CTAG_RX) in ftgmac100_start_hw() 538 if ((netdev->features & NETIF_F_HW_VLAN_CTAG_RX) && in ftgmac100_rx_packet() 1622 if (changed & NETIF_F_HW_VLAN_CTAG_RX) { in ftgmac100_set_features() 1626 if (priv->netdev->features & NETIF_F_HW_VLAN_CTAG_RX) in ftgmac100_set_features() 1977 NETIF_F_GRO | NETIF_F_SG | NETIF_F_HW_VLAN_CTAG_RX | in ftgmac100_probe()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_common.c | 1842 if (changed & NETIF_F_HW_VLAN_CTAG_RX) { in nfp_net_set_features() 1843 if (features & NETIF_F_HW_VLAN_CTAG_RX) in nfp_net_set_features() 1904 if ((features & NETIF_F_HW_VLAN_CTAG_RX) && in nfp_net_fix_features() 1906 if (netdev->features & NETIF_F_HW_VLAN_CTAG_RX) { in nfp_net_fix_features() 1907 features &= ~NETIF_F_HW_VLAN_CTAG_RX; in nfp_net_fix_features() 1908 netdev->wanted_features &= ~NETIF_F_HW_VLAN_CTAG_RX; in nfp_net_fix_features() 2549 netdev->hw_features |= NETIF_F_HW_VLAN_CTAG_RX; in nfp_net_netdev_init()
|
H A D | nfp_net_repr.c | 368 netdev->hw_features |= NETIF_F_HW_VLAN_CTAG_RX; in nfp_repr_init()
|
/openbmc/linux/drivers/net/ethernet/qualcomm/emac/ |
H A D | emac.c | 183 if (!(changed & (NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX))) in emac_set_features() 668 NETIF_F_TSO | NETIF_F_TSO6 | NETIF_F_HW_VLAN_CTAG_RX | in emac_probe()
|
/openbmc/linux/drivers/net/vmxnet3/ |
H A D | vmxnet3_ethtool.c | 331 NETIF_F_HW_VLAN_CTAG_RX | NETIF_F_TSO | NETIF_F_TSO6 | in vmxnet3_enable_encap_offloads() 392 NETIF_F_HW_VLAN_CTAG_RX | NETIF_F_TSO | NETIF_F_TSO6 | in vmxnet3_disable_encap_offloads() 424 NETIF_F_HW_VLAN_CTAG_RX | tun_offload_mask)) { in vmxnet3_set_features() 440 if (features & NETIF_F_HW_VLAN_CTAG_RX) in vmxnet3_set_features()
|
/openbmc/linux/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_main.c | 924 NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX | in netdev_features_init() 1085 if (changed & NETIF_F_HW_VLAN_CTAG_RX) { in set_features() 1088 NETIF_F_HW_VLAN_CTAG_RX)); in set_features() 1091 failed_features |= NETIF_F_HW_VLAN_CTAG_RX; in set_features()
|
H A D | hinic_rx.c | 412 if ((netdev->features & NETIF_F_HW_VLAN_CTAG_RX) && in rxq_recv()
|
/openbmc/linux/drivers/net/ethernet/samsung/sxgbe/ |
H A D | sxgbe_common.h | 154 #define NETIF_F_HW_VLAN_ALL (NETIF_F_HW_VLAN_CTAG_RX | \
|
/openbmc/linux/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-main.c | 352 NETIF_F_HW_VLAN_CTAG_RX | in xgbe_config_netdev()
|
H A D | xgbe-drv.c | 2250 rxvlan = pdata->netdev_features & NETIF_F_HW_VLAN_CTAG_RX; in xgbe_set_features() 2265 if ((features & NETIF_F_HW_VLAN_CTAG_RX) && !rxvlan) in xgbe_set_features() 2267 else if (!(features & NETIF_F_HW_VLAN_CTAG_RX) && rxvlan) in xgbe_set_features() 2614 if (!(netdev->features & NETIF_F_HW_VLAN_CTAG_RX) && in xgbe_rx_poll()
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_txrx_lib.c | 215 if ((features & NETIF_F_HW_VLAN_CTAG_RX) && non_zero_vlan) in ice_receive_skb()
|
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/ |
H A D | aq_main.c | 159 bool is_vlan_rx_strip = !!(features & NETIF_F_HW_VLAN_CTAG_RX); in aq_ndev_set_features()
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | cxgb3_main.c | 1185 features & NETIF_F_HW_VLAN_CTAG_RX); in cxgb_vlan_mode() 1188 unsigned int i, have_vlans = features & NETIF_F_HW_VLAN_CTAG_RX; in cxgb_vlan_mode() 1193 NETIF_F_HW_VLAN_CTAG_RX; in cxgb_vlan_mode() 2595 if (features & NETIF_F_HW_VLAN_CTAG_RX) in cxgb_fix_features() 2607 if (changed & NETIF_F_HW_VLAN_CTAG_RX) in cxgb_set_features() 3307 NETIF_F_TSO | NETIF_F_RXCSUM | NETIF_F_HW_VLAN_CTAG_RX; in init_one()
|
/openbmc/linux/drivers/staging/qlge/ |
H A D | qlge_main.c | 389 if (qdev->ndev->features & NETIF_F_HW_VLAN_CTAG_RX) in qlge_set_mac_addr_reg() 1398 if (qdev->ndev->features & NETIF_F_HW_VLAN_CTAG_RX) in qlge_update_mac_hdr_len() 1946 (qdev->ndev->features & NETIF_F_HW_VLAN_CTAG_RX)) ? in qlge_process_mac_rx_intr() 2226 if (features & NETIF_F_HW_VLAN_CTAG_RX) { in qlge_vlan_mode() 2275 if (changed & NETIF_F_HW_VLAN_CTAG_RX) { in qlge_set_features() 3574 if (qdev->ndev->features & NETIF_F_HW_VLAN_CTAG_RX) { in qlge_adapter_initialize() 4575 NETIF_F_HW_VLAN_CTAG_RX | in qlge_probe() 4583 NETIF_F_HW_VLAN_CTAG_RX); in qlge_probe()
|
/openbmc/linux/drivers/net/ethernet/atheros/atl1e/ |
H A D | atl1e_main.c | 329 if (features & NETIF_F_HW_VLAN_CTAG_RX) { in __atl1e_vlan_mode() 392 if (features & NETIF_F_HW_VLAN_CTAG_RX) in atl1e_fix_features() 405 if (changed & NETIF_F_HW_VLAN_CTAG_RX) in atl1e_set_features() 2279 NETIF_F_HW_VLAN_CTAG_RX; in atl1e_init_netdev()
|