Lines Matching refs:rx_mode
1360 u16 rx_mode; in ionic_lif_rx_mode() local
1369 rx_mode = IONIC_RX_MODE_F_UNICAST; in ionic_lif_rx_mode()
1370 rx_mode |= (nd_flags & IFF_MULTICAST) ? IONIC_RX_MODE_F_MULTICAST : 0; in ionic_lif_rx_mode()
1371 rx_mode |= (nd_flags & IFF_BROADCAST) ? IONIC_RX_MODE_F_BROADCAST : 0; in ionic_lif_rx_mode()
1372 rx_mode |= (nd_flags & IFF_PROMISC) ? IONIC_RX_MODE_F_PROMISC : 0; in ionic_lif_rx_mode()
1373 rx_mode |= (nd_flags & IFF_ALLMULTI) ? IONIC_RX_MODE_F_ALLMULTI : 0; in ionic_lif_rx_mode()
1388 rx_mode |= IONIC_RX_MODE_F_PROMISC; in ionic_lif_rx_mode()
1389 rx_mode |= IONIC_RX_MODE_F_ALLMULTI; in ionic_lif_rx_mode()
1392 rx_mode &= ~IONIC_RX_MODE_F_PROMISC; in ionic_lif_rx_mode()
1394 rx_mode &= ~IONIC_RX_MODE_F_ALLMULTI; in ionic_lif_rx_mode()
1398 lif->rx_mode, rx_mode); in ionic_lif_rx_mode()
1399 if (rx_mode & IONIC_RX_MODE_F_UNICAST) in ionic_lif_rx_mode()
1401 if (rx_mode & IONIC_RX_MODE_F_MULTICAST) in ionic_lif_rx_mode()
1403 if (rx_mode & IONIC_RX_MODE_F_BROADCAST) in ionic_lif_rx_mode()
1405 if (rx_mode & IONIC_RX_MODE_F_PROMISC) in ionic_lif_rx_mode()
1407 if (rx_mode & IONIC_RX_MODE_F_ALLMULTI) in ionic_lif_rx_mode()
1409 if (rx_mode & IONIC_RX_MODE_F_RDMA_SNIFFER) in ionic_lif_rx_mode()
1413 if (lif->rx_mode != rx_mode) { in ionic_lif_rx_mode()
1423 ctx.cmd.rx_mode_set.rx_mode = cpu_to_le16(rx_mode); in ionic_lif_rx_mode()
1427 rx_mode, err); in ionic_lif_rx_mode()
1429 lif->rx_mode = rx_mode; in ionic_lif_rx_mode()
2002 lif->rx_mode = 0; in ionic_txrx_deinit()