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)
commit123cecd427b6c1af5bdc3a90131ae85581854319
treecc61695fbc8979f028e68f329bfc557e3b8cd5f3
parent6c5c9581044dd6e0cd284ab653502fb9264f08b6
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