Home
last modified time | relevance | path

Searched refs:max_frm_size (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_gmac.h31 u32 max_frm_size; member
Dhns_dsaf_gmac.c220 port_mode->max_frm_size = in hns_gmac_port_mode_get()
/Linux-v5.10/drivers/net/ethernet/xilinx/
Dxilinx_axienet_main.c218 lp->max_frm_size, DMA_FROM_DEVICE); in axienet_dma_bd_release()
282 skb = netdev_alloc_skb_ip_align(ndev, lp->max_frm_size); in axienet_dma_bd_init()
288 lp->max_frm_size, DMA_FROM_DEVICE); in axienet_dma_bd_init()
295 lp->rx_bd_v[i].cntrl = lp->max_frm_size; in axienet_dma_bd_init()
545 lp->max_frm_size = XAE_MAX_VLAN_FRAME_SIZE; in axienet_device_reset()
551 lp->max_frm_size = ndev->mtu + VLAN_ETH_HLEN + in axienet_device_reset()
554 if (lp->max_frm_size <= lp->rxmem) in axienet_device_reset()
838 dma_unmap_single(ndev->dev.parent, phys, lp->max_frm_size, in axienet_recv()
870 new_skb = netdev_alloc_skb_ip_align(ndev, lp->max_frm_size); in axienet_recv()
875 lp->max_frm_size, in axienet_recv()
[all …]
Dxilinx_axienet.h454 u32 max_frm_size; member
/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c9234 req->max_frm_size = cpu_to_le16(new_mps); in hclge_set_mac_mtu()
9250 int i, max_frm_size, ret; in hclge_set_vport_mtu() local
9253 max_frm_size = new_mtu + ETH_HLEN + ETH_FCS_LEN + 2 * VLAN_HLEN; in hclge_set_vport_mtu()
9254 if (max_frm_size < HCLGE_MAC_MIN_FRAME || in hclge_set_vport_mtu()
9255 max_frm_size > HCLGE_MAC_MAX_FRAME) in hclge_set_vport_mtu()
9258 max_frm_size = max(max_frm_size, HCLGE_MAC_DEFAULT_FRAME); in hclge_set_vport_mtu()
9261 if (vport->vport_id && max_frm_size > hdev->mps) { in hclge_set_vport_mtu()
9265 vport->mps = max_frm_size; in hclge_set_vport_mtu()
9272 if (max_frm_size < hdev->vport[i].mps) { in hclge_set_vport_mtu()
9279 ret = hclge_set_mac_mtu(hdev, max_frm_size); in hclge_set_vport_mtu()
[all …]
Dhclge_cmd.h691 __le16 max_frm_size; member
Dhclge_debugfs.c243 le16_to_cpu(req->max_frm_size)); in hclge_dbg_dump_mac_frame_size()
/Linux-v5.10/drivers/scsi/bfa/
Dbfa_fcs.h658 __be32 max_frm_size; /* max frame size */ member
Dbfa_fcs_lport.c2305 templen = sizeof(fcs_port_attr.max_frm_size); in bfa_fcs_lport_fdmi_build_portattr_block()
2306 memcpy(attr->value, &fcs_port_attr.max_frm_size, templen); in bfa_fcs_lport_fdmi_build_portattr_block()
2656 hba_attr->max_ct_pyld = fcs_port_attr.max_frm_size; in bfa_fcs_fdmi_get_hbaattr()
2726 port_attr->max_frm_size = cpu_to_be32(pport_attr.pport_cfg.maxfrsize); in bfa_fcs_fdmi_get_portattr()