Home
last modified time | relevance | path

Searched refs:ETH_FRAME_LEN (Results 1 – 25 of 45) sorted by relevance

12

/Linux-v5.15/drivers/net/wireless/marvell/libertas/
Ddefs.h263 (ETH_FRAME_LEN + sizeof(struct txpd) + EXTRA_LEN)
266 (ETH_FRAME_LEN + sizeof(struct rxpd) \
/Linux-v5.15/include/uapi/linux/
Dif_ether.h37 #define ETH_FRAME_LEN 1514 /* Max. octets in frame sans FCS */ macro
/Linux-v5.15/drivers/net/ethernet/i825xx/
Dether1.c437 ETH_FRAME_LEN + 8
479 next = addr + RFD_SIZE + RBD_SIZE + ETH_FRAME_LEN + 10; in ether1_init_for_open()
480 next2 = next + RFD_SIZE + RBD_SIZE + ETH_FRAME_LEN + 10; in ether1_init_for_open()
730 tst = ether1_txalloc (dev, TX_SIZE + TBD_SIZE + NOP_SIZE + ETH_FRAME_LEN); in ether1_sendpacket()
835 tst = ether1_txalloc (dev, TX_SIZE + TBD_SIZE + NOP_SIZE + ETH_FRAME_LEN); in ether1_xmit_done()
/Linux-v5.15/drivers/net/wireless/marvell/libertas_tf/
Dlibertas_tf.h131 (ETH_FRAME_LEN + sizeof(struct txpd) + EXTRA_LEN)
134 (ETH_FRAME_LEN + sizeof(struct rxpd) \
/Linux-v5.15/drivers/net/ethernet/xilinx/
Dxilinx_emaclite.c325 if (byte_count > ETH_FRAME_LEN) in xemaclite_send_data()
326 byte_count = ETH_FRAME_LEN; in xemaclite_send_data()
441 length = ETH_FRAME_LEN + ETH_FCS_LEN; in xemaclite_recv_data()
604 len = ETH_FRAME_LEN + ETH_FCS_LEN; in xemaclite_rx_handler()
/Linux-v5.15/drivers/net/ethernet/intel/igc/
Digc_xdp.c53 if (frame_size < ETH_FRAME_LEN + VLAN_HLEN * 2) { in igc_xdp_enable_pool()
/Linux-v5.15/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_xdp.c25 if (frame_size < ETH_FRAME_LEN + VLAN_HLEN * 2) in stmmac_xdp_enable_pool()
/Linux-v5.15/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcore.h31 #define BRCMF_TX_IOCTL_MAX_MSG_SIZE (ETH_FRAME_LEN+ETH_FCS_LEN)
/Linux-v5.15/drivers/net/ethernet/sun/
Dsunbmac.h266 #define RX_BUF_ALLOC_SIZE (ETH_FRAME_LEN + (64 * 3))
Dsunbmac.c237 skb_put(skb, ETH_FRAME_LEN); in bigmac_init_rings()
838 skb_put(new_skb, ETH_FRAME_LEN); in bigmac_rx()
Dsunvnet_common.c73 int framelen = ETH_FRAME_LEN; in sunvnet_send_attr_common()
161 localmtu = ETH_FRAME_LEN; in handle_attr_info()
167 localmtu = ETH_FRAME_LEN + VLAN_HLEN; in handle_attr_info()
Dsunhme.c1251 skb_put(skb, (ETH_FRAME_LEN + RX_OFFSET + 4)); in happy_meal_init_rings()
1670 hme_write32(hp, bregs + BMAC_TXMAX, ETH_FRAME_LEN + 8); in happy_meal_init()
1671 hme_write32(hp, bregs + BMAC_RXMAX, ETH_FRAME_LEN + 8); in happy_meal_init()
2013 skb_put(new_skb, (ETH_FRAME_LEN + RX_OFFSET + 4)); in happy_meal_rx()
/Linux-v5.15/drivers/net/ethernet/actions/
Dowl-emac.h21 #define OWL_EMAC_RX_FRAME_MAX_LEN (ETH_FRAME_LEN + ETH_FCS_LEN)
/Linux-v5.15/drivers/net/ethernet/fujitsu/
Dfmvj18x_cs.c825 if (length > ETH_FRAME_LEN) { in fjn_start_xmit()
857 if (lp->tx_queue_len < (4096 - (ETH_FRAME_LEN +2)) ) in fjn_start_xmit()
861 if (lp->tx_queue_len < (8192 - (ETH_FRAME_LEN +2)) && in fjn_start_xmit()
/Linux-v5.15/include/net/
Derspan.h258 if (skb->len > ETH_FRAME_LEN) in erspan_detect_bso()
/Linux-v5.15/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sriov.c508 if (pf_max_frame > ETH_FRAME_LEN) in ixgbe_set_vf_lpe()
516 if ((pf_max_frame > ETH_FRAME_LEN) || in ixgbe_set_vf_lpe()
517 (max_frame > (ETH_FRAME_LEN + ETH_FCS_LEN))) in ixgbe_set_vf_lpe()
877 if (pf_max_frame > ETH_FRAME_LEN) in ixgbe_vf_reset_msg()
/Linux-v5.15/drivers/net/ethernet/apple/
Dmace.c36 #define RX_BUFLEN (ETH_FRAME_LEN + 8)
553 if (len > ETH_FRAME_LEN) { in mace_xmit_start()
555 len = ETH_FRAME_LEN; in mace_xmit_start()
/Linux-v5.15/drivers/usb/gadget/function/
Df_subset.c130 .wMaxSegmentSize = cpu_to_le16(ETH_FRAME_LEN),
/Linux-v5.15/drivers/net/ethernet/atheros/atl1c/
Datl1c.h61 #define AT_RX_BUF_SIZE (ETH_FRAME_LEN + VLAN_HLEN + ETH_FCS_LEN)
/Linux-v5.15/drivers/net/ethernet/broadcom/
Dbgmac.h369 #define ETHER_MAX_LEN (ETH_FRAME_LEN + ETH_FCS_LEN)
/Linux-v5.15/drivers/net/ethernet/synopsys/
Ddwc-xlgmac.h47 #define XLGMAC_RX_MIN_BUF_SIZE (ETH_FRAME_LEN + ETH_FCS_LEN + VLAN_HLEN)
/Linux-v5.15/drivers/net/usb/
Dmcs7830.c497 dev->rx_urb_size = ETH_FRAME_LEN + 1; in mcs7830_bind()
Dsr9700.c413 if (len > ETH_FRAME_LEN) in sr9700_rx_fixup()
/Linux-v5.15/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_mac.c496 if (new_frm < (ETH_FRAME_LEN + ETH_FCS_LEN + VLAN_HLEN)) in hns_mac_set_mtu()
497 new_frm = (ETH_FRAME_LEN + ETH_FCS_LEN + VLAN_HLEN); in hns_mac_set_mtu()
/Linux-v5.15/drivers/net/ethernet/intel/igbvf/
Dnetdev.c1629 adapter->rx_buffer_len = ETH_FRAME_LEN + VLAN_HLEN + ETH_FCS_LEN; in igbvf_sw_init()
2428 if ((max_frame == ETH_FRAME_LEN + ETH_FCS_LEN) || in igbvf_change_mtu()
2429 (max_frame == ETH_FRAME_LEN + VLAN_HLEN + ETH_FCS_LEN)) in igbvf_change_mtu()
2430 adapter->rx_buffer_len = ETH_FRAME_LEN + VLAN_HLEN + in igbvf_change_mtu()

12