From: Amir Vadai Date: Tue, 23 Apr 2013 06:06:49 +0000 (+0000) Subject: net/mlx4_en: Add HW timestamping (TS) support X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~42^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec693d47010e8302e61e0bdf3f47496c5610641a;p=pandora-kernel.git net/mlx4_en: Add HW timestamping (TS) support The patch allows to enable/disable HW timestamping for incoming and/or outgoing packets. It adds and initializes all structs and callbacks needed by kernel TS API. To enable/disable HW timestamping appropriate ioctl should be used. Currently HWTSTAMP_FILTER_ALL/NONE and HWTSAMP_TX_ON/OFF only are supported. When enabling TS on receive flow - VLAN stripping will be disabled. Also were made all relevant changes in RX/TX flows to consider TS request and plant HW timestamps into relevant structures. mlx4_ib was fixed to compile with new mlx4_cq_alloc() signature. Signed-off-by: Eugenia Emantayev Signed-off-by: Amir Vadai Signed-off-by: David S. Miller --- Reading git-diff-tree failed