summaryrefslogtreecommitdiff
path: root/corking.h
AgeCommit message (Expand)AuthorFilesLines
2013-06-04corking: use bool instead of intDaniel Borkmann1-2/+4
2013-06-04corking: break out udp/tcp cork functionsDaniel Borkmann1-0/+11
td> commit4cda7d8d7098e2b2c2c496ffb77b18f8b685e80d (patch) tree77efa36429fa76952bf0c383d97b3da1c2907f00 parent3f1a84e6962c7fd0703b9bb5db0355d1c28b201a (diff)
mlxsw: core: Introduce flexible actions support
Each entry which is matched during ACL lookup points to an action set. This action set contains up to three separate actions. If more actions are needed to be chained, the extended set is created to hold them in KVD linear area. This patch implements handling of sets and encoding of actions. Currectly, only two actions are supported. Drop and forward. Forward action uses PBS pointer to KVD linear area, so the action code needs to take care of this as well. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat