Home
last modified time | relevance | path

Searched refs:VLAN_ETH_HLEN (Results 1 – 23 of 23) sorted by relevance

/linux-4.1.27/drivers/staging/gdm724x/
Dgdm_lte.c125 mac_header_len = VLAN_ETH_HLEN; in gdm_lte_emulate_arp()
252 mac_header_len = VLAN_ETH_HLEN; in gdm_lte_emulate_ndp()
366 network_data = skb->data + VLAN_ETH_HLEN; in gdm_lte_tx_nic_type()
453 data_buf = skb->data + (VLAN_ETH_HLEN - ETH_HLEN); in gdm_lte_tx()
454 data_len = skb->len - (VLAN_ETH_HLEN - ETH_HLEN); in gdm_lte_tx()
636 mac_header_len = VLAN_ETH_HLEN; in gdm_lte_netif_rx()
/linux-4.1.27/drivers/net/ethernet/qualcomm/
Dqca_framing.h52 #define QCAFRM_ETHMAXLEN (QCAFRM_ETHMAXMTU + VLAN_ETH_HLEN)
Dqca_spi.c300 net_dev->mtu + VLAN_ETH_HLEN); in qcaspi_receive()
381 net_dev->mtu + VLAN_ETH_HLEN); in qcaspi_receive()
753 qca->buffer_size = (dev->mtu + VLAN_ETH_HLEN + QCAFRM_HEADER_LEN + in qcaspi_netdev_init()
762 qca->rx_skb = netdev_alloc_skb(dev, qca->net_dev->mtu + VLAN_ETH_HLEN); in qcaspi_netdev_init()
/linux-4.1.27/drivers/net/usb/
Dcdc_mbim.c244 if (vlan_get_tag(skb, &tci) < 0 && skb->len > VLAN_ETH_HLEN && in cdc_mbim_tx_fixup()
247 skb_pull(skb, VLAN_ETH_HLEN); in cdc_mbim_tx_fixup()
Dr8152.c476 #define RTL8153_MAX_MTU (RTL8153_MAX_PACKET - VLAN_ETH_HLEN - VLAN_HLEN)
640 VLAN_ETH_HLEN - VLAN_HLEN)
2035 tp->tx_qlen = agg_buf_sz / (netdev->mtu + VLAN_ETH_HLEN + VLAN_HLEN + in set_tx_qlen()
2158 u32 ocp_data = (agg_buf_sz - mtu - VLAN_ETH_HLEN - VLAN_HLEN) / 4; in r8153_set_rx_early_size()
/linux-4.1.27/include/linux/
Dif_vlan.h24 #define VLAN_ETH_HLEN 18 /* Total octets in header. */ macro
/linux-4.1.27/drivers/net/xen-netback/
Dinterface.c267 int max = vif->can_sg ? 65535 - VLAN_ETH_HLEN : ETH_DATA_LEN; in xenvif_change_mtu()
/linux-4.1.27/net/batman-adv/
Dmain.c1191 if (!pskb_may_pull(skb, header_len + VLAN_ETH_HLEN)) in batadv_get_vid()
/linux-4.1.27/net/core/
Dskbuff.c4272 err = skb_ensure_writable(skb, VLAN_ETH_HLEN); in __skb_vlan_pop()
4308 skb->len < VLAN_ETH_HLEN)) in skb_vlan_pop()
4318 skb->len < VLAN_ETH_HLEN)) in skb_vlan_pop()
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/
Dfm10k_netdev.c625 if (unlikely(!pskb_may_pull(skb, VLAN_ETH_HLEN))) in fm10k_xmit_frame()
/linux-4.1.27/drivers/net/ethernet/apm/xgene/
Dxgene_enet_main.c102 return (eth->h_proto == htons(ETH_P_8021Q)) ? VLAN_ETH_HLEN : ETH_HLEN; in xgene_enet_hdr_len()
/linux-4.1.27/drivers/net/ethernet/intel/
De100.c2049 if (actual_size > ETH_DATA_LEN + VLAN_ETH_HLEN + fcs_pad) in e100_rx_indicate()
2058 } else if (actual_size > ETH_DATA_LEN + VLAN_ETH_HLEN + fcs_pad) { in e100_rx_indicate()
/linux-4.1.27/drivers/net/ethernet/qlogic/
Dqla3xxx.c2060 size += VLAN_ETH_HLEN - ETH_HLEN; in ql_process_macip_rx_intr()
2858 qdev->lrg_buffer_len += VLAN_ETH_HLEN + VLAN_ID_LEN + QL_HEADER_SPACE; in ql_alloc_mem_resources()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb/
Dsge.c1766 return e->h_proto == htons(ETH_P_8021Q) ? VLAN_ETH_HLEN : ETH_HLEN; in eth_hdr_len()
/linux-4.1.27/drivers/net/ethernet/tehuti/
Dtehuti.c1018 priv->rxf_fifo0.m.pktsz = priv->ndev->mtu + VLAN_ETH_HLEN; in bdx_rx_init()
/linux-4.1.27/drivers/infiniband/hw/nes/
Dnes_nic.c1002 nesvnic->max_frame_size = new_mtu + VLAN_ETH_HLEN; in nes_netdev_change_mtu()
/linux-4.1.27/drivers/net/ethernet/realtek/
D8139too.c190 #define MAX_ETH_DATA_SIZE (MAX_ETH_FRAME_SIZE - VLAN_ETH_HLEN - ETH_FCS_LEN)
/linux-4.1.27/drivers/net/ethernet/cisco/enic/
Denic_main.c978 unsigned int len = netdev->mtu + VLAN_ETH_HLEN; in enic_rq_alloc_buf()
/linux-4.1.27/drivers/net/ethernet/broadcom/
Dbcm63xx_enet.c1635 actual_mtu += VLAN_ETH_HLEN; in compute_hw_mtu()
/linux-4.1.27/drivers/net/ethernet/intel/e1000e/
Dnetdev.c4201 adapter->max_frame_size = netdev->mtu + VLAN_ETH_HLEN + ETH_FCS_LEN; in e1000_sw_init()
5784 int max_frame = new_mtu + VLAN_ETH_HLEN + ETH_FCS_LEN; in e1000_change_mtu()
/linux-4.1.27/drivers/net/ethernet/brocade/bna/
Dbnad.c2868 if (unlikely(skb->len > (bnad->netdev->mtu + VLAN_ETH_HLEN))) { in bnad_txq_wi_prepare()
/linux-4.1.27/drivers/net/ethernet/emulex/benet/
Dbe_main.c1048 VLAN_ETH_HLEN : ETH_HLEN; in be_lancer_xmit_workarounds()
/linux-4.1.27/drivers/net/ethernet/sun/
Dniu.c3489 len = min_t(int, len, sizeof(*rh) + VLAN_ETH_HLEN); in niu_process_rx_pkt()