summaryrefslogtreecommitdiff
path: root/drivers/block/xd.h
diff options
context:
space:
mode:
authorHadar Hen Zion <hadarh@mellanox.co.il>2012-07-05 04:03:44 (GMT)
committerDavid S. Miller <davem@davemloft.net>2012-07-07 23:23:05 (GMT)
commitc96d97f4d127b61def87b3ee056bec20cfc265d1 (patch)
tree84c89ead71dd4f7a0795aa703b60bb5c5eb2d5a4 /drivers/block/xd.h
parent6d19993788e080edb557178cc6aba2d963edce4e (diff)
downloadlinux-fsl-qoriq-c96d97f4d127b61def87b3ee056bec20cfc265d1.tar.xz
net/mlx4: Set steering mode according to device capabilities
Instead of checking the firmware supported steering mode in various places in the code, add a dedicated field in the mlx4 device capabilities structure which is written once during the initialization flow and read across the code. This also set the grounds for add new steering modes. Currently two modes are supported, and are named after the ConnectX HW versions A0 and B0. A0 steering uses mac_index, vlan_index and priority to steer traffic into pre-defined range of QPs. B0 steering uses Ethernet L2 hashing rules and is enabled only if the firmware supports both unicast and multicast B0 steering, The current steering modes are relevant for Ethernet traffic only, such that Infiniband steering remains untouched. Signed-off-by: Hadar Hen Zion <hadarh@mellanox.co.il> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/block/xd.h')
0 files changed, 0 insertions, 0 deletions