1 Reply Latest reply: May 11, 2012 11:18 AM by Ilenek RSS

Ixgbevf-2.6.2 multiqueue problem

ELAMIN Community Member
Currently Being Moderated

Hello everyone,


I have a question about how i can the function "ixgbevf_set_num_queues" in the ixgbevf_main.c file to have the number of receiving queue =2 and the same for the tx to have at the end two pools to enable multiqueue on 64 bit (like it was explained in the companion guide).And i have to change also dependant with function. i hav ixgbe driver 3.9.15 on my cent os and the ixgbevf, i have it on my two virtual machines (Fedora 16). 


static void ixgbevf_set_num_queues(struct ixgbevf_adapter *adapter)
    /* Start with base case */
    adapter->num_rx_queues = 1;
    adapter->num_tx_queues = 1;
    adapter->num_rx_pools = adapter->num_rx_queues;
    adapter->num_rx_queues_per_pool = 1;


int ixgbevf_init_interrupt_scheme(struct ixgbevf_adapter *adapter)
    int err;


    /* Number of supported queues */


    err = ixgbevf_set_interrupt_capability(adapter);
    if (err) {
        DPRINTK(PROBE, ERR, "Unable to setup interrupt capabilities\n");
        goto err_set_interrupt;


    err = ixgbevf_alloc_q_vectors(adapter);
    if (err) {
        DPRINTK(PROBE, ERR, "Unable to allocate memory for queue "
        goto err_alloc_q_vectors;


    err = ixgbevf_alloc_queues(adapter);
    if (err) {
        DPRINTK(PROBE, ERR, "Unable to allocate memory for queues\n");
        goto err_alloc_queues;


    DPRINTK(DRV, INFO, "Multiqueue %s: Rx Queue count = %u, "
                       "Tx Queue count = %u\n",
            (adapter->num_rx_queues > 1) ? "Enabled" :
            "Disabled", adapter->num_rx_queues, adapter->num_tx_queues);


    set_bit(__IXGBEVF_DOWN, &adapter->state);


    return 0;



Ps: if changed the number of receiving and tx queues in the ixgbevf_set_numqueues, i can't load the modules (errors).





More Like This

  • Retrieving data ...


  • Correct Answers - 4 points
  • Helpful Answers - 2 points