]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: added queue pair disable/enable functions
authorBjörn Töpel <bjorn.topel@intel.com>
Tue, 28 Aug 2018 12:44:29 +0000 (14:44 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 29 Aug 2018 19:25:53 +0000 (12:25 -0700)
commit84fb44d9ccf80212a45e004402e8bd8c78830952
treecc61695fbc8979f028e68f329bfc557e3b8cd5f3
parent26294b2dcab00b9a5aa0782f99d506c5b5de6fa2
i40e: added queue pair disable/enable functions

Add functions for queue pair enable/disable. Instead of resetting the
whole device, only the affected queue pair is disabled or enabled.

This plumbing is used in a later commit, when zero-copy AF_XDP support
is introduced.

Signed-off-by: Björn Töpel <bjorn.topel@intel.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
drivers/net/ethernet/intel/i40e/i40e_main.c