@@ -5101,7 +5101,9 @@ static void __init tcp_struct_check(void)
51015101 CACHELINE_ASSERT_GROUP_MEMBER (struct tcp_sock , tcp_sock_read_tx , notsent_lowat );
51025102 CACHELINE_ASSERT_GROUP_MEMBER (struct tcp_sock , tcp_sock_read_tx , gso_segs );
51035103 CACHELINE_ASSERT_GROUP_MEMBER (struct tcp_sock , tcp_sock_read_tx , retransmit_skb_hint );
5104- CACHELINE_ASSERT_GROUP_SIZE (struct tcp_sock , tcp_sock_read_tx , 32 );
5104+ #if IS_ENABLED (CONFIG_TLS_DEVICE )
5105+ CACHELINE_ASSERT_GROUP_MEMBER (struct tcp_sock , tcp_sock_read_tx , tcp_clean_acked );
5106+ #endif
51055107
51065108 /* TXRX read-mostly hotpath cache lines */
51075109 CACHELINE_ASSERT_GROUP_MEMBER (struct tcp_sock , tcp_sock_read_txrx , tsoffset );
@@ -5112,11 +5114,9 @@ static void __init tcp_struct_check(void)
51125114 CACHELINE_ASSERT_GROUP_MEMBER (struct tcp_sock , tcp_sock_read_txrx , lost_out );
51135115 CACHELINE_ASSERT_GROUP_MEMBER (struct tcp_sock , tcp_sock_read_txrx , sacked_out );
51145116 CACHELINE_ASSERT_GROUP_MEMBER (struct tcp_sock , tcp_sock_read_txrx , scaling_ratio );
5115- CACHELINE_ASSERT_GROUP_SIZE (struct tcp_sock , tcp_sock_read_txrx , 32 );
51165117
51175118 /* RX read-mostly hotpath cache lines */
51185119 CACHELINE_ASSERT_GROUP_MEMBER (struct tcp_sock , tcp_sock_read_rx , copied_seq );
5119- CACHELINE_ASSERT_GROUP_MEMBER (struct tcp_sock , tcp_sock_read_rx , rcv_tstamp );
51205120 CACHELINE_ASSERT_GROUP_MEMBER (struct tcp_sock , tcp_sock_read_rx , snd_wl1 );
51215121 CACHELINE_ASSERT_GROUP_MEMBER (struct tcp_sock , tcp_sock_read_rx , tlp_high_seq );
51225122 CACHELINE_ASSERT_GROUP_MEMBER (struct tcp_sock , tcp_sock_read_rx , rttvar_us );
@@ -5127,12 +5127,6 @@ static void __init tcp_struct_check(void)
51275127 CACHELINE_ASSERT_GROUP_MEMBER (struct tcp_sock , tcp_sock_read_rx , rtt_min );
51285128 CACHELINE_ASSERT_GROUP_MEMBER (struct tcp_sock , tcp_sock_read_rx , out_of_order_queue );
51295129 CACHELINE_ASSERT_GROUP_MEMBER (struct tcp_sock , tcp_sock_read_rx , snd_ssthresh );
5130- #if IS_ENABLED (CONFIG_TLS_DEVICE )
5131- CACHELINE_ASSERT_GROUP_MEMBER (struct tcp_sock , tcp_sock_read_rx , tcp_clean_acked );
5132- CACHELINE_ASSERT_GROUP_SIZE (struct tcp_sock , tcp_sock_read_rx , 77 );
5133- #else
5134- CACHELINE_ASSERT_GROUP_SIZE (struct tcp_sock , tcp_sock_read_rx , 69 );
5135- #endif
51365130
51375131 /* TX read-write hotpath cache lines */
51385132 CACHELINE_ASSERT_GROUP_MEMBER (struct tcp_sock , tcp_sock_write_tx , segs_out );
@@ -5151,7 +5145,6 @@ static void __init tcp_struct_check(void)
51515145 CACHELINE_ASSERT_GROUP_MEMBER (struct tcp_sock , tcp_sock_write_tx , tsorted_sent_queue );
51525146 CACHELINE_ASSERT_GROUP_MEMBER (struct tcp_sock , tcp_sock_write_tx , highest_sack );
51535147 CACHELINE_ASSERT_GROUP_MEMBER (struct tcp_sock , tcp_sock_write_tx , ecn_flags );
5154- CACHELINE_ASSERT_GROUP_SIZE (struct tcp_sock , tcp_sock_write_tx , 97 );
51555148
51565149 /* TXRX read-write hotpath cache lines */
51575150 CACHELINE_ASSERT_GROUP_MEMBER (struct tcp_sock , tcp_sock_write_txrx , pred_flags );
@@ -5170,13 +5163,9 @@ static void __init tcp_struct_check(void)
51705163 CACHELINE_ASSERT_GROUP_MEMBER (struct tcp_sock , tcp_sock_write_txrx , received_ecn_bytes );
51715164 CACHELINE_ASSERT_GROUP_MEMBER (struct tcp_sock , tcp_sock_write_txrx , app_limited );
51725165 CACHELINE_ASSERT_GROUP_MEMBER (struct tcp_sock , tcp_sock_write_txrx , rcv_wnd );
5166+ CACHELINE_ASSERT_GROUP_MEMBER (struct tcp_sock , tcp_sock_write_txrx , rcv_tstamp );
51735167 CACHELINE_ASSERT_GROUP_MEMBER (struct tcp_sock , tcp_sock_write_txrx , rx_opt );
51745168
5175- /* 32bit arches with 8byte alignment on u64 fields might need padding
5176- * before tcp_clock_cache.
5177- */
5178- CACHELINE_ASSERT_GROUP_SIZE (struct tcp_sock , tcp_sock_write_txrx , 107 + 4 );
5179-
51805169 /* RX read-write hotpath cache lines */
51815170 CACHELINE_ASSERT_GROUP_MEMBER (struct tcp_sock , tcp_sock_write_rx , bytes_received );
51825171 CACHELINE_ASSERT_GROUP_MEMBER (struct tcp_sock , tcp_sock_write_rx , segs_in );
@@ -5193,7 +5182,6 @@ static void __init tcp_struct_check(void)
51935182 CACHELINE_ASSERT_GROUP_MEMBER (struct tcp_sock , tcp_sock_write_rx , bytes_acked );
51945183 CACHELINE_ASSERT_GROUP_MEMBER (struct tcp_sock , tcp_sock_write_rx , rcv_rtt_est );
51955184 CACHELINE_ASSERT_GROUP_MEMBER (struct tcp_sock , tcp_sock_write_rx , rcvq_space );
5196- CACHELINE_ASSERT_GROUP_SIZE (struct tcp_sock , tcp_sock_write_rx , 112 );
51975185}
51985186
51995187void __init tcp_init (void )
0 commit comments