summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/hisilicon/hns3/hnae3.h
diff options
context:
space:
mode:
authorDavid S. Miller2018-11-14 17:51:28 +0100
committerDavid S. Miller2018-11-14 17:51:28 +0100
commit6d5db6c37929cb0a84e64ba0590a74593e5ce3b8 (patch)
tree77fe8efb581cd6fb9b608dc9de60f68cef4f8b78 /drivers/net/ethernet/hisilicon/hns3/hnae3.h
parentMerge branch 'aquantia-add-rx-flow-filter-support' (diff)
parentnfp: abm: restructure Qdisc handling (diff)
downloadkernel-qcow2-linux-6d5db6c37929cb0a84e64ba0590a74593e5ce3b8.tar.gz
kernel-qcow2-linux-6d5db6c37929cb0a84e64ba0590a74593e5ce3b8.tar.xz
kernel-qcow2-linux-6d5db6c37929cb0a84e64ba0590a74593e5ce3b8.zip
Merge branch 'nfp-abm-track-all-Qdiscs'
Jakub Kicinski says: ==================== nfp: abm: track all Qdiscs Our Qdisc offload so far has been very simplistic. We held and array of marking thresholds and statistics sized to the number of PF queues. This was sufficient since the only configuration we supported was single layer of RED Qdiscs (on top of MQ or not, but MQ isn't really about queuing). As we move to add more Qdiscs it's time to actually try to track the full Qdisc hierarchy. This allows us to make sure our offloaded configuration reflects the SW path better. We add graft notifications to MQ and RED (PRIO already sends them) to allow drivers offloading those to learn how Qdiscs are linked. MQ graft gives us the obvious advantage of being able to track when Qdiscs are shared or moved. It seems unlikely HW would offload RED's child Qdiscs but since the behaviour would change based on linked child we should stop offloading REDs with modified child. RED will also handle the child differently during reconfig when limit parameter is set - so we have to inform the drivers about the limit, and have them reset the child state when appropriate. The NFP driver will now allocate a structure to track each Qdisc and link it to its children. We will also maintain a shadow copy of threshold settings - to save device writes and make it easier to apply defaults when config is re-evaluated. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns3/hnae3.h')
0 files changed, 0 insertions, 0 deletions