mirror of
https://github.com/openvswitch/ovs
synced 2025-08-30 22:05:19 +00:00
netdev-provider: add class op to get block_id
Add a new class op for netdevs to get the block_id if one exists. The block_id is used in offload ops to group multiple qdiscs together. Stub calls are made to the new class op (implementation to follow in further patches). The default block_id of 0 (no block) will be used in these cases. Signed-off-by: John Hurley <john.hurley@netronome.com> Reviewed-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com> Reviewed-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: Simon Horman <simon.horman@netronome.com>
This commit is contained in:
committed by
Simon Horman
parent
093c9458fb
commit
88dcf2aa82
@@ -3957,7 +3957,8 @@ unlock:
|
||||
RXQ_RECV, \
|
||||
NULL, /* rx_wait */ \
|
||||
NULL, /* rxq_drain */ \
|
||||
NO_OFFLOAD_API \
|
||||
NO_OFFLOAD_API, \
|
||||
NULL /* get_block_id */ \
|
||||
}
|
||||
|
||||
static const struct netdev_class dpdk_class =
|
||||
|
Reference in New Issue
Block a user