|
@@ -150,6 +150,7 @@ typedef __u64 __bitwise __addrpair;
|
|
|
* @skc_node: main hash linkage for various protocol lookup tables
|
|
|
* @skc_nulls_node: main hash linkage for TCP/UDP/UDP-Lite protocol
|
|
|
* @skc_tx_queue_mapping: tx queue number for this connection
|
|
|
+ * @skc_incoming_cpu: record/match cpu processing incoming packets
|
|
|
* @skc_refcnt: reference count
|
|
|
*
|
|
|
* This is the minimal network layer representation of sockets, the header
|
|
@@ -212,6 +213,8 @@ struct sock_common {
|
|
|
struct hlist_nulls_node skc_nulls_node;
|
|
|
};
|
|
|
int skc_tx_queue_mapping;
|
|
|
+ int skc_incoming_cpu;
|
|
|
+
|
|
|
atomic_t skc_refcnt;
|
|
|
/* private: */
|
|
|
int skc_dontcopy_end[0];
|
|
@@ -274,7 +277,6 @@ struct cg_proto;
|
|
|
* @sk_rcvtimeo: %SO_RCVTIMEO setting
|
|
|
* @sk_sndtimeo: %SO_SNDTIMEO setting
|
|
|
* @sk_rxhash: flow hash received from netif layer
|
|
|
- * @sk_incoming_cpu: record cpu processing incoming packets
|
|
|
* @sk_txhash: computed flow hash for use on transmit
|
|
|
* @sk_filter: socket filtering instructions
|
|
|
* @sk_timer: sock cleanup timer
|
|
@@ -331,6 +333,7 @@ struct sock {
|
|
|
#define sk_v6_daddr __sk_common.skc_v6_daddr
|
|
|
#define sk_v6_rcv_saddr __sk_common.skc_v6_rcv_saddr
|
|
|
#define sk_cookie __sk_common.skc_cookie
|
|
|
+#define sk_incoming_cpu __sk_common.skc_incoming_cpu
|
|
|
|
|
|
socket_lock_t sk_lock;
|
|
|
struct sk_buff_head sk_receive_queue;
|
|
@@ -353,11 +356,6 @@ struct sock {
|
|
|
#ifdef CONFIG_RPS
|
|
|
__u32 sk_rxhash;
|
|
|
#endif
|
|
|
- u16 sk_incoming_cpu;
|
|
|
- /* 16bit hole
|
|
|
- * Warned : sk_incoming_cpu can be set from softirq,
|
|
|
- * Do not use this hole without fully understanding possible issues.
|
|
|
- */
|
|
|
|
|
|
__u32 sk_txhash;
|
|
|
#ifdef CONFIG_NET_RX_BUSY_POLL
|