Lines Matching refs:neighbour
42 #include <net/neighbour.h>
1377 if (dst->neighbour->dev->flags & IFF_LOOPBACK) {
1380 l2t = cxgb4_l2t_get(dev->rdev.lldi.l2t, dst->neighbour,
1392 l2t = cxgb4_l2t_get(dev->rdev.lldi.l2t, dst->neighbour,
1393 dst->neighbour->dev, 0);
1395 tx_chan = cxgb4_port_chan(dst->neighbour->dev);
1396 smac_idx = (cxgb4_port_viid(dst->neighbour->dev) & 0x7F) << 1;
1398 txq_idx = cxgb4_port_idx(dst->neighbour->dev) * step;
1399 ctrlq_idx = cxgb4_port_idx(dst->neighbour->dev);
1402 cxgb4_port_idx(dst->neighbour->dev) * step];
1944 if (ep->dst->neighbour->dev->flags & IFF_LOOPBACK) {
1949 ep->dst->neighbour,
1965 ep->dst->neighbour,
1966 ep->dst->neighbour->dev, 0);
1968 ep->tx_chan = cxgb4_port_chan(ep->dst->neighbour->dev);
1969 ep->smac_idx = (cxgb4_port_viid(ep->dst->neighbour->dev) &
1973 ep->txq_idx = cxgb4_port_idx(ep->dst->neighbour->dev) * step;
1974 ep->ctrlq_idx = cxgb4_port_idx(ep->dst->neighbour->dev);
1978 cxgb4_port_idx(ep->dst->neighbour->dev) * step];