Searched refs:max_rx_pktlen (Results 1 – 2 of 2) sorted by relevance
1393 int max_rx_pktlen; in octep_probe() local1472 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()
147 int max_rx_pktlen = oct->netdev->max_mtu + (ETH_HLEN + ETH_FCS_LEN); in octep_pfvf_get_mtu() local150 rsp->s_get_mtu.mtu = max_rx_pktlen; in octep_pfvf_get_mtu()