summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.h
diff options
context:
space:
mode:
authorVarun Prakash <varun@chelsio.com>2016-09-13 15:53:57 (GMT)
committerDavid S. Miller <davem@davemloft.net>2016-09-16 00:49:19 (GMT)
commit804c2f3e36ef60e6f50e6101ae06b02fbaa14b9a (patch)
tree119b13dcdec1103360076cb5b398f6e31c6ecb1c /drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.h
parent85e42b044e8dda0acb60c645d089f4a19e0136d3 (diff)
downloadlinux-804c2f3e36ef60e6f50e6101ae06b02fbaa14b9a.tar.xz
libcxgb,iw_cxgb4,cxgbit: add cxgb_find_route()
Add cxgb_find_route() in libcxgb_cm.c to remove it's duplicate definitions from cxgb4/cm.c and cxgbit/cxgbit_cm.c. Signed-off-by: Varun Prakash <varun@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.h')
-rw-r--r--drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.h b/drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.h
index 2ab8d9b..fe69161 100644
--- a/drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.h
+++ b/drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.h
@@ -39,4 +39,8 @@
void
cxgb_get_4tuple(struct cpl_pass_accept_req *, enum chip_type,
int *, __u8 *, __u8 *, __be16 *, __be16 *);
+struct dst_entry *
+cxgb_find_route(struct cxgb4_lld_info *,
+ struct net_device *(*)(struct net_device *),
+ __be32, __be32, __be16, __be16, u8);
#endif