commit | f9eda14f039294298643d034bc5c06340fe16cc0 | [log] [tgz] |
---|---|---|
author | Quentin Monnet <quentin.monnet@netronome.com> | Fri Jan 19 17:44:48 2018 -0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Jan 22 16:28:32 2018 -0500 |
tree | 76a2b604bdd1ee09153df6c89896daab7ddb7739 | |
parent | 8f0b425a712b82732127ff7880f92504f20fcc11 [diff] |
net: sched: create tc_can_offload_extack() wrapper Create a wrapper around tc_can_offload() that takes an additional extack pointer argument in order to output an error message if TC offload is disabled on the device. In this way, the error message is handled by the core and can be the same for all drivers. Signed-off-by: Quentin Monnet <quentin.monnet@netronome.com> Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>