Home
last modified time | relevance | path

Searched refs:rxcsum (Results 1 – 10 of 10) sorted by relevance

/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-net.c882 netdev_features_t rxhash, rxcsum, rxvlan, rxvlan_filter; in xlgmac_set_features() local
888 rxcsum = pdata->netdev_features & NETIF_F_RXCSUM; in xlgmac_set_features()
899 if ((features & NETIF_F_RXCSUM) && !rxcsum) in xlgmac_set_features()
901 else if (!(features & NETIF_F_RXCSUM) && rxcsum) in xlgmac_set_features()
/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_b0.c276 u64 rxcsum = !!(aq_nic_cfg->features & NETIF_F_RXCSUM); in hw_atl_b0_hw_offload_set() local
284 hw_atl_rpo_ipv4header_crc_offload_en_set(self, rxcsum); in hw_atl_b0_hw_offload_set()
285 hw_atl_rpo_tcp_udp_crc_offload_en_set(self, rxcsum); in hw_atl_b0_hw_offload_set()
/drivers/net/ethernet/intel/ixgb/
Dixgb_main.c823 u32 rxcsum; in ixgb_configure_rx() local
854 rxcsum = IXGB_READ_REG(hw, RXCSUM); in ixgb_configure_rx()
855 rxcsum |= IXGB_RXCSUM_TUOFL; in ixgb_configure_rx()
856 IXGB_WRITE_REG(hw, RXCSUM, rxcsum); in ixgb_configure_rx()
/drivers/net/ethernet/amd/xgbe/
Dxgbe-drv.c2252 netdev_features_t rxhash, rxcsum, rxvlan, rxvlan_filter; in xgbe_set_features() local
2256 rxcsum = pdata->netdev_features & NETIF_F_RXCSUM; in xgbe_set_features()
2267 if ((features & NETIF_F_RXCSUM) && !rxcsum) in xgbe_set_features()
2269 else if (!(features & NETIF_F_RXCSUM) && rxcsum) in xgbe_set_features()
/drivers/net/ethernet/intel/e1000e/
Dnetdev.c3202 u32 rdlen, rctl, rxcsum, ctrl_ext; in e1000_configure_rx() local
3274 rxcsum = er32(RXCSUM); in e1000_configure_rx()
3276 rxcsum |= E1000_RXCSUM_TUOFL; in e1000_configure_rx()
3278 rxcsum &= ~E1000_RXCSUM_TUOFL; in e1000_configure_rx()
3279 ew32(RXCSUM, rxcsum); in e1000_configure_rx()
3465 u32 mrqc, rxcsum; in e1000e_setup_rss_hash() local
3480 rxcsum = er32(RXCSUM); in e1000e_setup_rss_hash()
3481 rxcsum |= E1000_RXCSUM_PCSD; in e1000e_setup_rss_hash()
3483 ew32(RXCSUM, rxcsum); in e1000e_setup_rss_hash()
/drivers/net/ethernet/intel/e1000/
De1000_main.c1856 u32 rdlen, rctl, rxcsum; in e1000_configure_rx() local
1904 rxcsum = er32(RXCSUM); in e1000_configure_rx()
1906 rxcsum |= E1000_RXCSUM_TUOFL; in e1000_configure_rx()
1909 rxcsum &= ~E1000_RXCSUM_TUOFL; in e1000_configure_rx()
1910 ew32(RXCSUM, rxcsum); in e1000_configure_rx()
/drivers/net/ethernet/intel/igc/
Digc_main.c782 u32 mrqc, rxcsum; in igc_setup_mrqc() local
803 rxcsum = rd32(IGC_RXCSUM); in igc_setup_mrqc()
804 rxcsum |= IGC_RXCSUM_PCSD; in igc_setup_mrqc()
807 rxcsum |= IGC_RXCSUM_CRCOFL; in igc_setup_mrqc()
810 wr32(IGC_RXCSUM, rxcsum); in igc_setup_mrqc()
/drivers/net/ethernet/xilinx/
Dll_temac_main.c1472 if (pdata->rxcsum) in temac_probe()
/drivers/net/ethernet/intel/igb/
Digb_main.c4435 u32 mrqc, rxcsum; in igb_setup_mrqc() local
4467 rxcsum = rd32(E1000_RXCSUM); in igb_setup_mrqc()
4468 rxcsum |= E1000_RXCSUM_PCSD; in igb_setup_mrqc()
4472 rxcsum |= E1000_RXCSUM_CRCOFL; in igb_setup_mrqc()
4475 wr32(E1000_RXCSUM, rxcsum); in igb_setup_mrqc()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c3921 u32 rxcsum; in ixgbe_setup_mrqc() local
3924 rxcsum = IXGBE_READ_REG(hw, IXGBE_RXCSUM); in ixgbe_setup_mrqc()
3925 rxcsum |= IXGBE_RXCSUM_PCSD; in ixgbe_setup_mrqc()
3926 IXGBE_WRITE_REG(hw, IXGBE_RXCSUM, rxcsum); in ixgbe_setup_mrqc()