Searched refs:encap (Results 1 - 25 of 120) sorted by path

12345

/linux-master/include/net/
H A Datmclip.h27 unsigned char encap; /* 0: NULL, 1: LLC/SNAP */ member in struct:clip_vcc
/linux-master/include/uapi/linux/netfilter_bridge/
H A Debt_vlan.h16 __be16 encap; /* VLAN Encapsulated frame code {0-65535} */ member in struct:ebt_vlan_info
18 bit 2=1 User-Priority arg, bit 3=1 encap*/
/linux-master/net/bridge/netfilter/
H A Debt_vlan.c34 __be16 encap; local
38 encap = skb->protocol;
48 encap = fp->h_vlan_encapsulated_proto;
72 EXIT_ON_MISMATCH(encap, EBT_VLAN_ENCAP);
141 if ((unsigned short) ntohs(info->encap) < ETH_ZLEN) {
142 pr_debug("encap frame length %d is less than "
143 "minimal\n", ntohs(info->encap));
/linux-master/drivers/crypto/caam/
H A Dblob_gen.c63 struct caam_blob_info *info, bool encap)
78 if (encap) {
62 caam_process_blob(struct caam_blob_priv *priv, struct caam_blob_info *info, bool encap) argument
H A Dcaamalg_desc.c1237 * @encap: true if encapsulation, false if decapsulation
1242 unsigned int icvsize, const bool encap,
1268 if (encap) {
1328 if (encap) {
1240 cnstr_shdsc_chachapoly(u32 * const desc, struct alginfo *cdata, struct alginfo *adata, unsigned int ivsize, unsigned int icvsize, const bool encap, const bool is_qi) argument
H A Dcaamalg_desc.h101 unsigned int icvsize, const bool encap,
/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_tc.c110 netdev_info(bp->dev, "only IPv4 tunnel-encap is supported\n");
890 struct hwrm_cfa_encap_data_vxlan *encap; local
898 encap = (struct hwrm_cfa_encap_data_vxlan *)&req->encap_data;
900 ether_addr_copy(encap->dst_mac_addr, l2_info->dmac);
901 ether_addr_copy(encap->src_mac_addr, l2_info->smac);
903 encap->num_vlan_tags = l2_info->num_vlans;
904 encap->ovlan_tci = l2_info->inner_vlan_tci;
905 encap->ovlan_tpid = l2_info->inner_vlan_tpid;
908 encap_ipv4 = (struct hwrm_vxlan_ipv4_hdr *)encap->l3;
917 encap
[all...]
/linux-master/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/
H A Dchcr_ipsec.c256 if (x->encap) {
/linux-master/drivers/net/ethernet/cisco/enic/
H A Denic_main.c647 WARN_ONCE(1, "Non ipv4/ipv6 inner pkt for encap offload");
1312 bool outer_csum_ok = true, encap = false; local
1380 encap = true;
1387 encap = true;
1400 * In case of encap pkt tcp_udp_csum_ok/tcp_udp_csum_ok is
1408 skb->csum_level = encap;
2917 * fcoe bit = encap
2921 * BIT(0) in rss_hash = encap
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
H A Dact.h20 bool encap; member in struct:mlx5e_tc_act_parse_state
H A Dmirred.c156 if (parse_state->encap ||
191 parse_state->encap = false;
200 /* attr->dests[].vport is resolved when we handle encap */
312 if (parse_state->encap)
H A Dtun.c30 parse_state->encap = true;
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun_encap.c127 /* Flow can be associated with multiple encap entries.
196 /* update from slow path rule to encap rule */
231 /* mark the flow's encap dest as non-valid */
242 /* update from encap rule to slow path rule */
248 mlx5_core_warn(priv->mdev, "Failed to update slow path (encap) flow, %d\n",
260 /* we know that the encap is valid */
272 * unoffloaded from hardware, otherwise deleting encap will
284 /* Takes reference to all flows attached to encap and adds the flows to
322 /* find encap with non-zero reference counter value */
341 /* release starting encap */
792 struct mlx5e_tc_tun_encap *encap; local
1158 mlx5e_route_get(struct mlx5e_tc_tun_encap *encap, struct mlx5e_route_key *key, u32 hash_key) argument
1182 struct mlx5e_tc_tun_encap *encap; local
1222 mlx5e_route_lookup_for_update(struct mlx5e_tc_tun_encap *encap, struct mlx5e_route_key *key) argument
1727 mlx5e_init_fib_work_ipv4(struct mlx5e_priv *priv, struct net_device *ul_dev, struct mlx5e_tc_tun_encap *encap, unsigned long event, struct fib_notifier_info *info) argument
1772 mlx5e_init_fib_work_ipv6(struct mlx5e_priv *priv, struct net_device *ul_dev, struct mlx5e_tc_tun_encap *encap, unsigned long event, struct fib_notifier_info *info) argument
1819 struct mlx5e_tc_tun_encap *encap; local
1856 struct mlx5e_tc_tun_encap *encap; local
1877 mlx5e_tc_tun_cleanup(struct mlx5e_tc_tun_encap *encap) argument
[all...]
H A Dtc_tun_encap.h48 void mlx5e_tc_tun_cleanup(struct mlx5e_tc_tun_encap *encap);
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec.c393 if (x->encap) {
394 attrs->encap = true;
395 attrs->sport = x->encap->encap_sport;
396 attrs->dport = x->encap->encap_dport;
430 if (x->encap) {
436 if (x->encap->encap_type != UDP_ENCAP_ESPINUDP) {
744 NL_SET_ERR_MSG_MOD(extack, "Packet offload tunnel mode is disabled due to encap settings");
H A Dipsec.h98 u8 encap : 1; member in struct:mlx5_accel_esp_xfrm_attrs
H A Dipsec_fs.c1215 static void setup_fte_spi(struct mlx5_flow_spec *spec, u32 spi, bool encap) argument
1220 if (encap) {
1475 if (attrs->encap)
1480 if (attrs->encap)
1485 if (attrs->encap)
1514 if (attrs->encap)
1522 if (attrs->encap) {
1608 setup_fte_spi(spec, attrs->spi, attrs->encap);
1609 if (!attrs->encap)
H A Dipsec_rxtx.c223 struct xfrm_encap_tmpl *encap; local
249 encap = x->encap;
250 if (!encap) {
254 } else if (encap->encap_type == UDP_ENCAP_ESPINUDP) {
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rep.h97 struct mlx5e_tc_tun_encap *encap; member in struct:mlx5_rep_uplink_priv
150 /* protects encap list */
152 /* encap list sharing the same neigh */
171 /* set when the encap entry is successfully offloaded into HW */
204 /* a node of the eswitch encap hash table which keeping all the encap
H A Den_tc.c1899 * (2) there's an encap action and we don't have valid neigh
5320 uplink_priv->encap = mlx5e_tc_tun_init(priv);
5321 if (IS_ERR(uplink_priv->encap)) {
5322 err = PTR_ERR(uplink_priv->encap);
5341 mlx5e_tc_tun_cleanup(uplink_priv->encap);
5368 mlx5e_tc_tun_cleanup(uplink_priv->encap);
H A Deswitch.c1894 esw->offloads.encap = DEVLINK_ESWITCH_ENCAP_MODE_BASIC;
1896 esw->offloads.encap = DEVLINK_ESWITCH_ENCAP_MODE_NONE;
2208 return (mlx5_eswitch_mode(dev) == MLX5_ESWITCH_OFFLOADS) ? esw->offloads.encap :
H A Deswitch.h299 enum devlink_eswitch_encap_mode encap; member in struct:mlx5_esw_offload
548 enum devlink_eswitch_encap_mode encap,
551 enum devlink_eswitch_encap_mode *encap);
H A Deswitch_offloads.c1533 esw->offloads.encap != DEVLINK_ESWITCH_ENCAP_MODE_NONE) {
1551 if (esw->offloads.encap != DEVLINK_ESWITCH_ENCAP_MODE_NONE)
1868 /* create the slow path fdb with encap set, so further table instances
1871 if (esw->offloads.encap != DEVLINK_ESWITCH_ENCAP_MODE_NONE)
3919 esw->offloads.encap != DEVLINK_ESWITCH_ENCAP_MODE_NONE) {
3942 enum devlink_eswitch_encap_mode encap,
3955 if (encap != DEVLINK_ESWITCH_ENCAP_MODE_NONE &&
3962 if (encap && encap != DEVLINK_ESWITCH_ENCAP_MODE_BASIC) {
3968 esw->offloads.encap
3941 mlx5_devlink_eswitch_encap_mode_set(struct devlink *devlink, enum devlink_eswitch_encap_mode encap, struct netlink_ext_ack *extack) argument
4013 mlx5_devlink_eswitch_encap_mode_get(struct devlink *devlink, enum devlink_eswitch_encap_mode *encap) argument
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dvporttbl.c27 if (esw->offloads.encap != DEVLINK_ESWITCH_ENCAP_MODE_NONE)
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_ste_v0.c416 bool encap = action_type_set[DR_ACTION_TYP_L2_TO_TNL_L2] || local
442 encap);
446 if (encap) {

Completed in 571 milliseconds

12345