[Snipped to relevant section ] > > > > > > Is there a suggested way for such drivers to use /netprio_map/ ? > > /cgdcbxd/’s cgroup creation is working fine (using our firmware dcb > > state machine + dcbnl_ops, no open-lldp) and I can use I can call > > /task_netprioidx()/ at connection time provided I use /cgexec/ with > > /iscsid/ to get the correct index into /netprio_map/. Not sure if > > this is the best approach however, does anyone have a better > > suggestion ? Would it make sense for the /sk_cgrp_prioidx/ to hang > > off the skb or have /libiscsi/ provide this value to open-iscsi > > transports for a more generic implementation ? > > > > I wouldn't want to add this to the skb. We would prefer to make the skbuff > smaller not larger at this point. > > If you can think up a more generic mechanism to add it to libiscsi without > being overly intrusive that seems reasonable to me. At the moment I don't > have any better suggestions. > > Thanks, > John
[Anish Bhatt] Sounds reasonable. Could be accomplished by passing the value of task_netprioidx(current) to the transports via set_host_param or during ep_connect if open-iscsi is okay with this. -Anish -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To unsubscribe from this group and stop receiving emails from it, send an email to open-iscsi+unsubscr...@googlegroups.com. To post to this group, send email to open-iscsi@googlegroups.com. Visit this group at http://groups.google.com/group/open-iscsi. For more options, visit https://groups.google.com/d/optout.