]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i40e: Drop code for unsupported flow types
authorAlexander Duyck <alexander.h.duyck@intel.com>
Wed, 14 Sep 2016 23:24:35 +0000 (16:24 -0700)
committerDhaval Giani <dhaval.giani@oracle.com>
Wed, 8 Mar 2017 00:40:12 +0000 (19:40 -0500)
commitb383452aeb7b122a109858d758f1aba7b98e1f45
tree398dc1dd95568a28ee04a5caca55def537814ff8
parent758784939a439b1f730d09d95b57616ab580671a
i40e: Drop code for unsupported flow types

Orabug: 24568124

We cannot currently support SCTP in the hardware, and IPV4_FLOW is not used
anywhere by the software so we can go through and drop the functionality
related to these two flow types.

In addition we cannot support masking based on the protocol value so if the
user is expecting a value other than TCP or UDP we should simply return an
error rather then trying to allocate a filter for a rule that will only
partially match what the user requested.

Change-ID: I10d52bb97d8104d76255fe244551814ff9531a63
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>
(cherry picked from commit e1da71ca88170d1a6232951294b44dc0c824e464)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>
drivers/net/ethernet/intel/i40e/i40e_txrx.c