net/softnic: update subport rate dynamically
authorSavinay Dharmappa <savinay.dharmappa@intel.com>
Fri, 9 Oct 2020 12:39:17 +0000 (13:39 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 15 Oct 2020 00:14:13 +0000 (02:14 +0200)
commitb5dfa6703d4967f63bc7f257f6ec45bea1aa16fd
tree37e9fb6634783b88791836fe6a4ba9feca5cc6c5
parent54a298e5f7f41c5883233dcd0f66fc57d7b351a2
net/softnic: update subport rate dynamically

Modify the softnic drivers to build the hierarchical scheduler
with default subport bandwidth profile. It also allows to update
a subport with different subport rates dynamically.

Signed-off-by: Savinay Dharmappa <savinay.dharmappa@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
drivers/net/softnic/rte_eth_softnic_internals.h
drivers/net/softnic/rte_eth_softnic_tm.c