Lines Matching refs:indir
978 void fm10k_write_reta(struct fm10k_intfc *interface, const u32 *indir) in fm10k_write_reta() argument
991 if (indir) in fm10k_write_reta()
992 n = indir[4 * i + j]; in fm10k_write_reta()
1013 static int fm10k_get_reta(struct net_device *netdev, u32 *indir) in fm10k_get_reta() argument
1018 if (!indir) in fm10k_get_reta()
1021 for (i = 0; i < FM10K_RETA_SIZE; i++, indir += 4) { in fm10k_get_reta()
1024 indir[0] = (reta << 24) >> 24; in fm10k_get_reta()
1025 indir[1] = (reta << 16) >> 24; in fm10k_get_reta()
1026 indir[2] = (reta << 8) >> 24; in fm10k_get_reta()
1027 indir[3] = (reta) >> 24; in fm10k_get_reta()
1033 static int fm10k_set_reta(struct net_device *netdev, const u32 *indir) in fm10k_set_reta() argument
1039 if (!indir) in fm10k_set_reta()
1045 if (indir[i] < rss_i) in fm10k_set_reta()
1050 fm10k_write_reta(interface, indir); in fm10k_set_reta()
1060 static int fm10k_get_rssh(struct net_device *netdev, u32 *indir, u8 *key, in fm10k_get_rssh() argument
1069 err = fm10k_get_reta(netdev, indir); in fm10k_get_rssh()
1079 static int fm10k_set_rssh(struct net_device *netdev, const u32 *indir, in fm10k_set_rssh() argument
1090 err = fm10k_set_reta(netdev, indir); in fm10k_set_rssh()