[PATCH RESEND v2] staging/slicoss: Use ethtool_ops instead of module_param.

2016-01-16 Thread Kevin Wern
and rx_use_adaptive_coalesce. (Outlined in TODO file) Signed-off-by: Kevin Wern <kevin.m.w...@gmail.com> --- Second attempt to resend this patch after changes. The previous changes were: - Assigned net_dev->ethtool_ops pointer to slic_ethtool_ops. - Fixed typo where slic_get_coalesce

[PATCH RESEND] staging/slicoss: Use ethtool_ops instead of module_param.

2015-12-28 Thread Kevin Wern
and rx_use_adaptive_coalesce. (Outlined in TODO file) Signed-off-by: Kevin Wern <kevin.m.w...@gmail.com> --- - Assigned net_dev->ethtool_ops pointer to slic_ethtool_ops. - Fixed typo where slic_get_coalesce was used twice. drivers/staging/slicoss/slic.h| 2 ++ drivers/stagin

[PATCH] staging/slicoss: Use ethtool_ops instead of module_param.

2015-12-04 Thread Kevin Wern
ethtool_ops has attributes in sub struct ethool_coalesce that correspond to the parameters intagg_delay and dynamic_intagg. It is preferable to set these properties with ethtool rather than module_param, so create these attributes in adapter and set them using ethtool_coalesce's rx_coalesce_usecs

[PATCH RESEND] staging/slicoss: Use ethtool_ops instead of module_param.

2015-12-04 Thread Kevin Wern
and rx_use_adaptive_coalesce. (Outlined in TODO file) Signed-off-by: Kevin Wern <kevin.m.w...@gmail.com> --- Forgot signed-off-by line drivers/staging/slicoss/slic.h| 2 ++ drivers/staging/slicoss/slicoss.c | 38 -- 2 files changed, 30 insertions(