/* * netsniff-ng - the packet sniffing beast * Copyright 2009, 2010 Daniel Borkmann. * Subject to the GPL, version 2. */ #ifndef PROTOS_H #define PROTOS_H struct protocol; extern struct protocol arp_ops; extern struct protocol ethernet_ops; extern struct protocol icmpv4_ops; extern struct protocol icmpv6_ops; extern struct protocol igmp_ops; extern struct protocol ip_auth_ops; extern struct protocol ip_esp_ops; extern struct protocol ipv4_ops; extern struct protocol ipv6_ops; extern struct protocol ipv6_dest_opts_ops; extern struct protocol ipv6_fragm_ops; extern struct protocol ipv6_hop_by_hop_ops; extern struct protocol ipv6_in_ipv4_ops; extern struct protocol ipv6_mobility_ops; extern struct protocol ipv6_no_next_header_ops; extern struct protocol ipv6_routing_ops; extern struct protocol lldp_ops; extern struct protocol none_ops; extern struct protocol tcp_ops; extern struct protocol udp_ops; extern struct protocol vlan_ops; extern struct protocol ieee80211_ops; extern struct protocol QinQ_ops; extern struct protocol mpls_uc_ops; #endif /* PROTOS_H */ lue='master' selected='selected'>master net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2016-11-08 17:15:01 -0800
committerThomas Gleixner <tglx@linutronix.de>2016-11-09 08:25:08 +0100
commit20e407e195b29a4f5a18d713a61f54a75f992bd5 (patch)
tree2847e3ea97b0a1cf93e783a8b7ff52fe97de0962
parentbc33b0ca11e3df467777a4fa7639ba488c9d4911 (diff)
genirq/affinity: Introduce struct irq_affinity
Some drivers (various network and RDMA adapter for example) have a MSI-X vector layout where most of the vectors are used for I/O queues and should have CPU affinity assigned to them, but some (usually 1 but sometimes more) at the beginning or end are used for low-performance admin or configuration work and should not have any explicit affinity assigned to them. Add a new irq_affinity structure, which will be passed through a variant of pci_irq_alloc_vectors that allows to specify these requirements (and is extensible to any future quirks in that area) so that the core IRQ affinity algorithm can take this quirks into account. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Reviewed-by: Hannes Reinecke <hare@suse.com> Acked-by: Jens Axboe <axboe@kernel.dk> Cc: linux-block@vger.kernel.org Cc: linux-pci@vger.kernel.org Link: http://lkml.kernel.org/r/1478654107-7384-2-git-send-email-hch@lst.de Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat