Home
last modified time | relevance | path

Searched refs:max_rx_pktlen (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/marvell/octeon_ep/
Doctep_main.c1393 int max_rx_pktlen; in octep_probe() local
1472 max_rx_pktlen = octep_ctrl_net_get_mtu(octep_dev, OCTEP_CTRL_NET_INVALID_VFID); in octep_probe()
1473 if (max_rx_pktlen < 0) { in octep_probe()
1475 "Failed to get max receive packet size; err = %d\n", max_rx_pktlen); in octep_probe()
1476 err = max_rx_pktlen; in octep_probe()
1480 netdev->max_mtu = max_rx_pktlen - (ETH_HLEN + ETH_FCS_LEN); in octep_probe()
Doctep_pfvf_mbox.c147 int max_rx_pktlen = oct->netdev->max_mtu + (ETH_HLEN + ETH_FCS_LEN); in octep_pfvf_get_mtu() local
150 rsp->s_get_mtu.mtu = max_rx_pktlen; in octep_pfvf_get_mtu()