Searched refs:port_conf (Results 1 - 3 of 3) sorted by relevance

/tldk/examples/l4fwd/
H A Dport.h36 struct rte_eth_conf *port_conf, uint32_t proto)
68 port_conf->rxmode.mq_mode = ETH_MQ_RX_RSS;
70 port_conf->rx_adv_conf.rss_conf.rss_hf = ETH_RSS_TCP;
72 port_conf->rx_adv_conf.rss_conf.rss_hf = ETH_RSS_UDP;
73 port_conf->rx_adv_conf.rss_conf.rss_key_len = hash_key_size;
74 port_conf->rx_adv_conf.rss_conf.rss_key = uprt->hash_key;
158 struct rte_eth_conf port_conf; local
179 port_conf = port_conf_default;
183 port_conf.rxmode.offloads |= uprt->rx_offload & RX_CSUM_OFFLOAD;
185 port_conf
34 update_rss_conf(struct netbe_port *uprt, const struct rte_eth_dev_info *dev_info, struct rte_eth_conf *port_conf, uint32_t proto) argument
[all...]
/tldk/test/gtest/
H A Dtest_common.cpp21 struct rte_eth_conf port_conf; local
29 memset(&port_conf, 0, sizeof(struct rte_eth_conf));
30 port_conf.rxmode.max_rx_pkt_len = ETHER_MAX_LEN;
33 retval = rte_eth_dev_configure(port, rx_rings, tx_rings, &port_conf);
/tldk/app/nginx/src/tldk/
H A Dbe.c177 struct rte_eth_conf port_conf; local
199 port_conf = port_conf_default;
204 port_conf.rxmode.offloads |= pcf->rx_offload & RX_CSUM_OFFLOAD;
207 port_conf.rxmode.max_rx_pkt_len = pcf->mtu + ETHER_CRC_LEN;
208 if (port_conf.rxmode.max_rx_pkt_len > ETHER_MAX_LEN)
209 port_conf.rxmode.offloads |= DEV_RX_OFFLOAD_JUMBO_FRAME;
210 port_conf.rxmode.mq_mode = ETH_MQ_RX_RSS;
211 port_conf.rx_adv_conf.rss_conf.rss_hf = ETH_RSS_IP | ETH_RSS_TCP;
212 port_conf.rx_adv_conf.rss_conf.rss_hf &=
215 port_conf
[all...]

Completed in 4 milliseconds