drivers/net/bonding/bond_main.c
6047
NETIF_F_HW_VLAN_CTAG_RX |
drivers/net/ethernet/3com/typhoon.c
2503
NETIF_F_HW_VLAN_CTAG_RX | NETIF_F_RXCSUM;
drivers/net/ethernet/adaptec/starfire.c
684
dev->features |= NETIF_F_HW_VLAN_CTAG_RX | NETIF_F_HW_VLAN_CTAG_FILTER;
drivers/net/ethernet/altera/altera_tse_main.c
1379
ndev->features |= NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/altera/altera_tse_main.c
340
if ((dev->features & NETIF_F_HW_VLAN_CTAG_RX) &&
drivers/net/ethernet/amd/amd8111e.c
1794
dev->features |= NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/amd/xgbe/xgbe-dev.c
1973
(netdev->features & NETIF_F_HW_VLAN_CTAG_RX)) {
drivers/net/ethernet/amd/xgbe/xgbe-dev.c
2805
if (pdata->netdev->features & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/amd/xgbe/xgbe-drv.c
1988
rxvlan = pdata->netdev_features & NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/amd/xgbe/xgbe-drv.c
2010
if ((features & NETIF_F_HW_VLAN_CTAG_RX) && !rxvlan)
drivers/net/ethernet/amd/xgbe/xgbe-drv.c
2012
else if (!(features & NETIF_F_HW_VLAN_CTAG_RX) && rxvlan)
drivers/net/ethernet/amd/xgbe/xgbe-drv.c
2390
if (!(netdev->features & NETIF_F_HW_VLAN_CTAG_RX) &&
drivers/net/ethernet/amd/xgbe/xgbe-main.c
242
NETIF_F_HW_VLAN_CTAG_RX |
drivers/net/ethernet/aquantia/atlantic/aq_main.c
160
bool is_vlan_rx_strip = !!(features & NETIF_F_HW_VLAN_CTAG_RX);
drivers/net/ethernet/aquantia/atlantic/aq_nic.c
156
cfg->is_vlan_rx_strip = !!(cfg->features & NETIF_F_HW_VLAN_CTAG_RX);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c
48
NETIF_F_HW_VLAN_CTAG_RX | \
drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c
60
NETIF_F_HW_VLAN_CTAG_RX | \
drivers/net/ethernet/atheros/atl1c/atl1c_main.c
2593
NETIF_F_HW_VLAN_CTAG_RX |
drivers/net/ethernet/atheros/atl1c/atl1c_main.c
422
if (features & NETIF_F_HW_VLAN_CTAG_RX) {
drivers/net/ethernet/atheros/atl1c/atl1c_main.c
502
if (features & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/atheros/atl1c/atl1c_main.c
520
if (changed & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/atheros/atl1e/atl1e_main.c
2279
NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/atheros/atl1e/atl1e_main.c
329
if (features & NETIF_F_HW_VLAN_CTAG_RX) {
drivers/net/ethernet/atheros/atl1e/atl1e_main.c
392
if (features & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/atheros/atl1e/atl1e_main.c
405
if (changed & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/atheros/atlx/atl1.c
3028
netdev->features |= (NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX);
drivers/net/ethernet/atheros/atlx/atl1.c
3031
NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/atheros/atlx/atl2.c
1393
netdev->hw_features = NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/atheros/atlx/atl2.c
1394
netdev->features |= (NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX);
drivers/net/ethernet/atheros/atlx/atl2.c
345
if (features & NETIF_F_HW_VLAN_CTAG_RX) {
drivers/net/ethernet/atheros/atlx/atl2.c
381
if (features & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/atheros/atlx/atl2.c
394
if (changed & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/atheros/atlx/atlx.c
210
if (features & NETIF_F_HW_VLAN_CTAG_RX) {
drivers/net/ethernet/atheros/atlx/atlx.c
247
if (features & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/atheros/atlx/atlx.c
260
if (changed & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/broadcom/bnge/bnge_netdev.h
147
(NETIF_F_HW_VLAN_CTAG_RX | NETIF_F_HW_VLAN_STAG_RX)
drivers/net/ethernet/broadcom/bnx2.c
3604
if (!(dev->features & NETIF_F_HW_VLAN_CTAG_RX) &&
drivers/net/ethernet/broadcom/bnx2.c
7761
if ((!!(features & NETIF_F_HW_VLAN_CTAG_RX) !=
drivers/net/ethernet/broadcom/bnx2.c
8579
dev->hw_features |= NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/broadcom/bnx2.c
8586
dev->hw_features &= ~NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
13224
dev->features |= dev->hw_features | NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/broadcom/bnxt/bnxt.h
2833
(NETIF_F_HW_VLAN_CTAG_RX | NETIF_F_HW_VLAN_STAG_RX)
drivers/net/ethernet/broadcom/tg3.c
17889
NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/brocade/bna/bnad.c
2085
(bnad->netdev->features & NETIF_F_HW_VLAN_CTAG_RX) ?
drivers/net/ethernet/brocade/bna/bnad.c
3351
if ((changed & NETIF_F_HW_VLAN_CTAG_RX) && netif_running(dev)) {
drivers/net/ethernet/brocade/bna/bnad.c
3356
if (features & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/brocade/bna/bnad.c
3428
NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/brocade/bna/bnad.c
712
(bnad->netdev->features & NETIF_F_HW_VLAN_CTAG_RX))
drivers/net/ethernet/cavium/liquidio/lio_core.c
691
if ((netdev->features & NETIF_F_HW_VLAN_CTAG_RX) &&
drivers/net/ethernet/cavium/liquidio/lio_main.c
3590
NETIF_F_HW_VLAN_CTAG_RX |
drivers/net/ethernet/cavium/liquidio/lio_main.c
3598
~NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/cavium/liquidio/lio_vf_main.c
2099
NETIF_F_HW_VLAN_CTAG_RX |
drivers/net/ethernet/cavium/liquidio/lio_vf_main.c
2105
netdev->hw_features &= ~NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/cavium/thunder/nicvf_main.c
1786
if (changed & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/cavium/thunder/nicvf_main.c
2209
NETIF_F_HW_VLAN_CTAG_RX);
drivers/net/ethernet/cavium/thunder/nicvf_queues.c
717
if (features & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/chelsio/cxgb/cxgb2.c
1043
NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/chelsio/cxgb/cxgb2.c
1044
netdev->hw_features |= NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/chelsio/cxgb/cxgb2.c
872
if (features & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/chelsio/cxgb/cxgb2.c
885
if (changed & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/chelsio/cxgb/sge.c
731
if (features & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
1184
features & NETIF_F_HW_VLAN_CTAG_RX);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
1187
unsigned int i, have_vlans = features & NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
1192
NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
2594
if (features & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
2606
if (changed & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
3305
NETIF_F_TSO | NETIF_F_RXCSUM | NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
1278
if (!(changed & NETIF_F_HW_VLAN_CTAG_RX))
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
1283
!!(features & NETIF_F_HW_VLAN_CTAG_RX), true);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
1285
dev->features = features ^ NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
1462
!!(dev->features & NETIF_F_HW_VLAN_CTAG_RX), true);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
515
!!(dev->features & NETIF_F_HW_VLAN_CTAG_RX), true);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
6786
NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX |
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
1183
if (features & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
1197
if (changed & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
3072
NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/cisco/enic/enic_main.c
2895
netdev->features |= NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/emulex/benet/be_main.c
5191
NETIF_F_HW_VLAN_CTAG_RX | NETIF_F_HW_VLAN_CTAG_FILTER |
drivers/net/ethernet/faraday/ftgmac100.c
1692
if (changed & NETIF_F_HW_VLAN_CTAG_RX) {
drivers/net/ethernet/faraday/ftgmac100.c
1696
if (priv->netdev->features & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/faraday/ftgmac100.c
2066
NETIF_F_GRO | NETIF_F_SG | NETIF_F_HW_VLAN_CTAG_RX |
drivers/net/ethernet/faraday/ftgmac100.c
382
if (priv->netdev->features & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/faraday/ftgmac100.c
581
if ((netdev->features & NETIF_F_HW_VLAN_CTAG_RX) &&
drivers/net/ethernet/freescale/enetc/enetc.c
2666
if (rx_ring->ndev->features & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/freescale/enetc/enetc.c
3371
if (changed & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/freescale/enetc/enetc.c
3373
!!(features & NETIF_F_HW_VLAN_CTAG_RX));
drivers/net/ethernet/freescale/enetc/enetc_pf_common.c
111
NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX |
drivers/net/ethernet/freescale/enetc/enetc_pf_common.c
117
NETIF_F_HW_VLAN_CTAG_RX |
drivers/net/ethernet/freescale/enetc/enetc_vf.c
268
NETIF_F_HW_VLAN_CTAG_RX |
drivers/net/ethernet/freescale/enetc/enetc_vf.c
273
NETIF_F_HW_VLAN_CTAG_RX |
drivers/net/ethernet/freescale/fec_main.c
1787
if (ndev->features & NETIF_F_HW_VLAN_CTAG_RX) {
drivers/net/ethernet/freescale/fec_main.c
5011
ndev->features |= NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/freescale/gianfar.c
164
if (priv->ndev->features & (NETIF_F_RXCSUM | NETIF_F_HW_VLAN_CTAG_RX))
drivers/net/ethernet/freescale/gianfar.c
201
if (priv->ndev->features & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/freescale/gianfar.c
2453
if (ndev->features & NETIF_F_HW_VLAN_CTAG_RX &&
drivers/net/ethernet/freescale/gianfar.c
3214
NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/freescale/gianfar.c
3215
dev->features |= NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/freescale/gianfar_ethtool.c
518
if (!(changed & (NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX |
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
2489
if ((changed & NETIF_F_HW_VLAN_CTAG_RX) &&
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
2491
enable = !!(features & NETIF_F_HW_VLAN_CTAG_RX);
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
3378
NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX |
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
3410
NETIF_F_HW_VLAN_CTAG_RX | NETIF_F_GRO_HW | NETIF_F_NTUPLE |
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
4307
if (netdev->features & NETIF_F_HW_VLAN_CTAG_RX) {
drivers/net/ethernet/huawei/hinic/hinic_main.c
1087
if (changed & NETIF_F_HW_VLAN_CTAG_RX) {
drivers/net/ethernet/huawei/hinic/hinic_main.c
1090
NETIF_F_HW_VLAN_CTAG_RX));
drivers/net/ethernet/huawei/hinic/hinic_main.c
1093
failed_features |= NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/huawei/hinic/hinic_main.c
926
NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX |
drivers/net/ethernet/huawei/hinic/hinic_rx.c
412
if ((netdev->features & NETIF_F_HW_VLAN_CTAG_RX) &&
drivers/net/ethernet/huawei/hinic3/hinic3_main.c
268
vlan_fts |= NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/huawei/hinic3/hinic3_netdev_ops.c
568
bool en = !!(wanted_features & NETIF_F_HW_VLAN_CTAG_RX);
drivers/net/ethernet/huawei/hinic3/hinic3_netdev_ops.c
574
if (!(changed & NETIF_F_HW_VLAN_CTAG_RX))
drivers/net/ethernet/huawei/hinic3/hinic3_netdev_ops.c
581
*failed_features |= NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/huawei/hinic3/hinic3_rx.c
400
if ((netdev->features & NETIF_F_HW_VLAN_CTAG_RX) &&
drivers/net/ethernet/ibm/ehea/ehea_main.c
3002
NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX |
drivers/net/ethernet/intel/e1000/e1000_main.c
1034
NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/intel/e1000/e1000_main.c
4901
if (features & NETIF_F_HW_VLAN_CTAG_RX) {
drivers/net/ethernet/intel/e1000/e1000_main.c
790
if (features & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/intel/e1000/e1000_main.c
804
if (changed & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/intel/e1000e/netdev.c
3449
if (netdev->features & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/intel/e1000e/netdev.c
7300
if (features & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/intel/e1000e/netdev.c
7317
if (!(changed & (NETIF_F_HW_VLAN_CTAG_RX | NETIF_F_HW_VLAN_CTAG_TX |
drivers/net/ethernet/intel/e1000e/netdev.c
7520
NETIF_F_HW_VLAN_CTAG_RX |
drivers/net/ethernet/intel/fm10k/fm10k_netdev.c
1598
NETIF_F_HW_VLAN_CTAG_RX |
drivers/net/ethernet/intel/fm10k/fm10k_pci.c
307
netdev->features &= ~NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/intel/fm10k/fm10k_pci.c
309
netdev->features |= NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/intel/i40e/i40e_main.c
12939
if (features & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/intel/i40e/i40e_main.c
13712
NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/intel/i40e/i40e_main.c
3256
if (vsi->netdev->features & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/intel/iavf/iavf_main.c
2250
else if (features & (NETIF_F_HW_VLAN_CTAG_RX | NETIF_F_HW_VLAN_CTAG_TX))
drivers/net/ethernet/intel/iavf/iavf_main.c
2254
else if (prev_features & (NETIF_F_HW_VLAN_CTAG_RX | NETIF_F_HW_VLAN_CTAG_TX))
drivers/net/ethernet/intel/iavf/iavf_main.c
2259
if (!(features & (NETIF_F_HW_VLAN_STAG_RX | NETIF_F_HW_VLAN_CTAG_RX)))
drivers/net/ethernet/intel/iavf/iavf_main.c
4638
#define NETIF_VLAN_OFFLOAD_FEATURES (NETIF_F_HW_VLAN_CTAG_RX | \
drivers/net/ethernet/intel/iavf/iavf_main.c
4749
NETIF_F_HW_VLAN_CTAG_RX);
drivers/net/ethernet/intel/iavf/iavf_main.c
4762
hw_features |= NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/intel/iavf/iavf_main.c
4771
hw_features |= NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/intel/iavf/iavf_main.c
4813
NETIF_F_HW_VLAN_CTAG_RX | NETIF_F_HW_VLAN_CTAG_TX;
drivers/net/ethernet/intel/iavf/iavf_main.c
4833
features |= NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/intel/iavf/iavf_main.c
4843
features |= NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/intel/iavf/iavf_main.c
4920
NETIF_F_HW_VLAN_CTAG_RX))
drivers/net/ethernet/intel/iavf/iavf_main.c
4921
requested_features &= ~NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/intel/iavf/iavf_main.c
4943
(NETIF_F_HW_VLAN_CTAG_RX | NETIF_F_HW_VLAN_CTAG_TX)) &&
drivers/net/ethernet/intel/iavf/iavf_main.c
4975
vlan_strip = (NETIF_F_HW_VLAN_CTAG_RX | NETIF_F_HW_VLAN_STAG_RX);
drivers/net/ethernet/intel/iavf/iavf_txrx.c
842
if ((rx_ring->netdev->features & NETIF_F_HW_VLAN_CTAG_RX) &&
drivers/net/ethernet/intel/iavf/iavf_virtchnl.c
2202
netdev->features |= NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/intel/iavf/iavf_virtchnl.c
2204
netdev->features &= ~NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/intel/ice/ice_main.c
3500
NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/intel/ice/ice_main.c
6159
#define NETIF_VLAN_OFFLOAD_FEATURES (NETIF_F_HW_VLAN_CTAG_RX | \
drivers/net/ethernet/intel/ice/ice_main.c
6164
#define NETIF_VLAN_STRIPPING_FEATURES (NETIF_F_HW_VLAN_CTAG_RX | \
drivers/net/ethernet/intel/ice/ice_main.c
6246
if ((features & (NETIF_F_HW_VLAN_CTAG_RX | NETIF_F_HW_VLAN_CTAG_TX)) &&
drivers/net/ethernet/intel/ice/ice_main.c
6302
else if (features & (NETIF_F_HW_VLAN_CTAG_RX | NETIF_F_HW_VLAN_CTAG_TX))
drivers/net/ethernet/intel/ice/ice_main.c
6305
if (!(features & (NETIF_F_HW_VLAN_STAG_RX | NETIF_F_HW_VLAN_CTAG_RX)))
drivers/net/ethernet/intel/igb/igb_main.c
2474
if (features & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/intel/igb/igb_main.c
2488
if (changed & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/intel/igb/igb_main.c
3340
NETIF_F_HW_VLAN_CTAG_RX |
drivers/net/ethernet/intel/igb/igb_main.c
3355
NETIF_F_HW_VLAN_CTAG_RX |
drivers/net/ethernet/intel/igb/igb_main.c
8914
if ((dev->features & NETIF_F_HW_VLAN_CTAG_RX) &&
drivers/net/ethernet/intel/igb/igb_main.c
9361
bool enable = !!(features & NETIF_F_HW_VLAN_CTAG_RX);
drivers/net/ethernet/intel/igbvf/netdev.c
2803
NETIF_F_HW_VLAN_CTAG_RX |
drivers/net/ethernet/intel/igc/igc_main.c
1825
if ((dev->features & NETIF_F_HW_VLAN_CTAG_RX) &&
drivers/net/ethernet/intel/igc/igc_main.c
1864
bool enable = !!(features & NETIF_F_HW_VLAN_CTAG_RX);
drivers/net/ethernet/intel/igc/igc_main.c
5503
if (features & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/intel/igc/igc_main.c
5517
if (changed & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/intel/igc/igc_main.c
7239
netdev->hw_features |= NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/intel/igc/igc_main.c
7252
netdev->features |= NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
10599
else if (changed & (NETIF_F_HW_VLAN_CTAG_RX |
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
11796
NETIF_F_HW_VLAN_CTAG_RX |
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
11817
NETIF_F_HW_VLAN_CTAG_RX |
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
1905
if ((dev->features & NETIF_F_HW_VLAN_CTAG_RX) &&
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
5421
if (features & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
4687
NETIF_F_HW_VLAN_CTAG_RX |
drivers/net/ethernet/jme.c
2968
NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
2320
if (features & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
2352
if ((changed & NETIF_F_HW_VLAN_CTAG_RX) && netif_running(netdev))
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
2354
features & NETIF_F_HW_VLAN_CTAG_RX);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
3263
netdev->hw_features |= NETIF_F_HW_VLAN_CTAG_RX |
drivers/net/ethernet/marvell/sky2.c
1410
if (features & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/marvell/sky2.c
4343
if (changed & (NETIF_F_HW_VLAN_CTAG_TX|NETIF_F_HW_VLAN_CTAG_RX))
drivers/net/ethernet/marvell/sky2.c
4643
NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/mellanox/mlx4/en_netdev.c
2495
if (features & NETIF_F_HW_VLAN_CTAG_RX &&
drivers/net/ethernet/mellanox/mlx4/en_netdev.c
2528
if (DEV_FEATURE_CHANGED(netdev, features, NETIF_F_HW_VLAN_CTAG_RX)) {
drivers/net/ethernet/mellanox/mlx4/en_netdev.c
2530
(features & NETIF_F_HW_VLAN_CTAG_RX) ? "ON" : "OFF");
drivers/net/ethernet/mellanox/mlx4/en_netdev.c
3354
NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX |
drivers/net/ethernet/mellanox/mlx4/en_netdev.c
3357
NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/mellanox/mlx4/en_netdev.c
3378
NETIF_F_HW_VLAN_CTAG_RX |
drivers/net/ethernet/mellanox/mlx4/en_netdev.c
3382
NETIF_F_HW_VLAN_CTAG_RX |
drivers/net/ethernet/mellanox/mlx4/en_netdev.c
3511
!DEV_FEATURE_CHANGED(dev, features, NETIF_F_HW_VLAN_CTAG_RX) &&
drivers/net/ethernet/mellanox/mlx4/en_netdev.c
3515
if (DEV_FEATURE_CHANGED(dev, features, NETIF_F_HW_VLAN_CTAG_RX) &&
drivers/net/ethernet/mellanox/mlx4/en_netdev.c
3516
(features & NETIF_F_HW_VLAN_CTAG_RX) &&
drivers/net/ethernet/mellanox/mlx4/en_netdev.c
3542
if (DEV_FEATURE_CHANGED(dev, features, NETIF_F_HW_VLAN_CTAG_RX)) {
drivers/net/ethernet/mellanox/mlx4/en_netdev.c
3543
if (features & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/mellanox/mlx4/en_netdev.c
3544
dev->features |= NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/mellanox/mlx4/en_netdev.c
3546
dev->features &= ~NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/mellanox/mlx4/en_netdev.c
3551
if (dev->wanted_features & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/mellanox/mlx4/en_netdev.c
3552
dev->features |= NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/mellanox/mlx4/en_netdev.c
3554
dev->features &= ~NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/mellanox/mlx4/en_netdev.c
3569
if (dev->features & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/mellanox/mlx4/en_netdev.c
3571
dev->features &= ~NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/mellanox/mlx4/en_resources.c
84
if (!(dev->features & NETIF_F_HW_VLAN_CTAG_RX))
drivers/net/ethernet/mellanox/mlx4/en_rx.c
617
!(dev_features & NETIF_F_HW_VLAN_CTAG_RX)) {
drivers/net/ethernet/mellanox/mlx4/en_rx.c
912
(dev->features & NETIF_F_HW_VLAN_CTAG_RX))
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
4508
err |= MLX5E_HANDLE_FEATURE(NETIF_F_HW_VLAN_CTAG_RX, set_feature_rx_vlan);
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
4571
features &= ~NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
5866
netdev->hw_enc_features |= NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
5887
netdev->hw_features |= NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/microsoft/mana/mana_en.c
3627
NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/myricom/myri10ge/myri10ge.c
1295
if ((dev->features & NETIF_F_HW_VLAN_CTAG_RX) ==
drivers/net/ethernet/myricom/myri10ge/myri10ge.c
1296
NETIF_F_HW_VLAN_CTAG_RX &&
drivers/net/ethernet/myricom/myri10ge/myri10ge.c
3886
netdev->hw_features |= NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/natsemi/ns83820.c
2151
ndev->features |= NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/netronome/nfp/nfp_net_common.c
2023
if (changed & NETIF_F_HW_VLAN_CTAG_RX) {
drivers/net/ethernet/netronome/nfp/nfp_net_common.c
2024
if (features & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/netronome/nfp/nfp_net_common.c
2085
if ((features & NETIF_F_HW_VLAN_CTAG_RX) &&
drivers/net/ethernet/netronome/nfp/nfp_net_common.c
2087
if (netdev->features & NETIF_F_HW_VLAN_CTAG_RX) {
drivers/net/ethernet/netronome/nfp/nfp_net_common.c
2088
features &= ~NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/netronome/nfp/nfp_net_common.c
2089
netdev->wanted_features &= ~NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/netronome/nfp/nfp_net_common.c
2733
netdev->hw_features |= NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/netronome/nfp/nfp_net_repr.c
367
netdev->hw_features |= NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/nvidia/forcedeth.c
3041
if (dev->features & NETIF_F_HW_VLAN_CTAG_RX &&
drivers/net/ethernet/nvidia/forcedeth.c
4919
if (features & (NETIF_F_HW_VLAN_CTAG_TX|NETIF_F_HW_VLAN_CTAG_RX))
drivers/net/ethernet/nvidia/forcedeth.c
4931
if (features & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/nvidia/forcedeth.c
4973
if (changed & (NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX))
drivers/net/ethernet/nvidia/forcedeth.c
5809
dev->hw_features |= NETIF_F_HW_VLAN_CTAG_RX |
drivers/net/ethernet/nvidia/forcedeth.c
6112
dev->features & (NETIF_F_HW_VLAN_CTAG_RX |
drivers/net/ethernet/pensando/ionic/ionic_lif.c
1448
if (features & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/pensando/ionic/ionic_lif.c
1566
NETIF_F_HW_VLAN_CTAG_RX |
drivers/net/ethernet/pensando/ionic/ionic_lif.c
1594
netdev->hw_features |= NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/pensando/ionic/ionic_txrx.c
693
if (likely(netdev->features & NETIF_F_HW_VLAN_CTAG_RX) &&
drivers/net/ethernet/qlogic/qede/qede_main.c
888
NETIF_F_HW_VLAN_CTAG_RX | NETIF_F_HIGHDMA |
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
2273
NETIF_F_HW_VLAN_CTAG_RX | NETIF_F_HIGHDMA);
drivers/net/ethernet/qualcomm/emac/emac-mac.c
289
if (netdev->features & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/qualcomm/emac/emac.c
183
if (!(changed & (NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX)))
drivers/net/ethernet/qualcomm/emac/emac.c
668
NETIF_F_TSO | NETIF_F_TSO6 | NETIF_F_HW_VLAN_CTAG_RX |
drivers/net/ethernet/realtek/8139cp.c
1476
if (features & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/realtek/8139cp.c
1994
NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/realtek/8139cp.c
2000
NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/realtek/r8169_main.c
1830
if (features & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/realtek/r8169_main.c
1852
if (features & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/realtek/r8169_main.c
5722
NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/realtek/r8169_main.c
5732
dev->hw_features &= ~NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/realtek/rtase/rtase_main.c
1959
NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/realtek/rtase/rtase_main.c
2439
dev->features |= NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX |
drivers/net/ethernet/realtek/rtase/rtase_main.c
2447
NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX |
drivers/net/ethernet/realtek/rtase/rtase_main.c
761
if (dev->features & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h
154
#define NETIF_F_HW_VLAN_ALL (NETIF_F_HW_VLAN_CTAG_RX | \
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
5013
dev->features & NETIF_F_HW_VLAN_CTAG_RX) ||
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
6193
if (features & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
7961
ndev->features |= NETIF_F_HW_VLAN_CTAG_RX | NETIF_F_HW_VLAN_STAG_RX;
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
7963
ndev->hw_features |= NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/synopsys/dwc-xlgmac-common.c
200
netdev->hw_features |= NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c
2782
(netdev->features & NETIF_F_HW_VLAN_CTAG_RX)) {
drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c
433
if (pdata->netdev->features & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/ethernet/synopsys/dwc-xlgmac-net.c
1222
if (!(netdev->features & NETIF_F_HW_VLAN_CTAG_RX) &&
drivers/net/ethernet/synopsys/dwc-xlgmac-net.c
889
rxvlan = pdata->netdev_features & NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/synopsys/dwc-xlgmac-net.c
904
if ((features & NETIF_F_HW_VLAN_CTAG_RX) && !rxvlan)
drivers/net/ethernet/synopsys/dwc-xlgmac-net.c
906
else if (!(features & NETIF_F_HW_VLAN_CTAG_RX) && rxvlan)
drivers/net/ethernet/tehuti/tehuti.c
1980
NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX |
drivers/net/ethernet/tehuti/tn40.c
1679
NETIF_F_HW_VLAN_CTAG_RX |
drivers/net/ethernet/ti/cpsw.c
1510
ndev->features |= NETIF_F_HW_VLAN_CTAG_FILTER | NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/ti/cpsw.c
1690
ndev->features |= NETIF_F_HW_VLAN_CTAG_FILTER | NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/ethernet/ti/cpsw_new.c
1436
NETIF_F_HW_VLAN_CTAG_RX | NETIF_F_HW_TC;
drivers/net/ethernet/via/via-rhine.c
975
NETIF_F_HW_VLAN_CTAG_RX |
drivers/net/ethernet/via/via-velocity.c
2854
NETIF_F_HW_VLAN_CTAG_FILTER | NETIF_F_HW_VLAN_CTAG_RX |
drivers/net/ethernet/wangxun/libwx/wx_hw.c
1766
if ((features & NETIF_F_HW_VLAN_CTAG_RX) &&
drivers/net/ethernet/wangxun/libwx/wx_lib.c
3114
if (changed & NETIF_F_HW_VLAN_CTAG_RX && wx->do_reset)
drivers/net/ethernet/wangxun/libwx/wx_lib.c
3116
else if (changed & (NETIF_F_HW_VLAN_CTAG_RX | NETIF_F_HW_VLAN_CTAG_FILTER))
drivers/net/ethernet/wangxun/libwx/wx_lib.c
3171
#define NETIF_VLAN_STRIPPING_FEATURES (NETIF_F_HW_VLAN_CTAG_RX | \
drivers/net/ethernet/wangxun/libwx/wx_lib.c
586
(NETIF_F_HW_VLAN_CTAG_RX | NETIF_F_HW_VLAN_STAG_RX)) &&
drivers/net/ethernet/xilinx/ll_temac_main.c
1410
ndev->features |= NETIF_F_HW_VLAN_CTAG_RX; /* Receive VLAN hw acceleration */
drivers/net/hyperv/netvsc_drv.c
2578
NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/net_failover.c
741
NETIF_F_HW_VLAN_CTAG_RX |
drivers/net/netkit.c
445
NETIF_F_HW_VLAN_CTAG_RX |
drivers/net/team/team_core.c
2389
NETIF_F_HW_VLAN_CTAG_RX |
drivers/net/usb/aqc111.h
31
NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/usb/lan78xx.c
3085
if (features & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/usb/lan78xx.c
3800
dev->net->features |= NETIF_F_HW_VLAN_CTAG_RX;
drivers/net/usb/lan78xx.c
3873
!(dev->net->features & NETIF_F_HW_VLAN_CTAG_RX))) {
drivers/net/usb/lan78xx.c
3885
if ((dev->net->features & NETIF_F_HW_VLAN_CTAG_RX) &&
drivers/net/usb/r8152.c
10192
NETIF_F_TSO6 | NETIF_F_HW_VLAN_CTAG_RX |
drivers/net/usb/r8152.c
10197
NETIF_F_HW_VLAN_CTAG_RX | NETIF_F_HW_VLAN_CTAG_TX;
drivers/net/usb/r8152.c
3849
if (changed & NETIF_F_HW_VLAN_CTAG_RX) {
drivers/net/usb/r8152.c
3850
if (features & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/usb/r8152.c
5947
rtl_rx_vlan_en(tp, tp->netdev->features & NETIF_F_HW_VLAN_CTAG_RX);
drivers/net/usb/r8152.c
6306
rtl_rx_vlan_en(tp, tp->netdev->features & NETIF_F_HW_VLAN_CTAG_RX);
drivers/net/usb/r8152.c
6783
rtl_rx_vlan_en(tp, tp->netdev->features & NETIF_F_HW_VLAN_CTAG_RX);
drivers/net/usb/r8152.c
6849
rtl_rx_vlan_en(tp, tp->netdev->features & NETIF_F_HW_VLAN_CTAG_RX);
drivers/net/veth.c
1733
NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX | \
drivers/net/veth.c
1754
NETIF_F_HW_VLAN_CTAG_RX |
drivers/net/vmxnet3/vmxnet3_drv.c
2935
if (adapter->netdev->features & NETIF_F_HW_VLAN_CTAG_RX)
drivers/net/vmxnet3/vmxnet3_drv.c
3709
NETIF_F_HW_VLAN_CTAG_RX | NETIF_F_TSO | NETIF_F_TSO6 |
drivers/net/vmxnet3/vmxnet3_drv.c
3718
NETIF_F_HW_VLAN_CTAG_RX | NETIF_F_TSO | NETIF_F_TSO6 |
drivers/net/vmxnet3/vmxnet3_drv.c
3783
NETIF_F_HW_VLAN_CTAG_RX);
drivers/net/vmxnet3/vmxnet3_ethtool.c
331
NETIF_F_HW_VLAN_CTAG_RX | NETIF_F_TSO | NETIF_F_TSO6 |
drivers/net/vmxnet3/vmxnet3_ethtool.c
392
NETIF_F_HW_VLAN_CTAG_RX | NETIF_F_TSO | NETIF_F_TSO6 |
drivers/net/vmxnet3/vmxnet3_ethtool.c
424
NETIF_F_HW_VLAN_CTAG_RX | tun_offload_mask)) {
drivers/net/vmxnet3/vmxnet3_ethtool.c
440
if (features & NETIF_F_HW_VLAN_CTAG_RX)
drivers/s390/net/qeth_l3_main.c
1910
NETIF_F_HW_VLAN_CTAG_RX;
include/linux/netdev_features.h
244
NETIF_F_HW_VLAN_CTAG_RX | \
net/ethtool/ioctl.c
291
#define ETH_ALL_FEATURES (NETIF_F_LRO | NETIF_F_HW_VLAN_CTAG_RX | \
net/ethtool/ioctl.c
301
if (dev->features & NETIF_F_HW_VLAN_CTAG_RX)
net/ethtool/ioctl.c
323
features |= NETIF_F_HW_VLAN_CTAG_RX;