Type: improvement
Change-Id: Ifd5201c101da7f4fb63f9b64280a6ec35b2af6a0
Signed-off-by: Damjan Marion <damarion@cisco.com>
for (j = 0; j < xd->conf.n_tx_queues; j++)
{
rv = rte_eth_tx_queue_setup (xd->port_id, j, xd->conf.n_tx_desc,
for (j = 0; j < xd->conf.n_tx_queues; j++)
{
rv = rte_eth_tx_queue_setup (xd->port_id, j, xd->conf.n_tx_desc,
- xd->cpu_socket, &xd->tx_conf);
/* retry with any other CPU socket */
if (rv < 0)
rv = rte_eth_tx_queue_setup (xd->port_id, j, xd->conf.n_tx_desc,
/* retry with any other CPU socket */
if (rv < 0)
rv = rte_eth_tx_queue_setup (xd->port_id, j, xd->conf.n_tx_desc,
- SOCKET_ID_ANY, &xd->tx_conf);
if (rv < 0)
dpdk_device_error (xd, "rte_eth_tx_queue_setup", rv);
if (rv < 0)
dpdk_device_error (xd, "rte_eth_tx_queue_setup", rv);
/* PMD related */
struct rte_eth_conf port_conf;
/* PMD related */
struct rte_eth_conf port_conf;
- struct rte_eth_txconf tx_conf;
/* flow related */
u32 supported_flow_actions;
/* flow related */
u32 supported_flow_actions;
else
last_pci_addr.as_u32 = ~0;
else
last_pci_addr.as_u32 = ~0;
- clib_memcpy (&xd->tx_conf, &di.default_txconf,
- sizeof (struct rte_eth_txconf));
-
if (di.rx_offload_capa & DEV_RX_OFFLOAD_IPV4_CKSUM)
{
xd->port_conf.rxmode.offloads |= DEV_RX_OFFLOAD_IPV4_CKSUM;
if (di.rx_offload_capa & DEV_RX_OFFLOAD_IPV4_CKSUM)
{
xd->port_conf.rxmode.offloads |= DEV_RX_OFFLOAD_IPV4_CKSUM;