net/sched: Add support for HW offloading for CBS
This adds support for offloading the CBS algorithm to the controller, if supported. Drivers wanting to support CBS offload must implement the .ndo_setup_tc callback and handle the TC_SETUP_CBS (introduced here) type. Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@intel.com> Tested-by: Henrik Austad <henrik@austad.us> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
committed by
Jeff Kirsher
parent
585d763af0
commit
3d0bd028ff
@@ -776,6 +776,7 @@ enum tc_setup_type {
|
||||
TC_SETUP_CLSMATCHALL,
|
||||
TC_SETUP_CLSBPF,
|
||||
TC_SETUP_BLOCK,
|
||||
TC_SETUP_CBS,
|
||||
};
|
||||
|
||||
/* These structures hold the attributes of xdp state that are being passed
|
||||
|
||||
Reference in New Issue
Block a user