Searched refs:srrctl (Results 1 – 6 of 6) sorted by relevance
/drivers/net/ethernet/intel/igbvf/ |
D | netdev.c | 1338 u32 srrctl = 0; in igbvf_setup_srrctl() local 1340 srrctl &= ~(E1000_SRRCTL_DESCTYPE_MASK | in igbvf_setup_srrctl() 1345 srrctl |= E1000_SRRCTL_DROP_EN; in igbvf_setup_srrctl() 1348 srrctl |= ALIGN(adapter->rx_buffer_len, 1024) >> in igbvf_setup_srrctl() 1353 srrctl |= E1000_SRRCTL_DESCTYPE_ADV_ONEBUF; in igbvf_setup_srrctl() 1356 srrctl |= adapter->rx_ps_hdr_size << in igbvf_setup_srrctl() 1358 srrctl |= E1000_SRRCTL_DESCTYPE_HDR_SPLIT_ALWAYS; in igbvf_setup_srrctl() 1361 ew32(SRRCTL(0), srrctl); in igbvf_setup_srrctl()
|
/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_pci.c | 985 u32 srrctl = FM10K_SRRCTL_BUFFER_CHAINING_EN; in fm10k_configure_rx_ring() local 1016 srrctl |= FM10K_RX_BUFSZ >> FM10K_SRRCTL_BSIZEPKT_SHIFT; in fm10k_configure_rx_ring() 1019 srrctl |= FM10K_SRRCTL_LOOPBACK_SUPPRESS; in fm10k_configure_rx_ring() 1020 fm10k_write_reg(hw, FM10K_SRRCTL(reg_idx), srrctl); in fm10k_configure_rx_ring()
|
/drivers/net/ethernet/intel/ixgbevf/ |
D | ixgbevf_main.c | 1779 u32 srrctl; in ixgbevf_configure_srrctl() local 1781 srrctl = IXGBE_SRRCTL_DROP_EN; in ixgbevf_configure_srrctl() 1783 srrctl |= IXGBEVF_RX_HDR_SIZE << IXGBE_SRRCTL_BSIZEHDRSIZE_SHIFT; in ixgbevf_configure_srrctl() 1785 srrctl |= IXGBEVF_RXBUFFER_3072 >> IXGBE_SRRCTL_BSIZEPKT_SHIFT; in ixgbevf_configure_srrctl() 1787 srrctl |= IXGBEVF_RXBUFFER_2048 >> IXGBE_SRRCTL_BSIZEPKT_SHIFT; in ixgbevf_configure_srrctl() 1788 srrctl |= IXGBE_SRRCTL_DESCTYPE_ADV_ONEBUF; in ixgbevf_configure_srrctl() 1790 IXGBE_WRITE_REG(hw, IXGBE_VFSRRCTL(index), srrctl); in ixgbevf_configure_srrctl()
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_main.c | 3647 u32 srrctl = IXGBE_READ_REG(hw, IXGBE_SRRCTL(reg_idx)); in ixgbe_enable_rx_drop() local 3649 srrctl |= IXGBE_SRRCTL_DROP_EN; in ixgbe_enable_rx_drop() 3651 IXGBE_WRITE_REG(hw, IXGBE_SRRCTL(reg_idx), srrctl); in ixgbe_enable_rx_drop() 3659 u32 srrctl = IXGBE_READ_REG(hw, IXGBE_SRRCTL(reg_idx)); in ixgbe_disable_rx_drop() local 3661 srrctl &= ~IXGBE_SRRCTL_DROP_EN; in ixgbe_disable_rx_drop() 3663 IXGBE_WRITE_REG(hw, IXGBE_SRRCTL(reg_idx), srrctl); in ixgbe_disable_rx_drop() 3703 u32 srrctl; in ixgbe_configure_srrctl() local 3717 srrctl = IXGBE_RX_HDR_SIZE << IXGBE_SRRCTL_BSIZEHDRSIZE_SHIFT; in ixgbe_configure_srrctl() 3732 srrctl |= PAGE_SIZE >> IXGBE_SRRCTL_BSIZEPKT_SHIFT; in ixgbe_configure_srrctl() 3734 srrctl |= xsk_buf_len >> IXGBE_SRRCTL_BSIZEPKT_SHIFT; in ixgbe_configure_srrctl() [all …]
|
/drivers/net/ethernet/intel/igc/ |
D | igc_main.c | 518 u32 srrctl = 0, rxdctl = 0; in igc_configure_rx_ring() local 541 srrctl = IGC_RX_HDR_LEN << IGC_SRRCTL_BSIZEHDRSIZE_SHIFT; in igc_configure_rx_ring() 543 srrctl |= IGC_RXBUFFER_3072 >> IGC_SRRCTL_BSIZEPKT_SHIFT; in igc_configure_rx_ring() 545 srrctl |= IGC_RXBUFFER_2048 >> IGC_SRRCTL_BSIZEPKT_SHIFT; in igc_configure_rx_ring() 546 srrctl |= IGC_SRRCTL_DESCTYPE_ADV_ONEBUF; in igc_configure_rx_ring() 548 wr32(IGC_SRRCTL(reg_idx), srrctl); in igc_configure_rx_ring()
|
/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 4653 u32 srrctl = 0; in igb_setup_srrctl() local 4655 srrctl = IGB_RX_HDR_LEN << E1000_SRRCTL_BSIZEHDRSIZE_SHIFT; in igb_setup_srrctl() 4657 srrctl |= IGB_RXBUFFER_3072 >> E1000_SRRCTL_BSIZEPKT_SHIFT; in igb_setup_srrctl() 4659 srrctl |= IGB_RXBUFFER_2048 >> E1000_SRRCTL_BSIZEPKT_SHIFT; in igb_setup_srrctl() 4660 srrctl |= E1000_SRRCTL_DESCTYPE_ADV_ONEBUF; in igb_setup_srrctl() 4662 srrctl |= E1000_SRRCTL_TIMESTAMP; in igb_setup_srrctl() 4669 srrctl |= E1000_SRRCTL_DROP_EN; in igb_setup_srrctl() 4671 wr32(E1000_SRRCTL(reg_idx), srrctl); in igb_setup_srrctl()
|