Searched refs:is_eth (Results 1 - 8 of 8) sorted by path

/freebsd-11-stable/contrib/ofed/libmlx5/
H A Dverbs.c1641 int is_eth; local
1647 is_eth = ctx->cached_link_layer[attr->port_num - 1] ==
1653 is_eth = (port_attr.link_layer == IBV_LINK_LAYER_ETHERNET);
1656 if (unlikely((!attr->is_global) && is_eth)) {
1665 if (is_eth) {
1694 if (is_eth) {
/freebsd-11-stable/sys/dev/mlx4/mlx4_core/
H A Dmlx4_port.c1259 int is_eth; local
1274 is_eth = op_mod;
1278 if (is_eth) {
1468 err = mlx4_cmd(dev, inbox->dma, port, is_eth, MLX4_CMD_SET_PORT,
/freebsd-11-stable/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_mad.c500 u8 is_eth = dev->dev->caps.port_type[port] == MLX4_PORT_TYPE_ETH; local
539 if (is_eth) {
577 if (is_eth) {
647 int is_eth = 0; local
650 is_eth = 0;
652 is_eth = 1;
654 if (is_eth) {
H A Dmlx4_ib_qp.c1255 int is_eth = rdma_cap_eth_ah(&dev->ib_dev, init_attr->port_num); local
1257 if (is_eth &&
1393 int is_eth = rdma_port_get_link_layer(&dev->ib_dev, port) == local
1430 if (is_eth) {
1773 int is_eth = rdma_cap_eth_ah(&dev->ib_dev, port_num) && local
1776 if (is_eth) {
1799 if (is_eth &&
1964 int is_eth = rdma_port_get_link_layer( local
1967 if (is_eth) {
2443 bool is_eth; local
3396 int is_eth; local
[all...]
H A Dmlx4_ib_sysfs.c593 int is_eth = rdma_port_get_link_layer(&p->dev->ib_dev, p->port_num) == local
598 if (is_eth || p->slave == mlx4_master_func_num(p->dev->dev))
628 int is_eth = rdma_port_get_link_layer(&p->dev->ib_dev, p->port_num) == local
631 if (is_eth || p->slave == mlx4_master_func_num(p->dev->dev))
643 int is_eth = rdma_port_get_link_layer(&dev->ib_dev, port_num) == local
663 is_eth ? NULL : store_port_pkey,
H A Dmlx4_ib_cq.c581 unsigned tail, struct mlx4_cqe *cqe, int is_eth)
595 if (is_eth) {
666 int is_eth; local
831 is_eth = (rdma_port_get_link_layer(wc->qp->device,
839 is_eth);
852 if (is_eth) {
580 use_tunnel_data(struct mlx4_ib_qp *qp, struct mlx4_ib_cq *cq, struct ib_wc *wc, unsigned tail, struct mlx4_cqe *cqe, int is_eth) argument
H A Dmlx4_ib_main.c1014 u8 is_eth = mdev->dev->caps.port_type[port] == MLX4_PORT_TYPE_ETH; local
1023 if (is_eth)
/freebsd-11-stable/sys/compat/linux/
H A Dlinux_ioctl.c2160 int is_eth, index; local
2171 is_eth = (len == 3 && !strncmp(lxname, "eth", len)) ? 1 : 0;
2178 * the test optional based on is_eth.
2182 if (is_eth && IFP_IS_ETH(ifp) && unit == index++)

Completed in 393 milliseconds