]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Gather all XDP pre-requisite checks in a single function
authorTariq Toukan <tariqt@mellanox.com>
Mon, 12 Mar 2018 16:26:51 +0000 (18:26 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 26 Jul 2018 22:23:52 +0000 (15:23 -0700)
commitd4ccfc9b9d7f1222b2fe169b08ad8681ff624001
treeec707367137356d4b9ab8df356aab29c42903c19
parent2289aac8d9107250bc80c1daaedeb73ce82ddfb5
net/mlx5e: Gather all XDP pre-requisite checks in a single function

Dedicate a function to all checks done when setting an XDP program.
Take indications from priv instead of netdev features.

Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c