Lines Matching refs:rxmode
154 struct rte_eth_rxmode *rxmode = &dev->data->dev_conf.rxmode; in nicvf_dev_set_mtu() local
180 rxmode->offloads |= DEV_RX_OFFLOAD_JUMBO_FRAME; in nicvf_dev_set_mtu()
182 rxmode->offloads &= ~DEV_RX_OFFLOAD_JUMBO_FRAME; in nicvf_dev_set_mtu()
188 rxmode->max_rx_pkt_len = mtu + RTE_ETHER_HDR_LEN; in nicvf_dev_set_mtu()
820 dev->data->dev_conf.rxmode.mq_mode, in nicvf_configure_rss()
824 if (dev->data->dev_conf.rxmode.mq_mode == ETH_MQ_RX_NONE) in nicvf_configure_rss()
826 else if (dev->data->dev_conf.rxmode.mq_mode == ETH_MQ_RX_RSS) in nicvf_configure_rss()
1379 offloads = rx_conf->offloads | dev->data->dev_conf.rxmode.offloads; in nicvf_dev_rx_queue_setup()
1683 struct rte_eth_rxmode *rx_conf = &dev->data->dev_conf.rxmode; in nicvf_dev_start()
1727 if (dev->data->dev_conf.rxmode.max_rx_pkt_len + in nicvf_dev_start()
1734 mtu = dev->data->dev_conf.rxmode.offloads & DEV_RX_OFFLOAD_JUMBO_FRAME ? in nicvf_dev_start()
1735 dev->data->dev_conf.rxmode.max_rx_pkt_len in nicvf_dev_start()
1910 struct rte_eth_rxmode *rxmode = &conf->rxmode; in nicvf_dev_configure() local
1917 if (rxmode->mq_mode & ETH_MQ_RX_RSS_FLAG) in nicvf_dev_configure()
1918 rxmode->offloads |= DEV_RX_OFFLOAD_RSS_HASH; in nicvf_dev_configure()
1930 if (rxmode->mq_mode != ETH_MQ_RX_NONE && in nicvf_dev_configure()
1931 rxmode->mq_mode != ETH_MQ_RX_RSS) { in nicvf_dev_configure()
1932 PMD_INIT_LOG(INFO, "Unsupported rx qmode %d", rxmode->mq_mode); in nicvf_dev_configure()
1936 if (rxmode->split_hdr_size) { in nicvf_dev_configure()
1976 if (rxmode->offloads & DEV_RX_OFFLOAD_CHECKSUM) in nicvf_dev_configure()
2050 struct rte_eth_rxmode *rxmode; in nicvf_vlan_offload_config() local
2052 rxmode = &dev->data->dev_conf.rxmode; in nicvf_vlan_offload_config()
2054 if (rxmode->offloads & DEV_RX_OFFLOAD_VLAN_STRIP) in nicvf_vlan_offload_config()