Home
last modified time | relevance | path

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

/drivers/net/ethernet/marvell/
Dmvneta.c496 unsigned int tx_csum_limit; member
3765 if (pp->tx_csum_limit && dev->mtu > pp->tx_csum_limit) { in mvneta_fix_features()
3769 pp->tx_csum_limit); in mvneta_fix_features()
5069 int tx_csum_limit; in mvneta_probe() local
5176 if (!of_property_read_u32(dn, "tx-csum-limit", &tx_csum_limit)) { in mvneta_probe()
5177 if (tx_csum_limit < 0 || in mvneta_probe()
5178 tx_csum_limit > MVNETA_TX_CSUM_MAX_SIZE) { in mvneta_probe()
5179 tx_csum_limit = MVNETA_TX_CSUM_DEF_SIZE; in mvneta_probe()
5185 tx_csum_limit = MVNETA_TX_CSUM_DEF_SIZE; in mvneta_probe()
5187 tx_csum_limit = MVNETA_TX_CSUM_MAX_SIZE; in mvneta_probe()
[all …]
Dmv643xx_eth.c275 int tx_csum_limit; member
685 if (length - hdr_len > mp->shared->tx_csum_limit || in skb_tx_csum()
2795 mv643xx_eth_property(np, "tx-checksum-limit", pd->tx_csum_limit); in mv643xx_eth_shared_of_probe()
2869 msp->tx_csum_limit = (pd != NULL && pd->tx_csum_limit) ? in mv643xx_eth_shared_probe()
2870 pd->tx_csum_limit : 9 * 1024; in mv643xx_eth_shared_probe()