]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Add support to program FDir SB rules for VF from PF through ethtool
authorAnjali Singhai Jain <anjali.singhai@intel.com>
Tue, 7 Apr 2015 23:45:31 +0000 (19:45 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 15 Apr 2015 00:13:42 +0000 (17:13 -0700)
commitd428751532f705fc4eb0107e8a15ba42a7929456
tree25320d42ea760ea80a9021ea25542f9b1608d6d9
parentce345355884cec7fe1f2a5b067745c5b2d9a7516
i40e: Add support to program FDir SB rules for VF from PF through ethtool

With this patch we can now add Flow director Sideband rules for a VF from
it's PF. Here is an example on how it can be done when VF id = 5 and
queue = 2:

"ethtool -N ethx flow-type udp4 src-ip x.x.x.x dst-ip y.y.y.y src-port p1 dst-port p2 action 2 user-def 5"

User-def specifies VF id and action specifies queue.

Change-ID: Ib37d6dff3823a4d85caffde638473891c38c2b89
Signed-off-by: Anjali Singhai Jain <anjali.singhai@intel.com>
Tested-by: Jim Young <james.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_ethtool.c