Home
last modified time | relevance | path

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

12

/Linux-v6.1/drivers/net/ethernet/intel/ixgb/
Dixgb_param.c289 unsigned int rx_csum = XsumRX[bd]; in ixgb_check_options() local
290 ixgb_validate_option(&rx_csum, &opt); in ixgb_check_options()
291 adapter->rx_csum = rx_csum; in ixgb_check_options()
293 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()
846 if (adapter->rx_csum) { in ixgb_configure_rx()
/Linux-v6.1/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
/Linux-v6.1/drivers/net/ethernet/ibm/
Dibmveth.h151 int rx_csum; member
Dibmveth.c860 adapter->rx_csum = data; in ibmveth_set_csum_offload()
942 int rx_csum = !!(features & NETIF_F_RXCSUM); in ibmveth_set_features() local
946 if (rx_csum != adapter->rx_csum) { in ibmveth_set_features()
947 rc1 = ibmveth_set_csum_offload(dev, rx_csum); in ibmveth_set_features()
948 if (rc1 && !adapter->rx_csum) in ibmveth_set_features()
/Linux-v6.1/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()
/Linux-v6.1/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()
1247 if (pd->rx_csum) { in smsc9420_alloc_rx_ring()
1565 pd->rx_csum = true; in smsc9420_probe()
/Linux-v6.1/drivers/net/ethernet/stmicro/stmmac/
Dcommon.h527 unsigned int rx_csum; member
Ddwmac1000_core.c76 if (hw->rx_csum) in dwmac1000_rx_ipc_enable()
Dstmmac_main.c3319 priv->hw->rx_csum = 0; in stmmac_hw_setup()
3384 sph_en = (priv->hw->rx_csum > 0) && priv->sph; in stmmac_hw_setup()
4643 int coe = priv->hw->rx_csum; in stmmac_rx_buf1_len()
4670 int coe = priv->hw->rx_csum; in stmmac_rx_buf2_len()
4896 int coe = priv->hw->rx_csum; in stmmac_dispatch_skb_zc()
5170 int status = 0, coe = priv->hw->rx_csum; in stmmac_rx()
5646 priv->hw->rx_csum = priv->plat->rx_coe; in stmmac_set_features()
5648 priv->hw->rx_csum = 0; in stmmac_set_features()
5655 bool sph_en = (priv->hw->rx_csum > 0) && priv->sph; in stmmac_set_features()
6621 sph_en = (priv->hw->rx_csum > 0) && priv->sph; in stmmac_xdp_open()
[all …]
Ddwmac4_core.c294 if (hw->rx_csum) in dwmac4_rx_ipc_enable()
Ddwxgmac2_core.c73 if (hw->rx_csum) in dwxgmac2_rx_ipc()
/Linux-v6.1/drivers/net/ethernet/renesas/
Dsh_eth.h519 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,
2939 if (changed & NETIF_F_RXCSUM && mdp->cd->rx_csum) in sh_eth_set_features()
3295 if (mdp->cd->rx_csum) { in sh_eth_drv_probe()
/Linux-v6.1/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()
/Linux-v6.1/drivers/net/ethernet/cortina/
Dgemini.c1356 unsigned int rx_csum = word0.bits.chksum_status; in gmac_skb_if_good_frame() local
1361 port->rx_csum_stats[rx_csum]++; in gmac_skb_if_good_frame()
1365 rx_csum >= RX_CHKSUM_IP_ERR_UNKNOWN) { in gmac_skb_if_good_frame()
1383 if (rx_csum == RX_CHKSUM_IP_UDP_TCP_OK) in gmac_skb_if_good_frame()
/Linux-v6.1/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()
/Linux-v6.1/drivers/net/ethernet/neterion/
Ds2io.h906 int rx_csum; member
/Linux-v6.1/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()
/Linux-v6.1/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()
/Linux-v6.1/drivers/staging/qlge/
Dqlge.h2144 int rx_csum; member
/Linux-v6.1/drivers/net/ethernet/marvell/
Dmv643xx_eth.c1688 bool rx_csum = features & NETIF_F_RXCSUM; in mv643xx_eth_set_features() local
1690 wrlp(mp, PORT_CONFIG, rx_csum ? 0x02000000 : 0x00000000); in mv643xx_eth_set_features()

12