Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/net/wireless/marvell/libertas/
Ddefs.h263 (ETH_FRAME_LEN + sizeof(struct txpd) + EXTRA_LEN)
266 (ETH_FRAME_LEN + sizeof(struct rxpd) \
/linux-6.1.9/include/uapi/linux/
Dif_ether.h37 #define ETH_FRAME_LEN 1514 /* Max. octets in frame sans FCS */ macro
/linux-6.1.9/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-6.1.9/drivers/net/ethernet/xilinx/
Dxilinx_emaclite.c317 if (byte_count > ETH_FRAME_LEN) in xemaclite_send_data()
318 byte_count = ETH_FRAME_LEN; in xemaclite_send_data()
432 length = ETH_FRAME_LEN + ETH_FCS_LEN; in xemaclite_recv_data()
596 len = ETH_FRAME_LEN + ETH_FCS_LEN; in xemaclite_rx_handler()
/linux-6.1.9/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-6.1.9/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_xdp.c25 if (frame_size < ETH_FRAME_LEN + VLAN_HLEN * 2) in stmmac_xdp_enable_pool()
/linux-6.1.9/drivers/net/ethernet/intel/igc/
Digc_xdp.c54 if (frame_size < ETH_FRAME_LEN + VLAN_HLEN * 2) { in igc_xdp_enable_pool()
/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcore.h31 #define BRCMF_TX_IOCTL_MAX_MSG_SIZE (ETH_FRAME_LEN+ETH_FCS_LEN)
/linux-6.1.9/drivers/net/ethernet/actions/
Dowl-emac.h21 #define OWL_EMAC_RX_FRAME_MAX_LEN (ETH_FRAME_LEN + ETH_FCS_LEN)
/linux-6.1.9/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.c1183 skb_put(skb, (ETH_FRAME_LEN + RX_OFFSET + 4)); in happy_meal_init_rings()
1592 hme_write32(hp, bregs + BMAC_TXMAX, ETH_FRAME_LEN + 8); in happy_meal_init()
1593 hme_write32(hp, bregs + BMAC_RXMAX, ETH_FRAME_LEN + 8); in happy_meal_init()
1909 skb_put(new_skb, (ETH_FRAME_LEN + RX_OFFSET + 4)); in happy_meal_rx()
/linux-6.1.9/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-6.1.9/include/net/
Derspan.h261 if (skb->len > ETH_FRAME_LEN) in erspan_detect_bso()
/linux-6.1.9/drivers/net/ethernet/apple/
Dmace.c35 #define RX_BUFLEN (ETH_FRAME_LEN + 8)
558 if (len > ETH_FRAME_LEN) { in mace_xmit_start()
560 len = ETH_FRAME_LEN; in mace_xmit_start()
/linux-6.1.9/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sriov.c512 if (pf_max_frame > ETH_FRAME_LEN) in ixgbe_set_vf_lpe()
520 if ((pf_max_frame > ETH_FRAME_LEN) || in ixgbe_set_vf_lpe()
521 (max_frame > (ETH_FRAME_LEN + ETH_FCS_LEN))) in ixgbe_set_vf_lpe()
867 if (pf_max_frame > ETH_FRAME_LEN) in ixgbe_set_vf_rx_tx()
/linux-6.1.9/drivers/usb/gadget/function/
Df_subset.c130 .wMaxSegmentSize = cpu_to_le16(ETH_FRAME_LEN),
/linux-6.1.9/drivers/net/ethernet/atheros/atl1c/
Datl1c.h61 #define AT_RX_BUF_SIZE (ETH_FRAME_LEN + VLAN_HLEN + ETH_FCS_LEN)
/linux-6.1.9/drivers/net/ethernet/broadcom/
Dbgmac.h367 #define ETHER_MAX_LEN (ETH_FRAME_LEN + ETH_FCS_LEN)
/linux-6.1.9/drivers/net/ethernet/synopsys/
Ddwc-xlgmac.h48 #define XLGMAC_RX_MIN_BUF_SIZE (ETH_FRAME_LEN + ETH_FCS_LEN + VLAN_HLEN)
/linux-6.1.9/drivers/net/usb/
Dsr9700.c416 if (len > ETH_FRAME_LEN || len > skb->len || len < 0) in sr9700_rx_fixup()
Dmcs7830.c508 dev->rx_urb_size = ETH_FRAME_LEN + 1; in mcs7830_bind()
/linux-6.1.9/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-6.1.9/drivers/net/ethernet/intel/igbvf/
Dnetdev.c1628 adapter->rx_buffer_len = ETH_FRAME_LEN + VLAN_HLEN + ETH_FCS_LEN; in igbvf_sw_init()
2427 if ((max_frame == ETH_FRAME_LEN + ETH_FCS_LEN) || in igbvf_change_mtu()
2428 (max_frame == ETH_FRAME_LEN + VLAN_HLEN + ETH_FCS_LEN)) in igbvf_change_mtu()
2429 adapter->rx_buffer_len = ETH_FRAME_LEN + VLAN_HLEN + in igbvf_change_mtu()

12