Skip to content

Check that a NIC supports the needed number of queues #620

@AltraMayor

Description

@AltraMayor

When lib/net.c:check_port_offloads() is called, its parameter iface already has the needed number of queues for the NICs at fields iface->num_rx_queues and iface->num_tx_queues. And struct rte_eth_dev_info dev_info includes the fields max_rx_queues and max_tx_queues. Thus, the verification can be done in check_port_offloads() to log a more intelligible message to users.

The error log entry should suggest reducing the number of GK or GT instances to boot Gatekeeper with those NICs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Operational demandThis issue would make Gatekeeper safer and/or cheaper to operate

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions