#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 dccp_ops; extern struct protocol vlan_ops; extern struct protocol ieee80211_ops; extern struct protocol QinQ_ops; extern struct protocol mpls_uc_ops; extern struct protocol nlmsg_ops; #endif /* PROTOS_H */ mit();'> net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2016-09-19 13:49:48 -0700
committerDan Williams <dan.j.williams@intel.com>2016-09-19 13:49:48 -0700
commit9d15ce9caaf9ecbec74e3be156a4a57451ed16c2 (patch)
tree079c4f3a0d87cada5ff0aea0429cacb7a0c40632
parent480b6837aa579991c6acc113bccf838e6a90843c (diff)
tools/testing/nvdimm: fix allocation range for mock flush hint tables
Commit 480b6837aa57 "nvdimm: fix PHYS_PFN/PFN_PHYS mixup" identified that we were passing an invalid address to devm_nvdimm_ioremap(). With that fixed it exposed a bug in the memory reservation size for flush hint tables. Since we map a full page we need to mock a full page of memory to back the flush hint table entries. Cc: Oliver O'Halloran <oohall@gmail.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat