IB/usnic: Push all forwarding state to usnic_fwd.[hc]
authorUpinder Malhi <umalhi@cisco.com>
Thu, 9 Jan 2014 22:48:07 +0000 (14:48 -0800)
committerRoland Dreier <roland@purestorage.com>
Tue, 14 Jan 2014 08:44:41 +0000 (00:44 -0800)
commit2183b990b67b761f81c68a18f60df028e080cf05
treea4584a808fa389bd51394b4e8c1ef5fe2979fe48
parent301a0dd68e5ddd22d992a58f466b621987d9df3b
IB/usnic: Push all forwarding state to usnic_fwd.[hc]

Push all of the usnic device forwarding state - such as mtu, mac - to
usnic_fwd_dev.  Furthermore, usnic_fwd.h exposes a improved interface
for rest of the usnic code.  The primary improvement is that
usnic_fwd.h's flow management interface takes in high-level *filter*
and *action* structures now, instead of low-level paramaters such as
vnic_idx, rq_idx.

Signed-off-by: Upinder Malhi <umalhi@cisco.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/usnic/usnic_fwd.c
drivers/infiniband/hw/usnic/usnic_fwd.h