Home
last modified time | relevance | path

Searched refs:rx_csum (Results 1 – 25 of 29) sorted by relevance

12

/drivers/net/ethernet/intel/ixgb/
Dixgb_param.c291 unsigned int rx_csum = XsumRX[bd]; in ixgb_check_options() local
292 ixgb_validate_option(&rx_csum, &opt); in ixgb_check_options()
293 adapter->rx_csum = rx_csum; in ixgb_check_options()
295 adapter->rx_csum = opt.def; in ixgb_check_options()
Dixgb.h138 bool rx_csum; member
Dixgb_main.c318 adapter->rx_csum = !!(features & NETIF_F_RXCSUM); in ixgb_set_features()
853 if (adapter->rx_csum) { in ixgb_configure_rx()
/drivers/net/ethernet/intel/e1000/
De1000_param.c321 unsigned int rx_csum = XsumRX[bd]; in e1000_check_options() local
322 e1000_validate_option(&rx_csum, &opt, adapter); in e1000_check_options()
323 adapter->rx_csum = rx_csum; in e1000_check_options()
325 adapter->rx_csum = opt.def; in e1000_check_options()
De1000.h265 bool rx_csum; member
/drivers/net/ethernet/ibm/
Dibmveth.h145 int rx_csum; member
Dibmveth.c839 adapter->rx_csum = data; in ibmveth_set_csum_offload()
921 int rx_csum = !!(features & NETIF_F_RXCSUM); in ibmveth_set_features() local
925 if (rx_csum != adapter->rx_csum) { in ibmveth_set_features()
926 rc1 = ibmveth_set_csum_offload(dev, rx_csum); in ibmveth_set_features()
927 if (rc1 && !adapter->rx_csum) in ibmveth_set_features()
/drivers/net/ethernet/smsc/
Dsmsc9420.c64 bool rx_csum; member
748 if (pd->rx_csum) in smsc9420_rx_handoff()
761 if (pd->rx_csum) { in smsc9420_rx_handoff()
1245 if (pd->rx_csum) { in smsc9420_alloc_rx_ring()
1563 pd->rx_csum = true; in smsc9420_probe()
/drivers/net/ethernet/huawei/hinic/
Dhinic_rx.c99 static void rx_csum(struct hinic_rxq *rxq, u32 status, in rx_csum() function
393 rx_csum(rxq, status, skb); in rxq_recv()
/drivers/net/ethernet/renesas/
Dsh_eth.c575 .rx_csum = 1,
626 .rx_csum = 1,
753 .rx_csum = 1,
1013 .rx_csum = 1,
1057 .rx_csum = 1,
2937 if (changed & NETIF_F_RXCSUM && mdp->cd->rx_csum) in sh_eth_set_features()
3303 if (mdp->cd->rx_csum) { in sh_eth_drv_probe()
Dsh_eth.h519 unsigned rx_csum:1; /* EtherC has ECMR.RCSC */ member
/drivers/net/ethernet/stmicro/stmmac/
Dcommon.h527 unsigned int rx_csum; member
Dstmmac_main.c3325 priv->hw->rx_csum = 0; in stmmac_hw_setup()
3390 sph_en = (priv->hw->rx_csum > 0) && priv->sph; in stmmac_hw_setup()
4586 int coe = priv->hw->rx_csum; in stmmac_rx_buf1_len()
4613 int coe = priv->hw->rx_csum; in stmmac_rx_buf2_len()
4839 int coe = priv->hw->rx_csum; in stmmac_dispatch_skb_zc()
5121 int status = 0, coe = priv->hw->rx_csum; in stmmac_rx()
5586 priv->hw->rx_csum = priv->plat->rx_coe; in stmmac_set_features()
5588 priv->hw->rx_csum = 0; in stmmac_set_features()
5595 bool sph_en = (priv->hw->rx_csum > 0) && priv->sph; in stmmac_set_features()
6580 sph_en = (priv->hw->rx_csum > 0) && priv->sph; in stmmac_xdp_open()
[all …]
Ddwmac1000_core.c85 if (hw->rx_csum) in dwmac1000_rx_ipc_enable()
Ddwmac4_core.c300 if (hw->rx_csum) in dwmac4_rx_ipc_enable()
Ddwxgmac2_core.c73 if (hw->rx_csum) in dwxgmac2_rx_ipc()
/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.h46 u32 rx_csum; /* partial rx checksum */ member
Dbcmgenet.c2238 __be16 rx_csum; in bcmgenet_desc_rx() local
2251 rx_csum = (__force __be16)(status->rx_csum & 0xffff); in bcmgenet_desc_rx()
2252 if (rx_csum) { in bcmgenet_desc_rx()
2253 skb->csum = (__force __wsum)ntohs(rx_csum); in bcmgenet_desc_rx()
/drivers/net/ethernet/cortina/
Dgemini.c1378 unsigned int rx_csum = word0.bits.chksum_status; in gmac_skb_if_good_frame() local
1383 port->rx_csum_stats[rx_csum]++; in gmac_skb_if_good_frame()
1387 rx_csum >= RX_CHKSUM_IP_ERR_UNKNOWN) { in gmac_skb_if_good_frame()
1405 if (rx_csum == RX_CHKSUM_IP_UDP_TCP_OK) in gmac_skb_if_good_frame()
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_hw.c1031 adapter->rx_csum = 1; in qlcnic_process_flags()
1050 adapter->rx_csum = 0; in qlcnic_process_flags()
/drivers/net/ethernet/neterion/
Ds2io.h907 int rx_csum; member
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ethtool.c255 u64 rx_csum; member
296 s->rx_csum += rx->stats.rx_cso; in collect_sge_port_stats()
/drivers/net/ethernet/chelsio/cxgb4vf/
Dcxgb4vf_main.c1723 u64 rx_csum; member
1813 stats->rx_csum += rxq->stats.rx_cso; in collect_sge_port_stats()
/drivers/staging/qlge/
Dqlge.h2143 int rx_csum; member
/drivers/net/ethernet/marvell/
Dmv643xx_eth.c1684 bool rx_csum = features & NETIF_F_RXCSUM; in mv643xx_eth_set_features() local
1686 wrlp(mp, PORT_CONFIG, rx_csum ? 0x02000000 : 0x00000000); in mv643xx_eth_set_features()

12