Home
last modified time | relevance | path

Searched full:datapath (Results 1 – 25 of 156) sorted by relevance

1234567

/linux/net/openvswitch/
H A Ddatapath.h30 * datapath.
35 * been received by the datapath.
38 * one of the datapath's queues).
56 * struct dp_nlsk_pids - array of netlink portids of for a datapath.
71 * struct datapath - datapath for flow-based packet switching
77 * @stats_percpu: Per-CPU datapath statistics.
80 * @max_headroom: The maximum headroom of all vports in this datapath; it will
85 * Context: See the comment on locking at the top of datapath.c for additional
88 struct datapath { struct
143 * then no packet is sent and the packet is accounted in the datapath's @n_lost
[all …]
H A Ddatapath.c42 #include "datapath.h"
90 * All writes e.g. Writes to device state (add/remove datapath, port, set
92 * modifications, set miscellaneous datapath parameters, etc.) are protected
127 static int queue_gso_packets(struct datapath *dp, struct sk_buff *,
131 static int queue_userspace_packet(struct datapath *dp, struct sk_buff *,
138 static int ovs_dp_set_upcall_portids(struct datapath *, const struct nlattr *);
141 const char *ovs_dp_name(const struct datapath *dp) in ovs_dp_name()
147 static int get_dpifindex(const struct datapath *dp) in get_dpifindex()
167 struct datapath *dp = container_of(rcu, struct datapath, rcu); in destroy_dp_rcu()
177 static struct hlist_head *vport_hash_bucket(const struct datapath *dp, in vport_hash_bucket()
[all …]
H A Dvport.h18 #include "datapath.h"
61 * struct vport - one port within a datapath
64 * @dp: Datapath to which this port belongs.
68 * @dp_hash_node: Element in @datapath->ports hash table in datapath.c.
77 struct datapath *dp;
98 * @dp: New vport's datapath.
110 struct datapath *dp;
H A Dmeter.h18 struct datapath;
57 int ovs_meters_init(struct datapath *dp);
58 void ovs_meters_exit(struct datapath *dp);
59 bool ovs_meter_execute(struct datapath *dp, struct sk_buff *skb,
H A Ddp_notify.c10 #include "datapath.h"
17 struct datapath *dp; in dp_detach_port_notify()
37 struct datapath *dp; in ovs_dp_notify_wq()
H A Dmeter.c19 #include "datapath.h"
279 struct datapath *dp; in ovs_meter_cmd_features()
414 struct datapath *dp; in ovs_meter_cmd_set()
490 struct datapath *dp; in ovs_meter_cmd_get()
543 struct datapath *dp; in ovs_meter_cmd_del()
592 bool ovs_meter_execute(struct datapath *dp, struct sk_buff *skb, in ovs_meter_execute()
729 int ovs_meters_init(struct datapath *dp) in ovs_meters_init()
739 /* Allow meters in a datapath to use ~3.12% of physical memory. */ in ovs_meters_init()
756 void ovs_meters_exit(struct datapath *dp) in ovs_meters_exit()
H A Dactions.c34 #include "datapath.h"
119 static int clone_execute(struct datapath *dp, struct sk_buff *skb,
125 static int do_execute_actions(struct datapath *dp, struct sk_buff *skb,
891 static void do_output(struct datapath *dp, struct sk_buff *skb, int out_port, in do_output()
924 static int output_userspace(struct datapath *dp, struct sk_buff *skb, in output_userspace()
982 static int dec_ttl_exception_handler(struct datapath *dp, struct sk_buff *skb, in dec_ttl_exception_handler()
1001 static int sample(struct datapath *dp, struct sk_buff *skb, in sample()
1042 static int clone(struct datapath *dp, struct sk_buff *skb, in clone()
1178 static int execute_recirc(struct datapath *dp, struct sk_buff *skb, in execute_recirc()
1197 static int execute_check_pkt_len(struct datapath *dp, struct sk_buff *skb, in execute_check_pkt_len()
[all …]
H A Dvport-netdev.c21 #include "datapath.h"
68 static struct net_device *get_dpdev(const struct datapath *dp) in get_dpdev()
191 /* Returns null if this device is not attached to a datapath. */
H A Dopenvswitch_trace.h10 #include "datapath.h"
14 TP_PROTO(struct datapath *dp, struct sk_buff *skb,
84 TP_PROTO(struct datapath *dp, struct sk_buff *skb,
/linux/tools/testing/selftests/net/
H A Dipv6_flowlabel.sh13 echo "TEST datapath"
17 echo "TEST datapath (with auto-flowlabels)"
21 echo "TEST datapath (with ping-sockets)"
27 echo "TEST datapath (with flowinfo-send)"
31 echo "TEST datapath (with ping-sockets flowinfo-send)"
/linux/include/uapi/linux/
H A Dopenvswitch.h29 * @dp_ifindex: ifindex of local port for datapath (0 to make a request not
30 * specific to a datapath).
47 * when creating the datapath.
51 /* First OVS datapath version to support features */
70 * set on the datapath port (for OVS_ACTION_ATTR_MISS). Only valid on
76 * datapath. Always present in notifications.
78 * datapath. Always present in notifications.
79 * @OVS_DP_ATTR_IFINDEX: Interface index for a new datapath netdev. Only
112 __u32 n_masks; /* Number of masks for the datapath. */
132 /* Allow datapath to associate multiple Netlink PIDs to each vport */
[all …]
/linux/drivers/net/ethernet/sfc/falcon/
H A Denum.h135 * @RESET_TYPE_INVISIBLE: Reset datapath and MAC
138 * @RESET_TYPE_ALL: Reset datapath, MAC and PHY
142 * @RESET_TYPE_DATAPATH: Reset datapath only.
143 * @RESET_TYPE_DISABLE: Reset datapath, MAC and PHY; leave NIC disabled
146 * @RESET_TYPE_RX_RECOVERY: reset to recover from RX datapath errors
/linux/fs/overlayfs/
H A Dnamei.c367 struct path *datapath) in ovl_lookup_data_layer() argument
373 datapath); in ovl_lookup_data_layer()
381 if (ovl_dentry_weird(datapath->dentry)) in ovl_lookup_data_layer()
386 if (!d_is_reg(datapath->dentry)) in ovl_lookup_data_layer()
392 path_put(datapath); in ovl_lookup_data_layer()
403 struct path datapath; in ovl_lookup_data_layers() local
409 err = ovl_lookup_data_layer(dentry, redirect, layer, &datapath); in ovl_lookup_data_layers()
411 mntput(datapath.mnt); in ovl_lookup_data_layers()
412 lowerdata->dentry = datapath.dentry; in ovl_lookup_data_layers()
926 struct path datapath, metapath; in ovl_maybe_validate_verity() local
[all …]
H A Dutil.c272 * datapath->layer is visible as well. in ovl_path_lowerdata()
339 int ovl_dentry_set_lowerdata(struct dentry *dentry, struct ovl_path *datapath) in ovl_dentry_set_lowerdata() argument
343 struct dentry *datadentry = datapath->dentry; in ovl_dentry_set_lowerdata()
348 WRITE_ONCE(lowerdata->layer, datapath->layer); in ovl_dentry_set_lowerdata()
1380 int ovl_ensure_verity_loaded(struct path *datapath) in ovl_ensure_verity_loaded() argument
1382 struct inode *inode = d_inode(datapath->dentry); in ovl_ensure_verity_loaded()
1390 filp = kernel_file_open(datapath, O_RDONLY, current_cred()); in ovl_ensure_verity_loaded()
1401 struct path *datapath) in ovl_validate_verity() argument
1429 err = ovl_ensure_verity_loaded(datapath); in ovl_validate_verity()
1432 datapath->dentry); in ovl_validate_verity()
[all …]
/linux/Documentation/networking/
H A Dnet_failover.rst24 datapath. It also enables hypervisor controlled live migration of a VM with
25 direct attached VF by failing over to the paravirtual datapath when the VF
28 virtio-net accelerated datapath: STANDBY mode
31 net_failover enables hypervisor controlled accelerated datapath to virtio-net
118 the paravirtual datapath when the VF is unplugged.
H A Dnf_flowtable.rst8 you to define a fastpath through the flowtable datapath. This infrastructure
37 The flowtable datapath is represented in Fig.1, which describes the classic IP
124 netdevice behind VLAN and PPPoE netdevices. The flowtable software datapath
127 flowtable datapath also deals with layer 2 decapsulation.
206 to the hardware offload datapath being used by the flow.
H A Dfailover.rst17 datapath. It also allows live migration of VMs with direct attached VFs by
18 failing over to the paravirtual datapath when the VF is unplugged.
/linux/drivers/net/ethernet/sfc/siena/
H A Denum.h135 * @RESET_TYPE_INVISIBLE: Reset datapath and MAC (Falcon only)
138 * @RESET_TYPE_ALL: Reset datapath, MAC and PHY
142 * @RESET_TYPE_DATAPATH: Reset datapath only.
144 * @RESET_TYPE_DISABLE: Reset datapath, MAC and PHY; leave NIC disabled
/linux/drivers/net/ethernet/sfc/
H A Denum.h135 * @RESET_TYPE_INVISIBLE: Reset datapath and MAC (Falcon only)
138 * @RESET_TYPE_ALL: Reset datapath, MAC and PHY
142 * @RESET_TYPE_DATAPATH: Reset datapath only.
144 * @RESET_TYPE_DISABLE: Reset datapath, MAC and PHY; leave NIC disabled
/linux/drivers/soc/fsl/qbman/
H A DKconfig14 that allows software and accelerators on the datapath to acquire and
18 that allows software and accelerators on the datapath to enqueue and
/linux/Documentation/networking/devlink/
H A Dsfc.rst38 - Datapath programmable logic version.
41 - Datapath software/microcode/firmware version.
/linux/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/
H A Doverview.rst80 DPRC (Datapath Resource Container)
175 DPMAC (Datapath Ethernet MAC)
185 DPNI (Datapath Network Interface)
196 DPIO (Datapath I/O)
213 DPBP (Datapath Buffer Pool)
221 DPMCP (Datapath MC Portal)
H A Dethernet-driver.rst39 Each Linux net device is built on top of a Datapath Network Interface (DPNI)
73 Datapath (I/O) interface::
104 Datapath I/O (DPIO) portals provide enqueue and dequeue services, data
163 Datapath Layout Binary file (DPL) that is parsed by MC at boot time; or created
/linux/Documentation/netlink/specs/
H A Dovs_flow.yaml22 ifindex of local port for datapath (0 to make a request not specific
23 to a datapath).
296 Data path hash algorithm for computing Datapath hash. The algorithm type only specifies
297 the fields in a flow will be used as part of the hash. Each datapath is free to use its
545 doc: Value 0 indicates the hash is not computed by the datapath.
609 doc: ovs port number in datapath
/linux/drivers/vdpa/
H A DKconfig7 datapath which complies with virtio specifications with
74 of virtio net datapath such that descriptors put on the ring will

1234567