summaryrefslogtreecommitdiff
path: root/scripts/bpf_helpers_doc.py
diff options
context:
space:
mode:
authorKrzysztof Kanas <kkanas@marvell.com>2018-12-02 18:17:45 +0530
committerDavid S. Miller <davem@davemloft.net>2018-12-03 16:23:08 -0800
commita27d765916bd97d879887337fff26759e5d3279b (patch)
tree4b5468af487594d2b3cf872ee8f9f9da2abeafe9 /scripts/bpf_helpers_doc.py
parentf9f2da46c03d5e998f92134126e9be9822a473ec (diff)
downloadlwn-a27d765916bd97d879887337fff26759e5d3279b.tar.gz
lwn-a27d765916bd97d879887337fff26759e5d3279b.zip
octeontx2-af: Add support for Tx packet marking
NIX_AF_MARK_FORMAT(0..127)_CTL register enables an SW defined means to mark/insert various data in the packet based on final packet color from traffic shaping HW. 0..127 works as an index to choose the algorithm. On success, the mailbox returns the index to the client. Add NIX_MARK_FORMAT_CFG mailbox which reserves mark format based on tuple (offset, y_mask, y_val, r_mask, r_val) If the tuple is requested again for mark format that was already reserved, then it will be reused. If not it will reserve a new entry if space is available. Also on AF init commonly used marker format such as VLAN DEI, IPv4 ECN, IPv4 DSCP are reserved for AF consumers. Signed-off-by: Krzysztof Kanas <kkanas@marvell.com> Signed-off-by: Jerin Jacob <jerinj@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions