diff options
author | Steen Hegelund <steen.hegelund@microchip.com> | 2023-01-27 16:08:28 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-01-30 10:36:22 +0300 |
commit | e7e3f514713e87a2c09d774aec88c2a9b117e76f (patch) | |
tree | 7126ea273210093dbf6137e86b524737fc471ad0 /drivers/net/ethernet/microchip/lan966x/lan966x_tc.c | |
parent | b95d9e2c20c912806f5427d7bbf1a63207575f13 (diff) | |
download | linux-e7e3f514713e87a2c09d774aec88c2a9b117e76f.tar.xz |
net: microchip: sparx5: Add ingress information to VCAP instance
This allows the check of the goto action to be specific to the ingress and
egress VCAP instances.
The debugfs support is also updated to show this information.
Signed-off-by: Steen Hegelund <steen.hegelund@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/microchip/lan966x/lan966x_tc.c')
-rw-r--r-- | drivers/net/ethernet/microchip/lan966x/lan966x_tc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/microchip/lan966x/lan966x_tc.c b/drivers/net/ethernet/microchip/lan966x/lan966x_tc.c index 01072121c999..80625ba0b354 100644 --- a/drivers/net/ethernet/microchip/lan966x/lan966x_tc.c +++ b/drivers/net/ethernet/microchip/lan966x/lan966x_tc.c @@ -70,7 +70,7 @@ static int lan966x_tc_block_cb(enum tc_setup_type type, void *type_data, case TC_SETUP_CLSMATCHALL: return lan966x_tc_matchall(port, type_data, ingress); case TC_SETUP_CLSFLOWER: - return lan966x_tc_flower(port, type_data); + return lan966x_tc_flower(port, type_data, ingress); default: return -EOPNOTSUPP; } |