]> 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)
commite55f97520880b8c63f7251bed8b277d8ab01b94d
tree25320d42ea760ea80a9021ea25542f9b1608d6d9
parentd092c3b04f02a99bb6b506ea87941053f5ec0f19
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