Home
last modified time | relevance | path

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

12

/drivers/net/ethernet/intel/e1000/
De1000_param.c319 unsigned int rx_csum = XsumRX[bd]; in e1000_check_options() local
320 e1000_validate_option(&rx_csum, &opt, adapter); in e1000_check_options()
321 adapter->rx_csum = rx_csum; in e1000_check_options()
323 adapter->rx_csum = opt.def; in e1000_check_options()
De1000.h265 bool rx_csum; member
De1000_main.c817 adapter->rx_csum = !!(features & NETIF_F_RXCSUM); in e1000_set_features()
1905 if (adapter->rx_csum) in e1000_configure_rx()
/drivers/net/ethernet/ibm/
Dibmveth.h150 int rx_csum; member
Dibmveth.c857 adapter->rx_csum = data; in ibmveth_set_csum_offload()
937 int rx_csum = !!(features & NETIF_F_RXCSUM); in ibmveth_set_features() local
941 if (rx_csum != adapter->rx_csum) { in ibmveth_set_features()
942 rc1 = ibmveth_set_csum_offload(dev, rx_csum); in ibmveth_set_features()
943 if (rc1 && !adapter->rx_csum) in ibmveth_set_features()
/drivers/net/ethernet/smsc/
Dsmsc9420.c64 bool rx_csum; member
750 if (pd->rx_csum) in smsc9420_rx_handoff()
763 if (pd->rx_csum) { in smsc9420_rx_handoff()
1246 if (pd->rx_csum) { in smsc9420_alloc_rx_ring()
1564 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.h519 unsigned rx_csum:1; /* EtherC has ECMR.RCSC */ member
Dsh_eth.c573 .rx_csum = 1,
624 .rx_csum = 1,
751 .rx_csum = 1,
1011 .rx_csum = 1,
1055 .rx_csum = 1,
2935 if (changed & NETIF_F_RXCSUM && mdp->cd->rx_csum) in sh_eth_set_features()
3326 if (mdp->cd->rx_csum) { in sh_eth_drv_probe()
/drivers/net/ethernet/stmicro/stmmac/
Dcommon.h600 unsigned int rx_csum; member
Dstmmac_main.c3351 priv->hw->rx_csum = 0; in stmmac_hw_setup()
3416 sph_en = (priv->hw->rx_csum > 0) && priv->sph; in stmmac_hw_setup()
4724 int coe = priv->hw->rx_csum; in stmmac_rx_buf1_len()
4751 int coe = priv->hw->rx_csum; in stmmac_rx_buf2_len()
4981 int coe = priv->hw->rx_csum; in stmmac_dispatch_skb_zc()
5279 int status = 0, coe = priv->hw->rx_csum; in stmmac_rx()
5786 priv->hw->rx_csum = priv->plat->rx_coe; in stmmac_set_features()
5788 priv->hw->rx_csum = 0; in stmmac_set_features()
5795 bool sph_en = (priv->hw->rx_csum > 0) && priv->sph; in stmmac_set_features()
6800 sph_en = (priv->hw->rx_csum > 0) && priv->sph; in stmmac_xdp_open()
[all …]
Ddwmac1000_core.c76 if (hw->rx_csum) in dwmac1000_rx_ipc_enable()
Ddwmac4_core.c327 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.c2283 __be16 rx_csum; in bcmgenet_desc_rx() local
2296 rx_csum = (__force __be16)(status->rx_csum & 0xffff); in bcmgenet_desc_rx()
2297 if (rx_csum) { in bcmgenet_desc_rx()
2298 skb->csum = (__force __wsum)ntohs(rx_csum); in bcmgenet_desc_rx()
/drivers/net/ethernet/cortina/
Dgemini.c1383 unsigned int rx_csum = word0.bits.chksum_status; in gmac_skb_if_good_frame() local
1388 port->rx_csum_stats[rx_csum]++; in gmac_skb_if_good_frame()
1392 rx_csum >= RX_CHKSUM_IP_ERR_UNKNOWN) { in gmac_skb_if_good_frame()
1410 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()
Dqlcnic.h1126 u8 rx_csum; member
Dqlcnic_main.c2266 adapter->rx_csum = 1; in qlcnic_setup_netdev()
/drivers/net/ethernet/neterion/
Ds2io.h906 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.c1727 u64 rx_csum; member
1817 stats->rx_csum += rxq->stats.rx_cso; in collect_sge_port_stats()
/drivers/staging/qlge/
Dqlge.h2144 int rx_csum; member
/drivers/net/ethernet/marvell/
Dmv643xx_eth.c1689 bool rx_csum = features & NETIF_F_RXCSUM; in mv643xx_eth_set_features() local
1691 wrlp(mp, PORT_CONFIG, rx_csum ? 0x02000000 : 0x00000000); in mv643xx_eth_set_features()

12