kernel-fxtec-pro1x/include/net/sctp
fan.du 5a139296f8 sctp: Pack dst_cookie into 1st cacheline hole for 64bit host
As dst_cookie is used in fast path sctp_transport_dst_check.

Before:
struct sctp_transport {
	struct list_head           transports;           /*     0    16 */
	atomic_t                   refcnt;               /*    16     4 */
	__u32                      dead:1;               /*    20:31  4 */
	__u32                      rto_pending:1;        /*    20:30  4 */
	__u32                      hb_sent:1;            /*    20:29  4 */
	__u32                      pmtu_pending:1;       /*    20:28  4 */

	/* XXX 28 bits hole, try to pack */

	__u32                      sack_generation;      /*    24     4 */

	/* XXX 4 bytes hole, try to pack */

	struct flowi               fl;                   /*    32    64 */
	/* --- cacheline 1 boundary (64 bytes) was 32 bytes ago --- */
	union sctp_addr            ipaddr;               /*    96    28 */

After:
struct sctp_transport {
	struct list_head           transports;           /*     0    16 */
	atomic_t                   refcnt;               /*    16     4 */
	__u32                      dead:1;               /*    20:31  4 */
	__u32                      rto_pending:1;        /*    20:30  4 */
	__u32                      hb_sent:1;            /*    20:29  4 */
	__u32                      pmtu_pending:1;       /*    20:28  4 */

	/* XXX 28 bits hole, try to pack */

	__u32                      sack_generation;      /*    24     4 */
	u32                        dst_cookie;           /*    28     4 */
	struct flowi               fl;                   /*    32    64 */
	/* --- cacheline 1 boundary (64 bytes) was 32 bytes ago --- */
	union sctp_addr            ipaddr;               /*    96    28 */

Signed-off-by: Fan Du <fan.du@windriver.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-08-05 12:20:51 -07:00
..
auth.h net: sctp: trivial: update mailing list address 2013-07-24 17:53:38 -07:00
checksum.h net/sctp: Refactor SCTP skb checksum computation 2013-07-27 20:07:15 -07:00
command.h sctp: Clean up type-punning in sctp_cmd_t union 2012-11-03 14:54:55 -04:00
constants.h net: sctp: trivial: update mailing list address 2013-07-24 17:53:38 -07:00
sctp.h sctp: Don't lookup dst if transport dst is still valid 2013-08-02 12:36:00 -07:00
sm.h net: sctp: trivial: update mailing list address 2013-07-24 17:53:38 -07:00
structs.h sctp: Pack dst_cookie into 1st cacheline hole for 64bit host 2013-08-05 12:20:51 -07:00
tsnmap.h net: sctp: trivial: update mailing list address 2013-07-24 17:53:38 -07:00
ulpevent.h net: sctp: trivial: update mailing list address 2013-07-24 17:53:38 -07:00
ulpqueue.h net: sctp: trivial: update mailing list address 2013-07-24 17:53:38 -07:00