]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5_core: Enable flow steering support for the IB driver
authorMaor Gottlieb <maorg@mellanox.com>
Mon, 11 Jan 2016 08:26:04 +0000 (10:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Jan 2016 22:48:53 +0000 (17:48 -0500)
commit065be0309722ed2d72b1dc4b1dac7480894ba3e5
tree361753a5341684d8ce0480b8df210b58dce55e3b
parentf8ed814c9d26b62be9d25695c32109b2bf5138d3
net/mlx5_core: Enable flow steering support for the IB driver

When the driver is loaded, we create flow steering namespace
for kernel bypass with nine priorities and another namespace
for leftovers(in order to catch packets that weren't matched).
Verbs applications will use these priorities.
we found nine as a number that balances the requirements from the
user and retains performance.

The bypass namespace is used by verbs applications that want to bypass
the kernel networking stack. The leftovers namespace is used by verbs
applications and the sniffer in order to catch packets that weren't
handled by any preceding rules.

Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
include/linux/mlx5/device.h
include/linux/mlx5/fs.h