Lines Matching refs:rx_mode
1265 u16 rx_mode; in ionic_lif_rx_mode() local
1274 rx_mode = IONIC_RX_MODE_F_UNICAST; in ionic_lif_rx_mode()
1275 rx_mode |= (nd_flags & IFF_MULTICAST) ? IONIC_RX_MODE_F_MULTICAST : 0; in ionic_lif_rx_mode()
1276 rx_mode |= (nd_flags & IFF_BROADCAST) ? IONIC_RX_MODE_F_BROADCAST : 0; in ionic_lif_rx_mode()
1277 rx_mode |= (nd_flags & IFF_PROMISC) ? IONIC_RX_MODE_F_PROMISC : 0; in ionic_lif_rx_mode()
1278 rx_mode |= (nd_flags & IFF_ALLMULTI) ? IONIC_RX_MODE_F_ALLMULTI : 0; in ionic_lif_rx_mode()
1293 rx_mode |= IONIC_RX_MODE_F_PROMISC; in ionic_lif_rx_mode()
1294 rx_mode |= IONIC_RX_MODE_F_ALLMULTI; in ionic_lif_rx_mode()
1297 rx_mode &= ~IONIC_RX_MODE_F_PROMISC; in ionic_lif_rx_mode()
1299 rx_mode &= ~IONIC_RX_MODE_F_ALLMULTI; in ionic_lif_rx_mode()
1303 lif->rx_mode, rx_mode); in ionic_lif_rx_mode()
1304 if (rx_mode & IONIC_RX_MODE_F_UNICAST) in ionic_lif_rx_mode()
1306 if (rx_mode & IONIC_RX_MODE_F_MULTICAST) in ionic_lif_rx_mode()
1308 if (rx_mode & IONIC_RX_MODE_F_BROADCAST) in ionic_lif_rx_mode()
1310 if (rx_mode & IONIC_RX_MODE_F_PROMISC) in ionic_lif_rx_mode()
1312 if (rx_mode & IONIC_RX_MODE_F_ALLMULTI) in ionic_lif_rx_mode()
1314 if (rx_mode & IONIC_RX_MODE_F_RDMA_SNIFFER) in ionic_lif_rx_mode()
1318 if (lif->rx_mode != rx_mode) { in ionic_lif_rx_mode()
1328 ctx.cmd.rx_mode_set.rx_mode = cpu_to_le16(rx_mode); in ionic_lif_rx_mode()
1332 rx_mode, err); in ionic_lif_rx_mode()
1334 lif->rx_mode = rx_mode; in ionic_lif_rx_mode()
1830 lif->rx_mode = 0; in ionic_txrx_deinit()