summaryrefslogtreecommitdiff
path: root/tools/nfsd
diff options
context:
space:
mode:
authorAlan Brady <alan.brady@intel.com>2017-11-14 07:00:51 -0500
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2017-11-21 23:37:58 -0800
commit01acc73f375ed535fa048a9e7f40ed109f7f0276 (patch)
tree10a3c7fd07eb1a39049c02b317dffb681f0714f1 /tools/nfsd
parent94075bb1ed7c89cdf4c46eca3938ac4f087827af (diff)
i40evf: fix client notify of l2 params
The current method for notifying clients of l2 parameters is broken because we fail to copy the new parameters to the client instance struct, we need to do the notification before the client 'open' function pointer gets called, and lastly we should set the l2 parameters when first adding a client instance. This patch first introduces the i40evf_client_get_params function to prevent code duplication in the i40evf_client_add_instance and the i40evf_notify_client_l2_params functions. We then fix the notify l2 params function to actually copy the parameters to client instance struct and do the same in the *_add_instance' function. Lastly this patch reorganizes the priority in which client tasks fire so that if the flag for notifying l2 params is set, it will trigger before the open because the client needs these new parameters as part of a client open task. Signed-off-by: Alan Brady <alan.brady@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/nfsd')
0 files changed, 0 insertions, 0 deletions