/Linux-v6.6/arch/m68k/emu/ |
D | nfeth.c | 147 char *data, shortpkt[ETH_ZLEN]; in nfeth_xmit() 152 if (len < ETH_ZLEN) { in nfeth_xmit() 153 memset(shortpkt, 0, ETH_ZLEN); in nfeth_xmit() 156 len = ETH_ZLEN; in nfeth_xmit()
|
/Linux-v6.6/net/dsa/ |
D | tag_brcm.c | 101 if (__skb_put_padto(skb, ETH_ZLEN + BRCM_TAG_LEN, false)) in brcm_tag_xmit_ll() 231 if (__skb_put_padto(skb, ETH_ZLEN + BRCM_LEG_TAG_LEN, false)) in brcm_leg_tag_xmit()
|
D | tag_rzn1_a5psw.c | 52 if (__skb_put_padto(skb, ETH_ZLEN, false)) in a5psw_tag_xmit()
|
D | tag_rtl4_a.c | 45 if (unlikely(__skb_put_padto(skb, ETH_ZLEN, false))) in rtl4a_tag_xmit()
|
/Linux-v6.6/drivers/infiniband/ulp/opa_vnic/ |
D | opa_vnic_netdev.c | 85 if (unlikely(skb->len < ETH_ZLEN)) { in opa_netdev_start_xmit() 86 if (skb_padto(skb, ETH_ZLEN)) in opa_netdev_start_xmit() 89 skb_put(skb, ETH_ZLEN - skb->len); in opa_netdev_start_xmit()
|
/Linux-v6.6/drivers/net/ethernet/smsc/ |
D | smc9194.c | 490 if (length < ETH_ZLEN) { in smc_wait_to_send_packet() 491 if (skb_padto(skb, ETH_ZLEN)) { in smc_wait_to_send_packet() 495 length = ETH_ZLEN; in smc_wait_to_send_packet() 593 length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN; in smc_hardware_send_packet()
|
/Linux-v6.6/drivers/net/ethernet/amd/ |
D | 7990.c | 568 len = (skblen <= ETH_ZLEN) ? ETH_ZLEN : skblen; in lance_start_xmit() 573 if (skb->len < ETH_ZLEN) in lance_start_xmit() 574 memset((void *)&ib->tx_buf[entry][0], 0, ETH_ZLEN); in lance_start_xmit()
|
D | sunlance.c | 884 for (i = 0; i < (ETH_ZLEN / sizeof(u16)); i++) in build_fake_packet() 890 sbus_writew((-ETH_ZLEN) | 0xf000, &ib->btx_ring[entry].length); in build_fake_packet() 897 memset(packet, 0, ETH_ZLEN); in build_fake_packet() 902 ib->btx_ring[entry].length = (-ETH_ZLEN) | 0xf000; in build_fake_packet() 1112 len = (skblen <= ETH_ZLEN) ? ETH_ZLEN : skblen; in lance_start_xmit()
|
D | ariadne.c | 561 if (skb->len < ETH_ZLEN) { in ariadne_start_xmit() 562 if (skb_padto(skb, ETH_ZLEN)) in ariadne_start_xmit() 564 len = ETH_ZLEN; in ariadne_start_xmit()
|
/Linux-v6.6/drivers/net/ethernet/qualcomm/ |
D | qca_7k_common.h | 47 #define QCAFRM_MIN_MTU (ETH_ZLEN - ETH_HLEN)
|
/Linux-v6.6/drivers/net/ethernet/sunplus/ |
D | spl2sw_driver.c | 85 if (unlikely(skb->len < ETH_ZLEN)) { in spl2sw_ethernet_start_xmit() 86 if (skb_padto(skb, ETH_ZLEN)) in spl2sw_ethernet_start_xmit() 89 skb_put(skb, ETH_ZLEN - skb->len); in spl2sw_ethernet_start_xmit()
|
/Linux-v6.6/include/uapi/linux/ |
D | if_ether.h | 35 #define ETH_ZLEN 60 /* Min. octets in frame sans FCS */ macro
|
/Linux-v6.6/drivers/net/ethernet/8390/ |
D | lib8390.c | 309 char buf[ETH_ZLEN]; in __ei_start_xmit() 312 if (skb->len < ETH_ZLEN) { in __ei_start_xmit() 313 memset(buf, 0, ETH_ZLEN); /* more efficient than doing just the needed bits */ in __ei_start_xmit() 315 send_length = ETH_ZLEN; in __ei_start_xmit()
|
/Linux-v6.6/drivers/net/ethernet/sun/ |
D | sunvnet_common.c | 388 if (unlikely(len < ETH_ZLEN || len > maxlen)) { in vnet_rx_one() 1073 if (blen < ETH_ZLEN) in vnet_skb_map() 1074 blen = ETH_ZLEN; in vnet_skb_map() 1116 if (len < ETH_ZLEN) { in vnet_skb_shape() 1117 pad += ETH_ZLEN - skb->len; in vnet_skb_shape() 1136 len = skb->len > ETH_ZLEN ? skb->len : ETH_ZLEN; in vnet_skb_shape() 1402 if (len < ETH_ZLEN) in sunvnet_start_xmit_common() 1403 len = ETH_ZLEN; in sunvnet_start_xmit_common()
|
/Linux-v6.6/net/bridge/netfilter/ |
D | ebt_vlan.c | 141 if ((unsigned short) ntohs(info->encap) < ETH_ZLEN) { in ebt_vlan_mt_check()
|
/Linux-v6.6/drivers/net/wan/ |
D | hdlc_raw_eth.c | 27 int pad = ETH_ZLEN - skb->len; in eth_tx()
|
/Linux-v6.6/drivers/net/ethernet/moxa/ |
D | moxart_ether.c | 371 if (skb->len < ETH_ZLEN) { in moxart_mac_start_xmit() 373 0, ETH_ZLEN - skb->len); in moxart_mac_start_xmit() 374 len = ETH_ZLEN; in moxart_mac_start_xmit()
|
/Linux-v6.6/net/hsr/ |
D | hsr_device.c | 321 if (skb_put_padto(skb, ETH_ZLEN)) { in send_hsr_supervision_frame() 361 if (skb_put_padto(skb, ETH_ZLEN)) { in send_prp_supervision_frame()
|
D | hsr_forward.c | 211 int min_size = ETH_ZLEN; in prp_fill_rct() 257 if (skb_put_padto(skb, ETH_ZLEN + HSR_HLEN)) in hsr_fill_tag()
|
/Linux-v6.6/drivers/net/ethernet/natsemi/ |
D | sonic.c | 284 if (length < ETH_ZLEN) { in sonic_send_packet() 285 if (skb_padto(skb, ETH_ZLEN)) in sonic_send_packet() 287 length = ETH_ZLEN; in sonic_send_packet()
|
/Linux-v6.6/drivers/net/ethernet/seeq/ |
D | sgiseeq.c | 603 if (len < ETH_ZLEN) { in sgiseeq_start_xmit() 604 if (skb_padto(skb, ETH_ZLEN)) { in sgiseeq_start_xmit() 608 len = ETH_ZLEN; in sgiseeq_start_xmit()
|
/Linux-v6.6/drivers/net/ethernet/fujitsu/ |
D | fmvj18x_cs.c | 813 if (length < ETH_ZLEN) in fjn_start_xmit() 815 if (skb_padto(skb, ETH_ZLEN)) in fjn_start_xmit() 817 length = ETH_ZLEN; in fjn_start_xmit()
|
/Linux-v6.6/include/net/ |
D | erspan.h | 258 if (skb->len < ETH_ZLEN) in erspan_detect_bso()
|
/Linux-v6.6/drivers/net/ethernet/mscc/ |
D | ocelot_mm.c | 260 state->rx_min_frag_size = ETH_ZLEN; in ocelot_port_get_mm()
|
/Linux-v6.6/drivers/net/ethernet/sis/ |
D | sis190.c | 657 len = skb->len < ETH_ZLEN ? ETH_ZLEN : skb->len; in sis190_unmap_tx_skb() 1189 if (unlikely(skb->len < ETH_ZLEN)) { in sis190_start_xmit() 1190 if (skb_padto(skb, ETH_ZLEN)) { in sis190_start_xmit() 1194 len = ETH_ZLEN; in sis190_start_xmit()
|