Searched refs:rxcsum (Results 1 – 10 of 10) sorted by relevance
/drivers/net/ethernet/synopsys/ |
D | dwc-xlgmac-net.c | 882 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/ |
D | hw_atl_b0.c | 276 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/ |
D | ixgb_main.c | 823 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/ |
D | xgbe-drv.c | 2252 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/ |
D | netdev.c | 3202 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/ |
D | e1000_main.c | 1856 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/ |
D | igc_main.c | 782 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/ |
D | ll_temac_main.c | 1472 if (pdata->rxcsum) in temac_probe()
|
/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 4435 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/ |
D | ixgbe_main.c | 3921 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()
|