Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/usb/
Dr8152.c762 #define mtu_to_size(m) ((m) + VLAN_ETH_HLEN + ETH_FCS_LEN) macro
764 #define rx_reserved_size(x) (mtu_to_size(x) + sizeof(struct rx_desc) + RX_ALIGN)
3017 tp->tx_qlen = agg_buf_sz / (mtu_to_size(tp->netdev->mtu) + sizeof(struct tx_desc)); in set_tx_qlen()
6016 ocp_write_word(tp, MCU_TYPE_PLA, PLA_RMS, mtu_to_size(tp->netdev->mtu)); in rtl8153_change_mtu()
6150 return (ALIGN(mtu_to_size(tp->netdev->mtu), 1024) + 6 * 1024); in fc_pause_on_auto()
6155 return (ALIGN(mtu_to_size(tp->netdev->mtu), 1024) + 14 * 1024); in fc_pause_off_auto()
6545 ocp_write_word(tp, MCU_TYPE_PLA, PLA_RMS, mtu_to_size(tp->netdev->mtu)); in rtl8153c_change_mtu()
6628 u32 rx_max_size = mtu_to_size(tp->netdev->mtu); in rtl8156_change_mtu()