Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/hisilicon/hns/
H A Dhns_dsaf_gmac.h31 u32 max_frm_size; member
H A Dhns_dsaf_gmac.c204 port_mode->max_frm_size = in hns_gmac_port_mode_get()
/openbmc/linux/drivers/net/ethernet/xilinx/
H A Dxilinx_axienet_main.c196 lp->max_frm_size, DMA_FROM_DEVICE); in axienet_dma_bd_release()
329 skb = netdev_alloc_skb_ip_align(ndev, lp->max_frm_size); in axienet_dma_bd_init()
335 lp->max_frm_size, DMA_FROM_DEVICE); in axienet_dma_bd_init()
342 lp->rx_bd_v[i].cntrl = lp->max_frm_size; in axienet_dma_bd_init()
597 lp->max_frm_size = XAE_MAX_VLAN_FRAME_SIZE; in axienet_device_reset()
603 lp->max_frm_size = ndev->mtu + VLAN_ETH_HLEN + in axienet_device_reset()
606 if (lp->max_frm_size <= lp->rxmem) in axienet_device_reset()
940 dma_unmap_single(lp->dev, phys, lp->max_frm_size, in axienet_rx_poll()
969 new_skb = napi_alloc_skb(napi, lp->max_frm_size); in axienet_rx_poll()
974 lp->max_frm_size, in axienet_rx_poll()
[all …]
H A Dxilinx_axienet.h496 u32 max_frm_size; member
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_cmd.h128 __le16 max_frm_size; member
H A Dhclgevf_main.c2661 ae_dev->dev_specs.max_frm_size = HCLGEVF_MAC_MAX_FRAME; in hclgevf_set_default_dev_specs()
2680 ae_dev->dev_specs.max_frm_size = le16_to_cpu(req1->max_frm_size); in hclgevf_parse_dev_specs()
2695 if (!dev_specs->max_frm_size) in hclgevf_check_dev_specs()
2696 dev_specs->max_frm_size = HCLGEVF_MAC_MAX_FRAME; in hclgevf_check_dev_specs()
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_enet.h69 #define HNS3_MAX_MTU(max_frm_size) \ argument
70 ((max_frm_size) - (ETH_HLEN + ETH_FCS_LEN + 2 * VLAN_HLEN))
H A Dhnae3.h380 u16 max_frm_size; member
H A Dhns3_enet.c5393 netdev->max_mtu = HNS3_MAX_MTU(ae_dev->dev_specs.max_frm_size); in hns3_client_init()
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_cmd.h390 __le16 max_frm_size; member
823 __le16 max_frm_size; member
H A Dhclge_main.c1327 ae_dev->dev_specs.max_frm_size = HCLGE_MAC_MAX_FRAME; in hclge_set_default_dev_specs()
1351 ae_dev->dev_specs.max_frm_size = le16_to_cpu(req1->max_frm_size); in hclge_parse_dev_specs()
1373 if (!dev_specs->max_frm_size) in hclge_check_dev_specs()
1374 dev_specs->max_frm_size = HCLGE_MAC_MAX_FRAME; in hclge_check_dev_specs()
10606 req->max_frm_size = cpu_to_le16(new_mps); in hclge_set_mac_mtu()
10622 int i, max_frm_size, ret; in hclge_set_vport_mtu() local
10625 max_frm_size = new_mtu + ETH_HLEN + ETH_FCS_LEN + 2 * VLAN_HLEN; in hclge_set_vport_mtu()
10626 if (max_frm_size < HCLGE_MAC_MIN_FRAME || in hclge_set_vport_mtu()
10627 max_frm_size > hdev->ae_dev->dev_specs.max_frm_size) in hclge_set_vport_mtu()
10630 max_frm_size = max(max_frm_size, HCLGE_MAC_DEFAULT_FRAME); in hclge_set_vport_mtu()
[all …]
H A Dhclge_debugfs.c354 le16_to_cpu(req->max_frm_size)); in hclge_dbg_dump_mac_frame_size()
/openbmc/linux/drivers/scsi/bfa/
H A Dbfa_fcs.h655 __be32 max_frm_size; /* max frame size */ member
H A Dbfa_fcs_lport.c2313 templen = sizeof(fcs_port_attr.max_frm_size); in bfa_fcs_lport_fdmi_build_portattr_block()
2314 memcpy(attr->value, &fcs_port_attr.max_frm_size, templen); in bfa_fcs_lport_fdmi_build_portattr_block()
2664 hba_attr->max_ct_pyld = fcs_port_attr.max_frm_size; in bfa_fcs_fdmi_get_hbaattr()
2734 port_attr->max_frm_size = cpu_to_be32(pport_attr.pport_cfg.maxfrsize); in bfa_fcs_fdmi_get_portattr()