]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
i40e: Split Flow Director descriptor config into separate function
authorAlexander Duyck <alexander.h.duyck@intel.com>
Mon, 12 Sep 2016 21:18:41 +0000 (14:18 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 25 Sep 2016 05:40:03 +0000 (22:40 -0700)
commit5e02f2837349b399e48fd2a5e5149c9ee9c27cdd
tree8a9f046ebf92ce3c5d6bf98fc3330b0616fce98d
parente486bdfd7c491e997f29fcdf6a4216861ab1d06a
i40e: Split Flow Director descriptor config into separate function

In an effort to improve code readability I am splitting the Flow Director
filter configuration out into a separate function like we have done for the
standard xmit path.  The general idea is to provide a single block of code
that translates the flow specification into a proper Flow Director
descriptor.

Change-ID: Id355ad8030c4e6c72c57504fa09de60c976a8ffe
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_txrx.c