udp_tunnel_nic_info
static const struct udp_tunnel_nic_info xgbe_udp_tunnels = {
const struct udp_tunnel_nic_info *xgbe_get_udp_tunnel_info(void)
netdev->udp_tunnel_nic_info = xgbe_get_udp_tunnel_info();
const struct udp_tunnel_nic_info *xgbe_get_udp_tunnel_info(void);
static const struct udp_tunnel_nic_info bnx2x_udp_tunnels = {
dev->udp_tunnel_nic_info = &bnx2x_udp_tunnels;
static const struct udp_tunnel_nic_info bnxt_udp_tunnels = {
dev->udp_tunnel_nic_info = &bnxt_udp_tunnels_p7;
dev->udp_tunnel_nic_info = &bnxt_udp_tunnels;
static const struct udp_tunnel_nic_info liquidio_udp_tunnels = {
netdev->udp_tunnel_nic_info = &liquidio_udp_tunnels;
static const struct udp_tunnel_nic_info liquidio_udp_tunnels = {
netdev->udp_tunnel_nic_info = &liquidio_udp_tunnels;
static const struct udp_tunnel_nic_info cxgb_udp_tunnels = {
netdev->udp_tunnel_nic_info = &cxgb_udp_tunnels;
static const struct udp_tunnel_nic_info enic_udp_tunnels = {
netdev->udp_tunnel_nic_info = &enic_udp_tunnels_v4;
netdev->udp_tunnel_nic_info = &enic_udp_tunnels;
static const struct udp_tunnel_nic_info be_udp_tunnels = {
netdev->udp_tunnel_nic_info = &be_udp_tunnels;
dev->udp_tunnel_nic_info = &fm10k_udp_tunnels;
static const struct udp_tunnel_nic_info fm10k_udp_tunnels = {
struct udp_tunnel_nic_info udp_tunnel_nic;
netdev->udp_tunnel_nic_info = &pf->udp_tunnel_nic;
netdev->udp_tunnel_nic_info = &pf->hw.udp_tunnel_nic;
struct udp_tunnel_nic_info *udp_tunnel_nic = &pf->hw.udp_tunnel_nic;
struct udp_tunnel_nic_info udp_tunnel_nic;
netdev->udp_tunnel_nic_info = &ixgbe_udp_tunnels_x550;
netdev->udp_tunnel_nic_info = &ixgbe_udp_tunnels_x550em_a;
static const struct udp_tunnel_nic_info ixgbe_udp_tunnels_x550 = {
static const struct udp_tunnel_nic_info ixgbe_udp_tunnels_x550em_a = {
static const struct udp_tunnel_nic_info mlx4_udp_tunnels = {
dev->udp_tunnel_nic_info = &mlx4_udp_tunnels;
struct udp_tunnel_nic_info nic_info;
priv->netdev->udp_tunnel_nic_info = &priv->nic_info;
static const struct udp_tunnel_nic_info nfp_udp_tunnels = {
netdev->udp_tunnel_nic_info = &nfp_udp_tunnels;
edev->ndev->udp_tunnel_nic_info = &qede_udp_tunnels_both;
edev->ndev->udp_tunnel_nic_info = &qede_udp_tunnels_vxlan;
edev->ndev->udp_tunnel_nic_info = &qede_udp_tunnels_geneve;
static const struct udp_tunnel_nic_info qede_udp_tunnels_both = {
netdev->udp_tunnel_nic_info = &qlcnic_udp_tunnels;
static const struct udp_tunnel_nic_info qlcnic_udp_tunnels = {
static const struct udp_tunnel_nic_info efx_ef10_udp_tunnels = {
static const struct udp_tunnel_nic_info efx_ef10_udp_tunnels;
efx->net_dev->udp_tunnel_nic_info = &efx_ef10_udp_tunnels;
static const struct udp_tunnel_nic_info txgbe_udp_tunnels = {
netdev->udp_tunnel_nic_info = &txgbe_udp_tunnels;
struct udp_tunnel_nic_info *info;
dev->udp_tunnel_nic_info = info;
kfree(dev->udp_tunnel_nic_info);
dev->udp_tunnel_nic_info = NULL;
static const struct udp_tunnel_nic_info nsim_udp_tunnel_info = {
const struct udp_tunnel_nic_info *udp_tunnel_nic_info;
struct udp_tunnel_nic_info;
struct udp_tunnel_nic *udp_tunnel_nic_info;
if (dev->udp_tunnel_nic_info) {
const struct udp_tunnel_nic_info *info;
info = req_base->dev->udp_tunnel_nic_info;
const struct udp_tunnel_nic_info *info;
info = req_base->dev->udp_tunnel_nic_info;
const struct udp_tunnel_nic_info *info = dev->udp_tunnel_nic_info;
table = &dev->udp_tunnel_nic_info->tables[i];
err = dev->udp_tunnel_nic_info->set_port(dev, table, idx, &ti);
err = dev->udp_tunnel_nic_info->unset_port(dev, table, idx,
const struct udp_tunnel_nic_info *info = dev->udp_tunnel_nic_info;
const struct udp_tunnel_nic_info *info = dev->udp_tunnel_nic_info;
if (dev->udp_tunnel_nic_info->sync_table)
const struct udp_tunnel_nic_info *info = dev->udp_tunnel_nic_info;
const struct udp_tunnel_nic_info *info = dev->udp_tunnel_nic_info;
table = &dev->udp_tunnel_nic_info->tables[i];
table = &dev->udp_tunnel_nic_info->tables[i];
const struct udp_tunnel_nic_info *info = dev->udp_tunnel_nic_info;
const struct udp_tunnel_nic_info *info = dev->udp_tunnel_nic_info;
const struct udp_tunnel_nic_info *info = dev->udp_tunnel_nic_info;
const struct udp_tunnel_nic_info *info = dev->udp_tunnel_nic_info;
const struct udp_tunnel_nic_info *info = dev->udp_tunnel_nic_info;
const struct udp_tunnel_nic_info *info = dev->udp_tunnel_nic_info;
udp_tunnel_nic_alloc(const struct udp_tunnel_nic_info *info,
const struct udp_tunnel_nic_info *info = dev->udp_tunnel_nic_info;
if (info->shared && info->shared->udp_tunnel_nic_info) {
utn = info->shared->udp_tunnel_nic_info;
if (!info->shared->udp_tunnel_nic_info) {
info->shared->udp_tunnel_nic_info = utn;
const struct udp_tunnel_nic_info *info = dev->udp_tunnel_nic_info;
info->shared->udp_tunnel_nic_info = NULL;
const struct udp_tunnel_nic_info *info;
info = dev->udp_tunnel_nic_info;