Home
last modified time | relevance | path

Searched refs:NETIF_F_HW_VLAN_CTAG_RX (Results 1 – 25 of 109) sorted by relevance

12345

/openbmc/linux/drivers/net/ethernet/atheros/atlx/
H A Datlx.c210 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 Datl2.c345 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 Dnetdev_features.h119 #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 Denetc_vf.c138 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 Den_netdev.c2505 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 Den_resources.c84 if (!(dev->features & NETIF_F_HW_VLAN_CTAG_RX)) in mlx4_en_fill_qp_context()
/openbmc/linux/drivers/net/usb/
H A Daqc111.h31 NETIF_F_HW_VLAN_CTAG_RX)
/openbmc/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_main.c2272 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 Dcxgb2.c872 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 Ddwc-xlgmac-net.c888 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 Dftgmac100.c339 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 Dnfp_net_common.c1842 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 Dnfp_net_repr.c368 netdev->hw_features |= NETIF_F_HW_VLAN_CTAG_RX; in nfp_repr_init()
/openbmc/linux/drivers/net/ethernet/qualcomm/emac/
H A Demac.c183 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 Dvmxnet3_ethtool.c331 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 Dhinic_main.c924 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 Dhinic_rx.c412 if ((netdev->features & NETIF_F_HW_VLAN_CTAG_RX) && in rxq_recv()
/openbmc/linux/drivers/net/ethernet/samsung/sxgbe/
H A Dsxgbe_common.h154 #define NETIF_F_HW_VLAN_ALL (NETIF_F_HW_VLAN_CTAG_RX | \
/openbmc/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-main.c352 NETIF_F_HW_VLAN_CTAG_RX | in xgbe_config_netdev()
H A Dxgbe-drv.c2250 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 Dice_txrx_lib.c215 if ((features & NETIF_F_HW_VLAN_CTAG_RX) && non_zero_vlan) in ice_receive_skb()
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_main.c159 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 Dcxgb3_main.c1185 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 Dqlge_main.c389 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 Datl1e_main.c329 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()

12345