On Wed, May 17, 2023 at 11:48:05AM -0700, Jakub Kicinski wrote:
On Wed, 17 May 2023 11:49:10 +0300 Vlad Buslov wrote:
quoted
I wonder if somehow leveraging existing tc_modify_qdisc() 'replay'
functionality instead of returning error to the user would be a better
approach? Currently the function is replayed when qdisc_create() returns
EAGAIN. It should be trivial to do the same for qdisc_graft() result.
Sounds better than returning -EBUSY to the user and expecting them
to retry, yes.
Thanks for the suggestion, Vlad! I'll try this in tc_modify_qdisc() and
tc_get_qdisc() (for Qdisc deletion) in v2.
Thanks,
Peilin Ye