OSDN Git Service

spectrum_flower: Implement gact trap TC action offload
authorJiri Pirko <jiri@mellanox.com>
Tue, 6 Jun 2017 12:12:07 +0000 (14:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Jun 2017 16:45:24 +0000 (12:45 -0400)
commitbd5ddba52dc0e2b37ce67e68ba1c419693009185
tree1cca4caace0d58603d19d494849f2653e2805bb3
parentdf7eea963e4debe3b8286935c2fe9021c81ddbb6
spectrum_flower: Implement gact trap TC action offload

Just use the previously prepared infrastructure and offload the gact
trap action to ACL.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Yotam Gigi <yotamg@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c