Searched refs:srrctl (Results 1 – 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igbvf/ |
D | netdev.c | 1334 u32 srrctl = 0; in igbvf_setup_srrctl() local 1336 srrctl &= ~(E1000_SRRCTL_DESCTYPE_MASK | in igbvf_setup_srrctl() 1341 srrctl |= E1000_SRRCTL_DROP_EN; in igbvf_setup_srrctl() 1344 srrctl |= ALIGN(adapter->rx_buffer_len, 1024) >> in igbvf_setup_srrctl() 1349 srrctl |= E1000_SRRCTL_DESCTYPE_ADV_ONEBUF; in igbvf_setup_srrctl() 1352 srrctl |= adapter->rx_ps_hdr_size << in igbvf_setup_srrctl() 1354 srrctl |= E1000_SRRCTL_DESCTYPE_HDR_SPLIT_ALWAYS; in igbvf_setup_srrctl() 1357 ew32(SRRCTL(0), srrctl); in igbvf_setup_srrctl()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_main.c | 3649 u32 srrctl = IXGBE_READ_REG(hw, IXGBE_SRRCTL(reg_idx)); in ixgbe_enable_rx_drop() local 3651 srrctl |= IXGBE_SRRCTL_DROP_EN; in ixgbe_enable_rx_drop() 3653 IXGBE_WRITE_REG(hw, IXGBE_SRRCTL(reg_idx), srrctl); in ixgbe_enable_rx_drop() 3661 u32 srrctl = IXGBE_READ_REG(hw, IXGBE_SRRCTL(reg_idx)); in ixgbe_disable_rx_drop() local 3663 srrctl &= ~IXGBE_SRRCTL_DROP_EN; in ixgbe_disable_rx_drop() 3665 IXGBE_WRITE_REG(hw, IXGBE_SRRCTL(reg_idx), srrctl); in ixgbe_disable_rx_drop() 3705 u32 srrctl; in ixgbe_configure_srrctl() local 3719 srrctl = IXGBE_RX_HDR_SIZE << IXGBE_SRRCTL_BSIZEHDRSIZE_SHIFT; in ixgbe_configure_srrctl() 3734 srrctl |= PAGE_SIZE >> IXGBE_SRRCTL_BSIZEPKT_SHIFT; in ixgbe_configure_srrctl() 3736 srrctl |= xsk_buf_len >> IXGBE_SRRCTL_BSIZEPKT_SHIFT; in ixgbe_configure_srrctl() [all …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 4654 u32 srrctl = 0; in igb_setup_srrctl() local 4656 srrctl = IGB_RX_HDR_LEN << E1000_SRRCTL_BSIZEHDRSIZE_SHIFT; in igb_setup_srrctl() 4658 srrctl |= IGB_RXBUFFER_3072 >> E1000_SRRCTL_BSIZEPKT_SHIFT; in igb_setup_srrctl() 4660 srrctl |= IGB_RXBUFFER_2048 >> E1000_SRRCTL_BSIZEPKT_SHIFT; in igb_setup_srrctl() 4661 srrctl |= E1000_SRRCTL_DESCTYPE_ADV_ONEBUF; in igb_setup_srrctl() 4663 srrctl |= E1000_SRRCTL_TIMESTAMP; in igb_setup_srrctl() 4670 srrctl |= E1000_SRRCTL_DROP_EN; in igb_setup_srrctl() 4672 wr32(E1000_SRRCTL(reg_idx), srrctl); in igb_setup_srrctl()
|