Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_rx.c101 static void rx_csum(struct hinic_rxq *rxq, u32 status, in rx_csum() function
398 rx_csum(rxq, status, skb); in rxq_recv()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
Dcommon.h476 unsigned int rx_csum; member
Dstmmac_main.c2747 priv->hw->rx_csum = 0; in stmmac_hw_setup()
2799 if (priv->sph && priv->hw->rx_csum) { in stmmac_hw_setup()
3738 int coe = priv->hw->rx_csum; in stmmac_rx_buf1_len()
3765 int coe = priv->hw->rx_csum; in stmmac_rx_buf2_len()
3795 int status = 0, coe = priv->hw->rx_csum; in stmmac_rx()
4156 priv->hw->rx_csum = priv->plat->rx_coe; in stmmac_set_features()
4158 priv->hw->rx_csum = 0; in stmmac_set_features()
4164 sph_en = (priv->hw->rx_csum > 0) && priv->sph; in stmmac_set_features()
4829 priv->hw->rx_csum = priv->plat->rx_coe; in stmmac_hw_init()
4832 dev_info(priv->device, "COE Type %d\n", priv->hw->rx_csum); in stmmac_hw_init()
Ddwmac1000_core.c85 if (hw->rx_csum) in dwmac1000_rx_ipc_enable()
Ddwmac4_core.c284 if (hw->rx_csum) in dwmac4_rx_ipc_enable()
Ddwxgmac2_core.c73 if (hw->rx_csum) in dwxgmac2_rx_ipc()
/kernel/linux/linux-5.10/drivers/net/ethernet/renesas/
Dsh_eth.h503 unsigned rx_csum:1; /* EtherC has ECMR.RCSC */ member
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()
3273 if (mdp->cd->rx_csum) { in sh_eth_drv_probe()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.h44 u32 rx_csum; /* partial rx checksum */ member
Dbcmgenet.c2228 __be16 rx_csum; in bcmgenet_desc_rx() local
2241 rx_csum = (__force __be16)(status->rx_csum & 0xffff); in bcmgenet_desc_rx()
2242 skb->csum = (__force __wsum)ntohs(rx_csum); in bcmgenet_desc_rx()
/kernel/linux/linux-5.10/drivers/net/ethernet/cortina/
Dgemini.c1357 unsigned int rx_csum = word0.bits.chksum_status; in gmac_skb_if_good_frame() local
1362 port->rx_csum_stats[rx_csum]++; in gmac_skb_if_good_frame()
1366 rx_csum >= RX_CHKSUM_IP_ERR_UNKNOWN) { in gmac_skb_if_good_frame()
1384 if (rx_csum == RX_CHKSUM_IP_UDP_TCP_OK) in gmac_skb_if_good_frame()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_hw.c1035 adapter->rx_csum = 1; in qlcnic_process_flags()
1054 adapter->rx_csum = 0; in qlcnic_process_flags()
/kernel/linux/linux-5.10/drivers/net/ethernet/neterion/
Ds2io.h907 int rx_csum; member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4vf/
Dcxgb4vf_main.c1719 u64 rx_csum; member
1809 stats->rx_csum += rxq->stats.rx_cso; in collect_sge_port_stats()
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/
Dmv643xx_eth.c1678 bool rx_csum = features & NETIF_F_RXCSUM; in mv643xx_eth_set_features() local
1680 wrlp(mp, PORT_CONFIG, rx_csum ? 0x02000000 : 0x00000000); in mv643xx_eth_set_features()
/kernel/linux/linux-5.10/drivers/staging/qlge/
Dqlge.h2130 int rx_csum; member

12