]> git.dujemihanovic.xyz Git - linux.git/commit
net/mlx5: Refactor tc miss handling to a single function
authorPaul Blakey <paulb@nvidia.com>
Fri, 17 Feb 2023 22:36:18 +0000 (00:36 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 21 Feb 2023 00:46:10 +0000 (16:46 -0800)
commit93a1ab2c545b88fa70f8c91b60b54e4175008742
tree6acb7cab8420564d4b5fc46447090c7da3bd9a16
parent03a283cdc8c80fd6002f8ab898ff5ccf78e33f95
net/mlx5: Refactor tc miss handling to a single function

Move tc miss handling code to en_tc.c, and remove
duplicate code.

Signed-off-by: Paul Blakey <paulb@nvidia.com>
Reviewed-by: Roi Dayan <roid@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/en/rep/tc.c
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
drivers/net/ethernet/mellanox/mlx5/core/en_tc.h