diff options
author | Varun Prakash <varun@chelsio.com> | 2016-09-13 21:23:57 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-15 20:49:19 -0400 |
commit | 804c2f3e36ef60e6f50e6101ae06b02fbaa14b9a (patch) | |
tree | 119b13dcdec1103360076cb5b398f6e31c6ecb1c /drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.h | |
parent | libcxgb,iw_cxgb4,cxgbit: add cxgb_get_4tuple() (diff) | |
download | linux-dev-804c2f3e36ef60e6f50e6101ae06b02fbaa14b9a.tar.xz linux-dev-804c2f3e36ef60e6f50e6101ae06b02fbaa14b9a.zip |
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.h | 4 |
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 2ab8d9bef2bb..fe69161288e5 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 |