diff options
author | Raghu Vatsavayi <rvatsavayi@caviumnetworks.com> | 2016-11-28 16:54:36 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-30 11:03:08 -0500 |
commit | c865cdf13ac83d4e66e9f84f95252830180efb98 (patch) | |
tree | 996dc7bdadc2b2136c93685def3d8722b381f9cc /drivers/net/ethernet/cavium/liquidio/request_manager.c | |
parent | 69c69da33d1d01b81eb56ac42142daa01777abd6 (diff) | |
download | blackbird-op-linux-c865cdf13ac83d4e66e9f84f95252830180efb98.tar.gz blackbird-op-linux-c865cdf13ac83d4e66e9f84f95252830180efb98.zip |
liquidio CN23XX: VF queue setup
Adds support for configuring VF input/output queues.
Signed-off-by: Raghu Vatsavayi <raghu.vatsavayi@caviumnetworks.com>
Signed-off-by: Derek Chickles <derek.chickles@caviumnetworks.com>
Signed-off-by: Satanand Burla <satananda.burla@caviumnetworks.com>
Signed-off-by: Felix Manlunas <felix.manlunas@caviumnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cavium/liquidio/request_manager.c')
-rw-r--r-- | drivers/net/ethernet/cavium/liquidio/request_manager.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/ethernet/cavium/liquidio/request_manager.c b/drivers/net/ethernet/cavium/liquidio/request_manager.c index 8531a004ad3e..0e10e2a23ff5 100644 --- a/drivers/net/ethernet/cavium/liquidio/request_manager.c +++ b/drivers/net/ethernet/cavium/liquidio/request_manager.c @@ -235,7 +235,9 @@ int octeon_setup_iq(struct octeon_device *oct, } oct->num_iqs++; - oct->fn_list.enable_io_queues(oct); + if (oct->fn_list.enable_io_queues(oct)) + return 1; + return 0; } |