/* * Shared Memory Communications over RDMA (SMC-R) and RoCE * * PNET table queries * * Copyright IBM Corp. 2016 * * Author(s): Thomas Richter */ #ifndef _SMC_PNET_H #define _SMC_PNET_H struct smc_ib_device; int smc_pnet_init(void) __init; void smc_pnet_exit(void); int smc_pnet_remove_by_ibdev(struct smc_ib_device *ibdev); struct smc_ib_device *smc_pnet_find_ib(char *ib_name); void smc_pnet_find_roce_resource(struct sock *sk, struct smc_ib_device **smcibdev, u8 *ibport); #endif title='net-next.git Git repository'/>
summaryrefslogtreecommitdiff
atm.c?h=nds-private-remove&id=8ca967ab67671f07ac7daef4f854559bc66799a3&showmsg=1'>Expand) rews' onchange='this.form.submit();'>
AgeCommit message (Expand)AuthorFilesLines
AuthorFilesLines
mode:
authorRoopa Prabhu <roopa@cumulusnetworks.com>2015-07-21 09:16:24 -0700
committerDavid S. Miller <davem@davemloft.net>2015-07-21 22:27:19 -0700
commit01faef2cebae02685e2bcfc9bbee8416d5ec19fc (patch)
treeef5142af1141fdb9fb574f21117e49368d905c82 /net/mpls/af_mpls.c
parentfd36ef606ccf49c45bd7f71ea25007ace17968e3 (diff)
mpls: make RTA_OIF optional
If user did not specify an oif, try and get it from the via address. If failed to get device, return with -ENODEV. Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mpls/af_mpls.c')